Skip to content

Instantly share code, notes, and snippets.

Mike Slattery slattery

  • New Haven, CT
Block or report user

Report or block slattery

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@slattery
slattery / README.md
Last active May 13, 2019
pantheon-drops8ex-noci.mk
View README.md
@slattery
slattery / .block
Last active Apr 16, 2019 — forked from HarryStevens/.block
World Tour
View .block
license: gpl-3.0
@slattery
slattery / .block
Created Apr 5, 2019 — forked from dianaow/.block
Vega-lite: Stacked bar chart of US Army Infantry Casualties of Vietnam War
View .block
license: mit
View miz_spokes_lc.json
{
"nodes": [
{"group": 0, "id": "Climate Change and Sustainability", "radius": 15},
{"group": 0, "id": "Conservation", "radius": 3},
{"group": 0, "id": "Environmental Communications", "radius": 6},
{"group": 0, "id": "Environmental Policy, Policy Analysis, and Economics"},
{"group": 0, "id": "Forest Ecology and Management", "radius": 10},
{"group": 0, "id": "Urban Science and Practice", "radius": 6},
{"group":1, "id":"Center for Business and the Environment at Yale"},
{"group":1, "id":"Global Institute of Sustainable Forestry"},
@slattery
slattery / .block
Last active Mar 22, 2019 — forked from XavierGimenez/.block
Grouping nodes in a Force-Directed Graph (many flavored)
View .block
license: gpl-3.0
height: 600
View spokes_and_lcs.json
{
"nodes": [
{"group": "Topic", "id": "Climate Change and Sustainability", "radius": 15},
{"group": "Topic", "id": "Conservation", "radius": 3},
{"group": "Topic", "id": "Environmental Communications", "radius": 6},
{"group": "Topic", "id": "Environmental Policy, Policy Analysis, and Economics"},
{"group": "Topic", "id": "Forest Ecology and Management", "radius": 10},
{"group": "Topic", "id": "Urban Science and Practice", "radius": 6},
{"group":"Spoke", "id":"Center for Business and the Environment at Yale"},
{"group":"Spoke", "id":"Global Institute of Sustainable Forestry"},
@slattery
slattery / .block
Created Mar 14, 2019 — forked from nstets/.block
ischool-geo-viz-template
View .block
license: mit
@slattery
slattery / README.md
Created Mar 14, 2019 — forked from danswick/README.md
CSV on a GL map!
View README.md

Using @tmcw's csv2geojson to add points from a CSV to a Mapbox GL JS map.

@slattery
slattery / 311-requests.csv
Created Feb 21, 2019 — forked from veltman/311-requests.csv
Recalculating hexagon bins on the fly
View 311-requests.csv
We can't make this file beautiful and searchable because it's too large.
lat,lng
40.640631015372094,-74.09561928538822
40.76611239235329,-73.9657263554248
40.81357085356432,-73.84674955146295
40.66491294048548,-73.95715625819152
40.86178909285141,-73.92702666410356
40.78354298068182,-73.97122051245215
40.720536662860404,-73.73210914651048
40.7190977072584,-73.8155960317422
@slattery
slattery / README.md
Created Feb 21, 2019 — forked from tnightingale/README.md
Leaflet + D3js: Hexbin
View README.md

This hexbin map shows the proximity of earthquakes (magnitude 3.0 or greater) in the Canterbury region of New Zealand during the month of September, 2010.

The map is created using Leaflet. The hexbin layer is a custom Leaflet layer which uses d3js to generate a svg hexbin overlay. The source for the custom leaflet layer is viewable here.

Earthquake data sourced from GeoNet.

You can’t perform that action at this time.