Skip to content

Instantly share code, notes, and snippets.

@jdonis
jdonis / guatemala.json
Last active August 29, 2015 13:56
Indicadores de económicos de Guatemala, d3 and TopoJSON
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@d3noob
d3noob / .block
Last active August 30, 2022 17:09
Earthquake Data Discovery using dc.js, crossfilter, d3.js and bootstrap
license: mit
@caseycesari
caseycesari / neighborhoods.mak
Last active December 15, 2015 06:19
Get the latest version of the Azavea Neighborhoods shapefile and convert it to topojson.
Neighborhoods_Philadelphia.shp:
git clone git@github.com:azavea/geo-data.git
touch geo-data/Neighborhoods_Philadelphia/Neighborhoods_Philadelphia.shp
neighborhoods.json: Neighborhoods_Philadelphia.shp
ogr2ogr -f "GeoJSON" -t_srs "EPSG:4326" neighborhoods.json geo-data/Neighborhoods_Philadelphia/Neighborhoods_Philadelphia.shp
neighborhoods-topo.json: neighborhoods.json
topojson -o neighborhoods-topo.json --id-property NAME neighborhoods.json
@jatorre
jatorre / README.md
Last active December 11, 2015 22:48 — forked from friedbunny/README.md

Mouseover streets in this D3.js-driven visualization that allows users to visualize the citywide extent of a given street. The City of Philadelphia Streets Department maintains and distributes geospatial data representing and describing the city's street network. The data along with more information is availabe at Open Data Philly. Street location and name data is stored in a CartoDB table. A merge by attribute operation, street name in this case, achieved improvements over the previous file size that approached 3MB.

Download size can be further reduced by using PostGIS functions ST_Simplify or ST_SimplifyPreserveTopology. Without loss of det

@friedbunny
friedbunny / README.md
Last active December 11, 2015 22:38 — forked from wsvekla/README.md
Mouseover Philadelphia Streets to See Citywide Extent (Simplified Geometry)

Mouseover streets in this D3.js-driven visualization that allows users to visualize the citywide extent of a given street. The City of Philadelphia Streets Department maintains and distributes geospatial data representing and describing the city's street network. The data along with more information is availabe at Open Data Philly. Street location and name data is stored in a CartoDB table. A merge by attribute operation, street name in this case, achieved improvements over the previous file size that approached 3MB.

Download size can be further reduced by using PostGIS functions ST_Simplify or ST_SimplifyPreserveTopology. Without significant

@tnightingale
tnightingale / README.md
Last active October 25, 2019 16:48
Leaflet + D3js: Hexbin

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.

@PhillyCDO
PhillyCDO / myPhillyRising.md
Last active December 11, 2015 21:59
Proposal for developing a myPhillyRising mobile application for the City of Philadelphia.

##What are we trying to do?

The City of Philadelphia (specifically, the Managing Director’s Office) is looking to engage with a local developer, entrepreneur or software firm to build a mobile application we're calling myPhillyRising.

The purpose of this application is to complement the work being done by the PhillyRising Collaborative in specific neighborhoods in the City of Philadelphia. It is meant to be offered for free use by residents in neighborhoods that are the focus of PhillyRising activities.

##Why are we trying to do this?

PhillyRising, an initiative of the City's Managing Director's office, is built on the idea of collaboration – government collaborating with citizens and community leaders to improve the quality of life in city neighborhoods. PhillyRising targets neighborhoods throughout Philadelphia that are plagued by chronic crime and quality of life concerns, and establishes partnerships with community members to help address these issues.