← Back to context

Comment by tiagod

2 days ago

I've worked a lot with dataviz over the years, and after fighting so many libraries, I've finally stabilised at plain d3. Even in React projects, I'll just use the d3 primitives and build SVG from that (ignoring all the d3 DOM stuff)

All other libraries will just have a pile of abstractions that will leak everywhere as soon as you deviate from the happy path.

If you just want a bunch of auxillary charts and don't need a ton of control, just use something like ECharts. When you want real creative control over your visualisations, don't bother with anything high level.

I like d3 and echarts. Everything else feels a bit hacky.

I tried for a few years to help Streamlit deployments in production. Never will go that direction again. Litestar + React with echarts or d3 is the way to go. Or use your favorite application backend, but REST is almost certainly the way your use case needs to go.

Trading view charting_library is a nightmare. D3 is a pain to learn, but unmatched.