Skip to content

Instantly share code, notes, and snippets.

@ThomasThoren
ThomasThoren / .block
Last active October 1, 2017 20:38
New York Times map reproduction II
height: 1000
@ThomasThoren
ThomasThoren / .block
Last active January 19, 2018 16:52
Texas map
height: 725
@ThomasThoren
ThomasThoren / _README.md
Last active December 1, 2023 21:18
Public records requests
@ThomasThoren
ThomasThoren / .block
Last active February 24, 2016 02:38
Salaries visualization I
height: 550
@ThomasThoren
ThomasThoren / .block
Last active February 24, 2016 02:37
Basic column chart
height: 450
@ThomasThoren
ThomasThoren / Makefile
Last active February 24, 2016 00:05
FiveThirtyEight NFL map reproduction
.PHONY: all
.SECONDARY:
# Download .zip files
zip/tl_2015_us_county.zip:
@mkdir -p $(dir $@)
@curl -sS -o $@.download 'ftp://ftp2.census.gov/geo/tiger/TIGER2015/COUNTY/tl_2015_us_county.zip'
@mv $@.download $@
@ThomasThoren
ThomasThoren / README.md
Last active June 12, 2017 02:05
Map distance scales

Example of how to create dynamic map distance scales.

@ThomasThoren
ThomasThoren / README.md
Last active December 3, 2015 13:31
Orleans Parish precincts

Orleans Parish precincts colored based on which gubernatorial candidate won in the 2015 general election. Includes simple hover styles.

@ThomasThoren
ThomasThoren / .block
Last active June 26, 2023 13:30
New York Times map reproduction
height: 800
@ThomasThoren
ThomasThoren / Makefile
Last active December 19, 2022 04:45
Shaded relief map
.PHONY: all clean
.SECONDARY:
# Download 90-meter SRTM tiles for Louisiana
zip/srtm_%.zip:
@mkdir -p $(dir $@)
@curl -sS -o $@.download 'http://srtm.csi.cgiar.org/SRT-ZIP/SRTM_V41/SRTM_Data_GeoTiff/$(notdir $@)'
@mv $@.download $@