Skip to content

Instantly share code, notes, and snippets.

View clhenrick's full-sized avatar

Chris Henrick clhenrick

View GitHub Profile
@clhenrick
clhenrick / flowers.csv
Last active March 18, 2019 22:30
flower data
sepal_length sepal_width petal_length petal_width species
5.1 3.5 1.4 0.2 setosa
4.9 3.0 1.4 0.2 setosa
4.7 3.2 1.3 0.2 setosa
4.6 3.1 1.5 0.2 setosa
5.0 3.6 1.4 0.2 setosa
5.4 3.9 1.7 0.4 setosa
4.6 3.4 1.4 0.3 setosa
5.0 3.4 1.5 0.2 setosa
4.4 2.9 1.4 0.2 setosa
@clhenrick
clhenrick / README.md
Last active March 16, 2022 06:12
Aligning GeoJSON data with us-atlas TopoJSON

This is a demonstartion of how to align arbitrary GeoJSON data to the us-atlas topojson data.

It's important to note that the TopoJSON from us-atlas has it's map projection, (d3.geoAlbersUsa), built into it. In other words, it is considered "projected" geographic data.

This is an important distinction from GeoJSON data which is most typically stored in the unprojected Coordinate Reference System WGS84, also commonly referred to as "lat, lon" (though coordinates are most often stored in the order longitude, latitude).

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@clhenrick
clhenrick / .block
Last active December 14, 2018 04:50
scale sqrt vs scale linear
license: mit
@clhenrick
clhenrick / .block
Last active October 16, 2018 04:27
Not So Simple graph with grid lines in v4...
license: mit
@clhenrick
clhenrick / .block
Last active July 20, 2018 18:01
Stacked Bar Chart: SF Bay Area WAC v2
license: gpl-3.0
@clhenrick
clhenrick / .block
Last active July 20, 2018 14:26
Stacked Bar Chart: SF Bay Area WAC
license: gpl-3.0
@clhenrick
clhenrick / .block
Last active April 11, 2018 21:23
ischool-geo-viz-in-class
license: mit
@clhenrick
clhenrick / .block
Last active April 9, 2018 02:09
ischool-geo-viz-03
license: mit
@clhenrick
clhenrick / .block
Last active April 5, 2018 18:25
ischool-geo-viz-01
license: mit