Live data from Hacker News

Apache ECharts

echarts.apache.org

191–200 of 263 posts

Re: Apache ECharts

#191
Glad to see Echarts getting the recognition it deserves. It is arguably the best open-source visualization library out there.

Here are some points others haven't mentioned:

(a) Uses canvas by default. Faster than any other library I've used.

(b) Extremely flexible. Want to write your own widget on top of the graphs (eg., a customized tooltip). Possible!

(c) Provides a lot of metadata. Want to get the position of a point in the rendered chart, to use in your code? Entirely possible!

(d) Works really well when importing into legacy web apps. They even provide an option to get a customized build on their site.

(e) Very good at handling streamed data. The animation is very smooth between data changes.

I've been using it for almost 7 years now for various production and personal projects, and it's still my go-to library. Their docs have come a long way since then.

They do have long standing bugs that get annoying, e.g, dealing with 0 when using log scales, provided there are workarounds for it. I haven't noticed any blocking bugs for most common usecases.

Re: Apache ECharts

#192

We use Echarts on our Bluesky analytics site https://bluefacts.app/profile/bsky.app Really great experience, we optimized the imports to reduce bundle size. For https://www.appbrain.com we also use it and had to optimize it even more.We render it server side and only return the SVG to the client. Server side rendering is a very powerful feature only very few chart libraries support.

https://apache.github.io/echarts-handbook/en/how-to/cross-pl...

also they have a very lightweight client library to add back interactive things like popups on hover when using server side rendering

Re: Apache ECharts

#195
post #152

Earlier quoted context omitted.

I think that’s because it’s a Chinese Project. Same thing with Ant Design Components, which are really awesome but not as well known as they should be.

Link here, for reference. https://github.com/antvis It seems good, but their docs websites are absolute trash (though they've seemingly gotten somewhat better recently - they were previously completely unusable). e.g https://g6.antv.antgroup.com/ Overall, I think you cant go wrong with Apache.

There's one more thing. Leader of antv is the developer of echarts.

Re: Apache ECharts

#196

We've tested almost every visualization library under the sun when building Briefer ( https://briefer.cloud ) and I can confidently say that Apache ECharts is the best. The main issues with other libraries is that they're either: (a) ugly (b) difficult to use (i.e. having to do things imperatively) (c) not flexible enough Apache ECharts solve these 3 problems. It's pretty by default, it allows us to mount/calculate t…

How is it better than Chart.js? Im curious as the implementations look extremely similar.

Re: Apache ECharts

#197
post #196

We've tested almost every visualization library under the sun when building Briefer ( https://briefer.cloud ) and I can confidently say that Apache ECharts is the best. The main issues with other libraries is that they're either: (a) ugly (b) difficult to use (i.e. having to do things imperatively) (c) not flexible enough Apache ECharts solve these 3 problems. It's pretty by default, it allows us to mount/calculate t…

How is it better than Chart.js? Im curious as the implementations look extremely similar.

One consideration I looked at when choosing between them was I believe chart.js is Canvas-only, whereas ECharts can output SVG

for millions of points maybe Canvas rendering is more performant

but for simple charts SVG provides an easier way to get responsive sizing just via CSS without involving JS to re-render

Re: Apache ECharts

#198

Earlier quoted context omitted.

I don’t get what you mean, it is featured in the demo. On the landing page, click demo and navigate to sankey in the menu.

sorry, I didn't see it in their featured demo video, unless it was shown supper quick.

It's not in the demo video, but it's in the demo gallery. That's also the thing that's linked as "demo" on the landing page, so I thought you were talking about that.

Re: Apache ECharts

#199

If you're looking for a chart library for a web client, I also recommend charts.css. It's a godsend honestly, the concept is way simpler than most charts libraries and can achieve the same thing. Makes it so simple to use the old way, server side rendering, htmx, etc... https://chartscss.org/

While I agree with other replies that ECharts provides a lot more functionality than this lib, it does look very nice the way it transforms a semantic table of data into the chart!

I'm using ECharts (and happy with it) but there are some places where I want like a sparkline in every row of a data table, which is a lot of ECharts instances to instantiate, and this lib looks like it'd be great for that.

Post reply on HN