TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

A love letter to Apache Echarts

166 点作者 zer0tonin超过 1 年前

14 条评论

Octoth0rpe超过 1 年前
I&#x27;m finishing up migrating a large-ish web app from react-vis to echarts and am very happy with the results. There are a couple things to note:<p>- It&#x27;s not very react friendly out of the box. There are some good wrappers that mostly fix this, and overall I view this as a strength as someday maybe the product I work on will migrate away from react. Our graph configuration may survive that migration assuming our next ui lib supports echarts in some fashion.<p>- it&#x27;s not d3 based. This part is kind of a big deal. For those not familiar with the internals of js graphing, d3 has been a foundational lib for generalized graphing libs for a very long time (&quot;generalized&quot; here is meant to differentiate between something that can render 8 graph types versus a jquery plugin that can render only a bar chart). I&#x27;m curious if any other graphing libs will build on echarts internals in the future and if the current rise in popularity will one day be seen as the end of d3.<p>- The documentation is truly best in class. Really great stuff. I&#x27;ve been trying to exactly emulate the behavior from our previous lib and while that&#x27;s occasionally been challenging, the docs have always come through for me.<p>On a side note my current headache that I&#x27;m trying to solve with echarts is handling log scales with data that contains negative&#x2F;zero values. Quite a few graph libraries that support log scaling don&#x27;t support this, and I think it may have to do with some fundamental conflict between ui people who (imo reasonably) look at their data and say &quot;my log scale Y axis ticks should be -1, -100, -10000, -1000000! Why is that so hard?&quot; And some dev with a slightly puritanical bent thinks about log(0) and log(-100) and their eye starts twitching and in the end of the day the feature never gets added. I get it math nerds, I get it. But throw me a bone, will ya?
评论 #39417621 未加载
评论 #39418005 未加载
评论 #39417010 未加载
评论 #39429180 未加载
评论 #39417506 未加载
folli超过 1 年前
As someone who sank countless hours into D3.js with its steep learning curve, I appreciate the simplicity of Echarts.<p>On the other hand, looking at how the charts in the post overflow the margin on mobile shows that it&#x27;s still not as simple as needed.
评论 #39418234 未加载
评论 #39418714 未加载
hughess超过 1 年前
We used ECharts to build our charting library at Evidence and it’s been a great experience overall (<a href="https:&#x2F;&#x2F;evidence.dev">https:&#x2F;&#x2F;evidence.dev</a>).<p>We started with D3 and a few other tools, but felt that we get a lot more out of the box with ECharts, like interactivity and an events API. ECharts is also a lot more extensible than people give it credit for.<p>If anyone is curious, we documented the process of selecting a charting library after assessing several options: <a href="https:&#x2F;&#x2F;github.com&#x2F;evidence-dev&#x2F;evidence&#x2F;issues&#x2F;136">https:&#x2F;&#x2F;github.com&#x2F;evidence-dev&#x2F;evidence&#x2F;issues&#x2F;136</a>
评论 #39419540 未加载
评论 #39418815 未加载
albert_e超过 1 年前
Currently we are grappling with the need to create a GANTT CHART with a quirk: we want to minimize vertical space (for compact printing on paper) so tasks that do not have any overlapping dates should appear on same horizontal level.<p>Our team tried a few options and is now implementing something from scratch instead.<p>We also want text to be legible, dates and task names directly shown near the task bars, etc.<p>If there is a good open-source library that allows us to customize a gantt chart (for both display on a webpage and PDF&#x2F;printing) with such quirky requirements, gthat would be a great time saver for us. Please provide any pointers you may have - Thanks!
评论 #39417402 未加载
评论 #39417426 未加载
评论 #39417188 未加载
评论 #39421228 未加载
评论 #39417623 未加载
MikeOfAu超过 1 年前
Surprising to me that Vega and Vegalite don&#x27;t get a lot more love
评论 #39417975 未加载
评论 #39418296 未加载
fellowniusmonk超过 1 年前
Echarts has been amazing for awhile, I replaced all my highcharts and most of my D3 usage with it years ago (before it became an apache project.)<p>I always assumed it didn&#x27;t have more adoption because the docs weren&#x27;t in English for a long time.
android521超过 1 年前
There needs to be directory of curated high quality libraries. It is very hard to filter through the noice.
评论 #39419358 未加载
评论 #39417052 未加载
评论 #39417585 未加载
评论 #39417164 未加载
hackandthink超过 1 年前
Apache Superset is the easiest way to start with Echarts.
评论 #39418327 未加载
ringofchaos超过 1 年前
I tried at least 5 Charting Libraries before settling for Echarts.<p>I used it with React. My app is mostly financial data simulation and analysis and echarts fit the need<p>The documentation is great and with some tweaking you can make it look great. The customizing options are quite good.<p>I prefer it to some react only charting libraries .
zxspectrum1982超过 1 年前
Ant Charts are also excellent and provide even diagrams<p><a href="https:&#x2F;&#x2F;ant-design-charts.antgroup.com&#x2F;en&#x2F;" rel="nofollow">https:&#x2F;&#x2F;ant-design-charts.antgroup.com&#x2F;en&#x2F;</a>
评论 #39418507 未加载
评论 #39417499 未加载
zaphar超过 1 年前
Thank you for this. I didn&#x27;t know about Echarts and had just started working on a low maintenance replacement for Grafana for personal use. This might end up replacing my current charting library Plotly. It looks way better documented for someone new to the charting landscape.
ekianjo超过 1 年前
You can also use Apache Echarts through R with this package: <a href="https:&#x2F;&#x2F;echarts4r.john-coene.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;echarts4r.john-coene.com&#x2F;</a>
shdh超过 1 年前
I’ve been using e-charts for a couple years now, works great!
downsplat超过 1 年前
Is Chart.js officially out of fashion? Been using it for years with good results... My charting needs are admittedly not very complicated.