Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for rendering million data points #561

Open
gullyy opened this issue Feb 27, 2017 · 2 comments

Comments

@gullyy
Copy link

@gullyy gullyy commented Feb 27, 2017

Considering I update the data every 1 sec and 10 data points get updated every second,the chart might have million data points rendered by the end of the day...

What is the performance for such a scenario?Has anyone had similar experiences?
Also I see that every time the data gets updated the graph.series.addData(data); graph.render(); needs to be called. What happens with the render function? Does it render the whole data model again and again? Or it is react -like,render only the change set?

@daiyanze

This comment has been minimized.

Copy link

@daiyanze daiyanze commented Apr 7, 2017

How much data do you have at hands? Usually I think d3 is not able to handle that much data on a single page. I used to use DC.js for massive data visualization but it came out with a very frustrating performance. So my conclusion is that it is always better to shrink the size of your raw data and then visualize them. You may take a look at the following links.

  1. Does D3.js work efficiently on massive amounts of data (200 million rows with at least a dozen columns)?
  2. D3: How to show large dataset

It is better to use canvas based library if scripting and rendering time is somehow one of your concerns.

@leeoniya

This comment has been minimized.

Copy link

@leeoniya leeoniya commented Oct 14, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.