nindalf / arewefastyet

arewefastyet.rs - benchmarking the Rust compiler
https://arewefastyet.rs
MIT License
19 stars 2 forks source link

Thoughts on using d3.js directly, vega-lite, or other charts alternative? #10

Open wcarss opened 3 years ago

wcarss commented 3 years ago

Hi! After fighting with recharts to try to improve some things, it's striking how much effort it takes to get e.g. a label to align and do what every label on every simple line chart does. Because these are pretty straightforward charts, using d3 directly, or something like vega-lite (e.g. chart+tooltip), or some other alternative, might allow for prettier, faster-rendering, and maybe even better-on-mobile charts.

Are you open to PRs exploring some options here?

nindalf commented 3 years ago

Sure, go right ahead. If you want to improve things, feel free 😃

I used recharts because that was easiest for me to integrate as a React component. Not sure how well plain d3 plays with React.