Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Uncaught TypeError with a local copy of d3-v4 #136

Description

Hi Microsoft (@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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions