I have a scatterChart
with too many points in nvd3
that looks like that:
It is very computationally intense task for the browser to render a plenty of points, so I want to actually draw an nvd3
lineChart
using the [x, y] data that I got. Basically I want areas of colors on my chart, and not the areas of color created by individual points. Is there a way to do that? What other things could you propose?
I tried random sampling of the data that I have but I do not like it since the improvement in performance is moderate and I am really losing data.
I suggest to use Highcharts with boost feature which renders chart series by WebGL instead of the default SVG:
https://api.highcharts.com/highcharts/boost
https://www.highcharts.com/blog/news/175-highcharts-performance-boost/
Here is a snippet showing a Scatter Chart with 5 series for 1000000 points total:
Jsfiddle Scatter Chart with 1000000 points: http://jsfiddle.net/beaver71/zyzpwgbv/