0

I think we've all seen data visualization gifs where some data like life expectancy of 50 most populous countries, animated to show changes through the years. Is this something that can be done with chart.js? The answer is no AFAICT but maybe there's a clever workaround? thanks.

JBart
  • 93
  • 1
  • 8
  • Yes. But "how" is topic for a course. You can change the data over time and use `chart.update();`. Click here `randomize`: https://www.chartjs.org/docs/latest/samples/area/line-drawtime.html. Related: https://stackoverflow.com/questions/17354163/dynamically-update-values-of-a-chartjs-chart – Ezra Siton Sep 24 '22 at 17:59

0 Answers0