Search code examples
javascriptjsond3.jsc3

slow loading d3 / c3 chart


I have a page with two d3 - c3 charts which are fed by json data. It takes nearly 4 seconds to load. Why is it soo slow? I can't figure it out. There are not that many data points to be plot. http://skiweather.eu/snowdata/obertilliach/852


Solution

  • If you look at Developer Tools it is the initial response from the server that takes up a lot of time and not the d3 / c3 scripts. You might want to look at the backend script that generates the page.