Histograms in Grafana using InfluxDB

Is there a way for me to display histograms in Grafana using influxDB as the backend?

Grafana recently added the new heatmap panel that I would love to use. Heatmap | Grafana documentation

I am unable to figure out how to do this? How should the data points be stored in influxDB so that grafana would be able to draw the graphs out.

If this is the wrong place for this question, let me know. Thanks.

Check this the function Histogram is not functional yet

But that shouldn’t discourage you from creating these charts. You can build it using percentile or other functions. Always remember the functions will only work on fields.