This repository has been archived by the owner on Oct 12, 2022. It is now read-only.
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.
Uncaught TypeError with a local copy of d3-v4 #136
Open
Description
Hi @microsoft team
I've been trying to setup VsCode for d3 dev. and everything works fine if I just use the repo example from TypeScriptSamples but I need to be able to practice them locally with d3
So, I used
curl -O https://cdnjs.cloudflare.com/ajax/libs/d3/4.4.1/d3.js
and put the file in the folder and replaced http://d3js.org/d3.v2.js
with ./d3.js
. But after adding the local reference the charts don't work and it raises the following error in the console
Uncaught TypeError: Cannot read property 'day' of undefined at data.ts:238
It might be an error of versioning, could you guide me how to make it work locally?
Thanks :)
Metadata
Assignees
Labels
No labels