I want to create a dynamically changing histogram showing 10 columns with the biggest values that changes over time: values change, new columns appear if their values in top-10 and old can disappear if their values is not in top-10.

Example where such a diagram is shown in video: https://www.youtube.com/watch?v=epwMa6zMfwY.

Any tools or programming languages can be used.


2 Answers 2


I know there are a lot of histogram classes in the DataMelt project. In particular, you want "horizontal" bar histogram. See a similar style in https://jwork.org/dmelt/code/index.php?keyword=popularity

Search for the "histogram" on the left search field. To make the histogram dynamic, you will need to implement a loop, put sleep, and refill the container with new data after some delay.


If you know JavaScript, then D3js is the most widely used and powerful charting library out there, with lots of good documentation & code samples.

Take a look at this histogram example to see how simple it can be.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.