Menu

1 / 3

Six React chart libraries against hand-written SVG: what I found

DEV Community: react·Pavel Gusev·10 days ago
#IC3IVdZN
#devtoreact#devto#dev#chart#scatter
Reading 0:00
15s threshold

I worked on an analytics product with about sixteen charts: survival curves, forest plots, histograms and scatter plots. Our charting library had not published a release in over a year. Nothing was broken, but I was worried about future React upgrades and who would maintain it. I wanted to know what we could move to.

I took two charts from the product, a survival curve and a scatter plot, and built each with nivo, Recharts, ECharts, visx, TanStack Charts and Chart.js. I also built them in React with hand-written SVG. All seven implementations followed the same spec and used the same synthetic data, with animation off.

At typical sizes (three survival series with 200 points each, and a 500-point scatter) the native-speed timings gave me no clear winner.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.