Introduction to D3

Get your feet wet with D3, a popular visualization library for the web.

Get started »

Welcome

D3 is a widely-used and powerful library for creating visualizations on the web. It was created by Mike Bostock as a research project at Stanford University, and now has an active open source community.

We have written these tutorials to give people with little or no programming or web-development experience an idea of what making visualizations with D3 is like. For more background on web technologies, we recommend checking out the free online courses on Codecademy.

Older tutorials

These tutorials are from older iterations of this workshop.

About

This D3 workshop was created by Michael Brooks and John Robinson for the HCDE 511 Information Visualization class. The tutorials use a combination of lecture instruction, live coding demonstration, and "do-it-yourself" exploration.

We ran the first version of this workshop in Spring 2014 using a combination of Powerpoint slides and JS Bin (for coding along with the slides). In Autumn 2014, we revised and reformatted the material into this website.

In this new format, you can follow the tutorial on the left side of the screen while the code is editable in JS Bin on the right side. This makes the workshop content more accessible and user-friendly, and, we hope, more useful.

Screenshot

The site was developed with Harp and Bootstrap. The source code is on GitHub.