Skip to content

Instantly share code, notes, and snippets.

View sergeiwallace's full-sized avatar

Sergei Wallace sergeiwallace

View GitHub Profile
@justinlevi
justinlevi / highlight.csv
Last active November 7, 2022 22:23
New York State D3 Counties Highlight & Hover
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
county
St_Lawrence
Chemung
Ulster
Albany
@LuisSevillano
LuisSevillano / .block
Last active July 16, 2018 19:24
Canvas+SVG hover stroke effect
border: none
height: 600
@rveciana
rveciana / README.md
Last active May 15, 2019 15:36
Congressional representatives dataset

Based on this data, contains a Shapefile and two topojson with the US congressional Districts.

The atlas-make project has a better maintained version of this data.

The difference from the data is based on, is that the American Samoa, Guam and Northern Marianas are included from the Natural Earth dataset. The Congress Representative data is included too.

get_areas.py is a script to calculate the area paoperties for the new objects. The name of the Congressional Representatives in the added territories has been taken from the Wikipedia.

The topojson has been calculated using the command: topojson -o us_congressional_district.json cgd114p010g.shp -p

@martgnz
martgnz / .block
Last active July 15, 2018 23:50
Chatty Map
license: mit
border: none
height: 510
@martgnz
martgnz / .block
Last active July 16, 2018 00:28
US States
border: none
license: mit
@martgnz
martgnz / .block
Last active September 13, 2019 09:32
Spam.js Choropleth IV
license: mit
height: 650
border: none
@curran
curran / README.md
Last active July 16, 2018 19:19
Map & Globe

Pan and zoom in the map on the left to rotate the globe.

Click and drag the globe to pan on the map.

An example that shows a Chiasm plugin based on Leaflet.js alongside a Chiasm globe plugin based on the D3 example This is a Globe.

The Chiasm plugins demonstrated here are

@rgdonohue
rgdonohue / README.md
Last active May 14, 2023 20:26
A D3 map using topojson
@ericcoopey
ericcoopey / README.md
Last active July 15, 2018 23:49
D3 US Map with Hover

D3 US Map with Hover

Basic US map using D3 and topojson. Each state gets colored and neighbors should never be the same color. Also has some mousein/mouseout functions for highlighting the state your cursor is over

@michellechandra
michellechandra / README.md
Last active June 11, 2024 04:09
Basic US State Map - D3