# Creating Histogram in Graph panel

**URL:** <https://community.grafana.com/t/creating-histogram-in-graph-panel/14087>\
**Category:** General\
**Created:** [February 1, 2019, 12:44pm UTC](https://community.grafana.com/t/creating-histogram-in-graph-panel/14087 "2019-02-01T12:44:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gayathri](https://avatars.discourse-cdn.com/v4/letter/g/838e76/32.png) [@gayathri](https://community.grafana.com/u/gayathri)\
**Post date:** [February 1, 2019, 12:44pm UTC](https://community.grafana.com/t/creating-histogram-in-graph-panel/14087/1 "2019-02-01T12:44:10Z")

</div>

Hi,  
I would like to create graph as histogram. I am connected to Mysql. Its a simple query that retrieves month and its respective count for that month.  
_ **select itemValue as count, itemLabel as MonthName from Dashboard.queryData where metricId=‘carSalesGraph’ order by itemLabel ;** _

I have changed the format as to Table. I am not sure, how to give X-axis labels as month and Y-axis values with Count returned from query. Please provide me with inputs.
