Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

Histogram with range and values given

Hi,

I have to plot histogram where I have range and values. For e.g : in range 2-5 value is 20, in range 6-10 value is 40 etc.

How can I plot these through plotly?

Thank you for your time.

Thanks
Harprit

Here is a very sloppy hack but I hope it helps https://codepen.io/SergioC/pen/GEzJZM

Thank you very much.