Live data from Hacker News

Echarts 2.0

ecomfe.github.io

31–40 of 46 posts

Re: Echarts 2.0

#31
post #5

Looks good. I did some evaluation of javascript graphing packages at my last position (migrating away from flash). We ended up paying for one. This looks great, contains a lot of useful graph types. I like the fact that the charts can be rendered and saved as png images. This is a feature often lacking in a lot of javascript graphing packages. Couldn't see if you can pass in the data via ajax (update after rendered),…

The Drag-Recalculate feature is neat, but limited and often results in nonsensical operations. For example, imagine a simple bar chart of fruits that people have: Alice: 5 apples, 6 oranges Bob: 10 apples, 2 oranges From a quick perusal of the examples, you can drag Alice's apples onto Bob's apple stack. Now Bob has 15 apples? wat? It seems you can even drag Alice's apples onto Bob's oranges. Try it yourself: https:/…

The default for Drag-Recalculate is "false" so a developer would need to specifically choose to enable this functionality.

Re: Echarts 2.0

#32

Is Baidu the first major Chinese tech company to start maintaining open source projects on the scale of Google or Facebook?

Alibaba has a ton of Open Source: http://alibaba.github.io/

They're a major technological powerhouse, to the point where they offer their own AWS equivalent: http://www.aliyun.com/

Re: Echarts 2.0

#33
post #14

Has anyone found an example of "big" dataset with some interactivity? https://ecomfe.github.io/echarts/doc/example/scatter3.html#-... only shows a static image (with mouse over but I am looking for something with selections or filtering).

The link you gave actually has 20,000 points of data on that graph. The example is interactive so go ahead and change line 45 or line 65 to something bigger then click the green button if you want to see a bigger data set. I love how their examples are interactive right on the page.

Re: Echarts 2.0

#34
post #33
post #14

Has anyone found an example of "big" dataset with some interactivity? https://ecomfe.github.io/echarts/doc/example/scatter3.html#-... only shows a static image (with mouse over but I am looking for something with selections or filtering).

The link you gave actually has 20,000 points of data on that graph. The example is interactive so go ahead and change line 45 or line 65 to something bigger then click the green button if you want to see a bigger data set. I love how their examples are interactive right on the page.

I see no interactivity there. The mouse only shows the x and y coordinates. As I said, I am looking for examples where the data is manipulated. Mouse over that shows data values would also be interesting though.

Re: Echarts 2.0

#35
ok, so I've done over the years my fair share of using all sorts of JS charting libraries. So far, Highcharts comes at the top.

Along the way, I've seen a plenty of new libraries popping up, but none so far, has matched the quality of Highcharts.

But this seems... just... too good. Gotta give it a try. I wish I was fluent in Chinese. :)

Re: Echarts 2.0

#36

if only most of their documentation and code comments weren't written in chinese. It's great that they open sourced it - looks really good, but it will be hard for non chinese to grasp the more complex aspects of this library.

Imagine how hard it's been for Chinese speakers to learn to code and use most modern libraries. I'd say the billion+ Chinese folks can represent a large enough audience for this library, if English-speakers don't want to figure it out (and maybe help with translations).

When it comes to code, I generally want lots of good examples more than documentation, and there seem to be a reasonable amount of examples (I haven't spent much time trying to make sense of them, yet).

I'm implementing a new charting system for our products, and haven't yet settled on the graphing library (leaning toward Rickshaw, but also considering Metrics Graphics), so I'll give this a shot. It looks really promising, particularly with regard to large data sets, since that's something most graphing libraries fall down on...we current reduce our data set to 1024 or fewer data points before sending to the graph. It might be awesome to have all the data in the client and let them zoom in and out at will.

Re: Echarts 2.0

#37
post #34
post #33

Earlier quoted context omitted.

The link you gave actually has 20,000 points of data on that graph. The example is interactive so go ahead and change line 45 or line 65 to something bigger then click the green button if you want to see a bigger data set. I love how their examples are interactive right on the page.

I see no interactivity there. The mouse only shows the x and y coordinates. As I said, I am looking for examples where the data is manipulated. Mouse over that shows data values would also be interesting though.

Is the UX really that difficult to understand? There's a selection box at the top-right corner. Click on it and use it to zoom deeper into the graph.

Re: Echarts 2.0

#38

This looks incredibly comprehensive! ...almost too good to be true, I'm waiting for the gotcha.... Does anyone have any experience to share experimenting with it yet?

One of the gotchas is that the comments are in Chinese, so it will be much harder to send in useful pull requests.

Re: Echarts 2.0

#39
post #37
post #34

Earlier quoted context omitted.

I see no interactivity there. The mouse only shows the x and y coordinates. As I said, I am looking for examples where the data is manipulated. Mouse over that shows data values would also be interesting though.

Is the UX really that difficult to understand? There's a selection box at the top-right corner. Click on it and use it to zoom deeper into the graph.

[deleted]

Re: Echarts 2.0

#40
Back in 2008 I released an open source library (Chronoscope) designed to render very large datasets in real time (See video here https://www.youtube.com/watch?v=2ScPbu8ga1Q#t=1607 showing off the display of 1 million+ datapoints) It was written in GWT, ran on the server (server side rendered chart tiles like Google Maps), Android, and Web, had JS exported APIs (through my GWT Exporter library), and microformat support.

Doing it back then was somewhat more difficult because Javascript was much slower and the 2D canvas wasn't very accelerated. The approach I took was to use a multiresolution "mipmap" like representation of the data. When animating, lower details were chosen, and the system would bound the max number of points to draw that would achieve a given FPS, and choose the detail level dynamically.

I also offered a commercially supported version at the time, Timescope, other types of charts. https://www.youtube.com/watch?v=RLYNHQVIeNg as well as a version that had a social sharing system with 2-way synchronization "micropresentations" (https://www.youtube.com/watch?v=RLYNHQVIeNg)

Micropresentations allowed you to "script" the chart via a markdown-like/Wiki like text annotation in comments. This means when you were debating or responding to some chart, you could move the chart around, add empheral markers, or other call outs, even video, in order to make your point.

https://www.youtube.com/watch?v=RLYNHQVIeNg

The old code is https://code.google.com/p/gwt-chronoscope/ if anyone is interested.

Post reply on HN