The charting library in a product I worked on had not had a release in over a year, so I wanted to know what we could move to. I built a survival curve and a scatter plot in nivo, Recharts, ECharts, visx, TanStack Charts and Chart.js, plus a version in plain React and SVG. Same spec, same data, timed the same way.
What I found (M3 Pro, headless Chromium, native speed):
- At typical dashboard sizes there was no clear speed winner. The timings for each chart were within one frame of each other.
- At 10,000 scatter points they spread out: hand-written SVG 24 ms, visx 33 ms, TanStack Charts 53 ms, Chart.js 80 ms, ECharts 86 ms, Recharts 310 ms, nivo's SVG scatter 3.2 s.
- Both Canvas implementations took longer to mount than plain SVG at that size.
- TanStack Charts needed the least code.…