Skip to content

Instantly share code, notes, and snippets.

View animateddata's full-sized avatar

Peter Cook animateddata

View GitHub Profile
@animateddata
animateddata / us-pop-age-sex.csv
Created September 3, 2018 16:41
Pyramid data
year age total_pop male_pop female_pop total_pct male_pct female_pct sex_ratio
1980 Total 227224681 110398730 116825951 100.0 100.0 100.0 94.5
1980 0-4 16451184 8414215 8036969 7.2 7.6 6.9 104.7
1980 5-9 16602353 8491414 8110939 7.3 7.7 6.9 104.7
1980 10-14 18236335 9313212 8923123 8.0 8.4 7.6 104.4
1980 15-19 21110940 10729565 10381375 9.3 9.7 8.9 103.4
1980 20-24 21385705 10702344 10683361 9.4 9.7 9.1 100.2
1980 25-29 19685966 9792574 9893392 8.7 8.9 8.5 99.0
1980 30-34 17742706 8771495 8971211 7.8 7.9 7.7 97.8
1980 35-39 14076734 6917688 7159046 6.2 6.3 6.1 96.6
@animateddata
animateddata / .block
Last active July 3, 2020 17:46
World map with rivers
license: gpl-3.0
height: 960
border: no
@animateddata
animateddata / .block
Last active August 2, 2017 10:02
Map tile sketch animation
license: gpl-3.0
height: 780
border: no
@animateddata
animateddata / .block
Last active August 2, 2017 10:04
React + D3 Geo example
license: gpl-3.0
height: 850
border: no
@animateddata
animateddata / .block
Last active May 28, 2019 04:06
UK 2017 General Election majority map
license: gpl-3.0
height: 1200
border: no
@animateddata
animateddata / .block
Last active October 25, 2018 06:48
UK 2017 General Election Tile Grid Map
license: gpl-3.0
height: 1200
border: no
@animateddata
animateddata / .block
Last active January 5, 2020 13:05
UK 2017 General Election choropleth
license: gpl-3.0
height: 900
border: no
@animateddata
animateddata / README.md
Last active August 2, 2017 09:30
Spinning globe
@animateddata
animateddata / README.md
Last active August 2, 2017 09:18
Ball of circles

Random circles are added to a GeoJSON FeatureCollection and rendered to canvas. The projection is rotated on each animation frame.

Peter Cook

@animateddata
animateddata / README.md
Last active August 2, 2017 09:18
Ball of string

Random [lon, lat] points are added to a GeoJSON LineString feature and rendered to canvas. The projection is rotated on each animation frame.

Peter Cook