mardi 2 août 2016

D3 chart doesn't show up

I want to build a line and area chart based on the d3 example (http://bl.ocks.org/rkirsling/33a9e350516da54a5d4f). I copied and pasted the code and saved them in the right format. However, when I tried to view it via either a local file or localhost, the chart doesn't show up. The page is completely blank.

There are no console errors and the HTML page can connect to the javascript.

Also, I checked some previous similar questions and add the Jquery code: However, the page is still blank. Can somebody tell me what is wrong? What should I do to make it show up in my page?

Aucun commentaire:

Enregistrer un commentaire