Remix.run Logo
mritchie712 11 days ago

we use eCharts for all the visualizations in https://www.definite.app/.

We evaluated pretty much every option and it's the best non-react option. Recharts honestly seems a little nicer if you're using React, but our frontend is in Vue.

Octoth0rpe 11 days ago | parent [-]

Even if one is using react, I think there's value in choosing libraries that are not deeply tied to react such that that logic can be reused when (not if) we need to start migrating away from it.

cyral 11 days ago | parent [-]

The problem is non-react chart libraries can be a bit cumbersome to use in React. For example, D3 controls the DOM itself through various transformations. React is not aware of these updates and combining react's state based DOM manipulation with random updates from a charting library gets messy.