This is the accompanying web application for the D3 Crash Course in 05499: Data Visualization.
It provides a series of exercises for learning the basic mechanisms of D3.
To see the answers, check out the solutions
branch of this repository with git checkout solutions
- Install Node.js and NPM from https://nodejs.org/en/download/. You should be able to run
npm -v
from command line or command prompt. - Install VS Code from https://code.visualstudio.com/, the recommended IDE/text editor.
- Clone this repository,
git clone https://github.com/cmudig/d3-crashcourse
. - In this folder, run
npm i
to install the dependencies. - Run
npm run dev
to watch for changes and host the web application. - Open the URL displayed in the terminal (usually http://localhost:3000/). If you open the html file directly, your changes will not update the website.
- Test the application by changing
Alex Cabrera
to your name inindex.html
using VS Code. The webpage should automatically reload and show your name.
Please email cabrera@cmu.edu if you run into any issues, or come to office hours for debugging.