Skip to content

Instantly share code, notes, and snippets.

View sjengle's full-sized avatar
👩‍🏫

Sophie Engle sjengle

👩‍🏫
View GitHub Profile
@sjengle
sjengle / .block
Last active October 22, 2024 00:42 — forked from mbostock/.block
Flight Paths Edge Bundling
license: gpl-3.0
height: 500
border: no
@sjengle
sjengle / .block
Last active August 18, 2021 13:38
Multi-Series Line Chart (Commented)
license: gpl-3.0
@sjengle
sjengle / README.md
Last active April 16, 2020 05:56
Graph Demos
@sjengle
sjengle / Analysis Neighborhoods.geojson
Last active March 25, 2020 23:26
SF Arrests Map (One Week)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@sjengle
sjengle / 8b9n-iqj8.json
Last active February 25, 2020 00:58
SFPD Incidents by Neighborhood
[ {
"date" : "2016-01-02T00:00:00",
"count_incidntnum" : "34",
"pddistrict" : "BAYVIEW"
}
, {
"date" : "2016-01-03T00:00:00",
"count_incidntnum" : "29",
"pddistrict" : "BAYVIEW"
}
@sjengle
sjengle / .block
Last active February 18, 2020 19:35
Florida Gun Deaths
height: 750
@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

@sjengle
sjengle / Affordability_Wide_2019Q3_Public.csv
Last active February 9, 2020 22:20
Zillow Affordability Heatmap
We can't make this file beautiful and searchable because it's too large.
"RegionID","RegionName","SizeRank","Index","HistoricAverage_1985thru1999","1979-03","1979-06","1979-09","1979-12","1980-03","1980-06","1980-09","1980-12","1981-03","1981-06","1981-09","1981-12","1982-03","1982-06","1982-09","1982-12","1983-03","1983-06","1983-09","1983-12","1984-03","1984-06","1984-09","1984-12","1985-03","1985-06","1985-09","1985-12","1986-03","1986-06","1986-09","1986-12","1987-03","1987-06","1987-09","1987-12","1988-03","1988-06","1988-09","1988-12","1989-03","1989-06","1989-09","1989-12","1990-03","1990-06","1990-09","1990-12","1991-03","1991-06","1991-09","1991-12","1992-03","1992-06","1992-09","1992-12","1993-03","1993-06","1993-09","1993-12","1994-03","1994-06","1994-09","1994-12","1995-03","1995-06","1995-09","1995-12","1996-03","1996-06","1996-09","1996-12","1997-03","1997-06","1997-09","1997-12","1998-03","1998-06","1998-09","1998-12","1999-03","1999-06","1999-09","1999-12","2000-03","2000-06","2000-09","2000-12","2001-03","2001-06","2001-09","2001-12","2002-03","2002-06","2002-09",
@sjengle
sjengle / Affordability_Wide_2019Q3_Public.csv
Last active February 6, 2020 23:53
Zillow Affordability Heatmap (Template)
We can't make this file beautiful and searchable because it's too large.
"RegionID","RegionName","SizeRank","Index","HistoricAverage_1985thru1999","1979-03","1979-06","1979-09","1979-12","1980-03","1980-06","1980-09","1980-12","1981-03","1981-06","1981-09","1981-12","1982-03","1982-06","1982-09","1982-12","1983-03","1983-06","1983-09","1983-12","1984-03","1984-06","1984-09","1984-12","1985-03","1985-06","1985-09","1985-12","1986-03","1986-06","1986-09","1986-12","1987-03","1987-06","1987-09","1987-12","1988-03","1988-06","1988-09","1988-12","1989-03","1989-06","1989-09","1989-12","1990-03","1990-06","1990-09","1990-12","1991-03","1991-06","1991-09","1991-12","1992-03","1992-06","1992-09","1992-12","1993-03","1993-06","1993-09","1993-12","1994-03","1994-06","1994-09","1994-12","1995-03","1995-06","1995-09","1995-12","1996-03","1996-06","1996-09","1996-12","1997-03","1997-06","1997-09","1997-12","1998-03","1998-06","1998-09","1998-12","1999-03","1999-06","1999-09","1999-12","2000-03","2000-06","2000-09","2000-12","2001-03","2001-06","2001-09","2001-12","2002-03","2002-06","2002-09",
@sjengle
sjengle / README.md
Last active February 4, 2020 21:09
Letter Count Bar Chart (2020 Edition)