Histogram Counts

I have a histogram and am wondering if there are any ways to get the frequency counts for each bin.
I am seeking to compute the percent change between the age groups.
image
image

Thank you.

I’m trying to do the same thing. I need to take the frequency information from my Histogram and feed that into the next plot. How can I extract the frequency information?

Not sure if there is a more conventional way to do this, but I was able to uncover the bin counts in the plot.calcdata prop.

I’m not quite sure what you want to do with the points, but I made a quick demo in this codepen that shows how you can extract them: https://codepen.io/mbkupfer/pen/BXzQKv

three reasons why you should buy plotly pro: support open source, get great support, host your plots and dashboards online