D3 is a very old library written in Javascript with functions returning functions. As a result, IDE autocomplete/intellisense is very limited. This project aims to provide a better experience for students. This vite template from stackBlitz provides d3 autocomplete and hot reload thanks to @types/d3
and vite
.
- Copy all files from official assignment repo to this project directory.
- Run
npm install
to install dependencies. - Run
npm run dev
to start the development server. - After assignment is done, copy all added code from this project directory to the official assignment repo.
Example project copied from https://github.com/UBC-InfoVis/436V-materials