Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I tried to render a couple hundred thousand datapoints with Chart.js and it froze my browser. Will v3 make a meaningful difference? Don't get me wrong, I love chart.js. It's a great library.


There's a set of benchmarks with ~166k points. Chart.js v3 is listed as "Chart.js-next". https://leeoniya.github.io/uPlot/#performance

It should also be possible to render the chart in a WebWorker via the OffscreenCanvas API.

To be honest though, the data should be decimated before being sent to the chart. Some notes on it https://www.chartjs.org/docs/master/general/performance#data...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: