# How to make the histogram plot to display the count on top of each bar

**URL:** <https://community.plotly.com/t/how-to-make-the-histogram-plot-to-display-the-count-on-top-of-each-bar/42552>\
**Category:** 📊 Plotly Python\
**Created:** [July 16, 2020, 11:31am UTC](https://community.plotly.com/t/how-to-make-the-histogram-plot-to-display-the-count-on-top-of-each-bar/42552 "2020-07-16T11:31:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![reddihareesh](https://avatars.discourse-cdn.com/v4/letter/r/c89c15/32.png) [@reddihareesh](https://community.plotly.com/u/reddihareesh)\
**Post date:** [July 16, 2020, 11:31am UTC](https://community.plotly.com/t/how-to-make-the-histogram-plot-to-display-the-count-on-top-of-each-bar/42552/1 "2020-07-16T11:31:02Z")

</div>

How to display count on each bar of histogram plot on top as shown in the graph below.  
The histogram is created with the following statement

fig.add\_trace(go.Histogram( x=tag\_data.tagvalue, name=‘TAG\_{0}’.format(tag)),row=1,col=col\_location)

Please answer

 ![WhatsApp Image 2020-07-16 at 5.09.13 PM](https://us1.discourse-cdn.com/flex024/uploads/plot/original/2X/9/95a69040bf420a05727072ed0071ae8719ee3b18.jpeg)

---

<div class="post-metadata">

**Author:** ![nicolaskruchten](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/nicolaskruchten/32/7018_2.png) [@nicolaskruchten](https://community.plotly.com/u/nicolaskruchten)\
**Post date:** [July 16, 2020, 1:53pm UTC](https://community.plotly.com/t/how-to-make-the-histogram-plot-to-display-the-count-on-top-of-each-bar/42552/2 "2020-07-16T13:53:23Z")

</div>

This is not possible with histogram traces yet but we’re working on it!
