You'll need to tweak the query options to make the panel show the correct distribution - the format will need to match the visualization type.
And Grafana needs to know that the data format is in buckets.
Need more? Here's the solution.