A D3v4 tutorial
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data
README.md
data.csv
index.html
process.r
script.js
style.css

README.md

A demonstration D3 project, shamelessly ripping off Gapminder. Go to the "Commits" tab to see the step-by-step process by which the chart was created.

This project has been updated to use D3v4.

Getting Started

In order to view the project in a browser, we need to set up a web server for the contents of the projects folder.

If you have a computer with Python installed (machines running Mac OS X do by default), this can be done by running the following command in the Terminal (you'll need to navigate to the project directory on your computer using the cd command first):

python -m SimpleHTTPServer

Now you can view the project by opening localhost:8000 in your browser. Refresh after editing the code to see the changes.