Skip to content

Instantly share code, notes, and snippets.

Avatar

Zev Ross zross

View GitHub Profile
@zross
zross / california_nad83_zones_min.geojson
Last active Jul 8, 2021
Using geojson with Google Maps API
View california_nad83_zones_min.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@zross
zross / index.html
Created Sep 23, 2014
GeoJSON data on Leaflet Map with MapBox tiles
View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7/leaflet.css" />
<script src="http://cdn.leafletjs.com/leaflet-0.7/leaflet.js"></script>
<script src='https://api.tiles.mapbox.com/mapbox.js/v1.6.4/mapbox.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox.js/v1.6.4/mapbox.css' rel='stylesheet' />
<style>
@zross
zross / businesses.json
Last active Oct 14, 2020
Leaflet.js Tips, Step 7 (filter buttons)
View businesses.json
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@zross
zross / businesses.json
Last active Sep 17, 2020
Leaflet.js Tips, Step 6 (add hovers)
View businesses.json
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@zross
zross / county.json
Last active Apr 17, 2020
Putting TopoJSON on a Google Map
View county.json
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@zross
zross / index.html
Last active Sep 5, 2019
Animate path on Leaflet map using D3 (Gimme!, Proletariat)
View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7/leaflet.css" />
<script src="http://d3js.org/d3.v3.min.js" type="text/javascript"></script>
<script src="http://cdn.leafletjs.com/leaflet-0.7/leaflet.js"></script>
<script src='https://api.tiles.mapbox.com/mapbox.js/v1.6.4/mapbox.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox.js/v1.6.4/mapbox.css' rel='stylesheet' />
@zross
zross / shakespeare.csv
Created Jan 14, 2015
Shakespeare word count by work (from Google BigQuery)
View shakespeare.csv
We can't make this file beautiful and searchable because it's too large.
"","word","word_count","corpus","corpus_date"
"1","hive",1,"loverscomplaint",1609
"2","plaintful",1,"loverscomplaint",1609
"3","Are",1,"loverscomplaint",1609
"4","Than",1,"loverscomplaint",1609
"5","attended",1,"loverscomplaint",1609
"6","That",7,"loverscomplaint",1609
"7","moisture",1,"loverscomplaint",1609
"8","praised",1,"loverscomplaint",1609
View anacod_w_pop.json
[{
"id": 1,
"sex_code": 1,
"mortality_death_age": [{
"mortality_death_age_id": 1,
"death_age": "death_age_00",
"death_num": "995"
}, {
"mortality_death_age_id": 2,
"death_age": "death_age_01",
View ngx-charts-linedata-example.json
[
{
"name": "Germany",
"series": [
{
"name": "2010",
"value": 7300000
},
{
"name": "2011",