Skip to content

Instantly share code, notes, and snippets.

View sjengle's full-sized avatar
👩‍🏫

Sophie Engle sjengle

👩‍🏫
View GitHub Profile
@sjengle
sjengle / README.md
Last active February 12, 2020 20:31
Mobility Bubble Chart (Spring 2020)

Mobility Rate by College Bubble Chart

This example will demonstrate how to implement a bubble chart in D3.js version 5 with legends using d3-legend by Susie Lu.

The data comes from Opportunity Insights, which is a "non-partisan, not-for-profit organization based at Harvard University" that puts out public datasets produced for on their research.

We will specifically use data from the Mobility Report Cards project. The dataset is titled "Mobility Report Cards: Preferred Estimates of Access and Mobility Rates by College" and can be accessed via these direct links:

mrc_table1.csv
Codebook-MRC-Table-1.pdf