Skip to content

Instantly share code, notes, and snippets.

View dmccarey's full-sized avatar

Dan McCarey dmccarey

  • Washington, DC
View GitHub Profile

Single page scroll Icon for each industry Reuse the graphic style of the demo map Agricutlure, forest management, urban development, disaster management, business intelligence

@dmccarey
dmccarey / index.html
Last active August 29, 2015 14:16
Mapbox GL flying
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8' />
<title></title>
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' />
<script src='https://api.tiles.mapbox.com/mapbox-gl-js/v0.6.0/mapbox-gl.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.6.0/mapbox-gl.css' rel='stylesheet' />
<style>
body { margin:0; padding:0; }

Filters

  • How do filters work at different zoom levels, e.g. what does the status filter do at the regional level?
  • Do we hide some filters at some zoom levels? (prefer not to)

Navigation

  • Top or bottom?
  • Need users to easily be able to get back to the beginning
  • Keep in mid that UI needs to be responsive and work at the smallest embed size
@dmccarey
dmccarey / mex-post.md
Last active August 29, 2015 14:07
Giving context to open spending data

Giving context to open spending data

Historic satellite imagery and flood response

Yesterday the government of Mexico launched datos.gob.mx to open up government data across all ministries. We [built a mapping tool](blog post) for ministries to quickly build rich maps from data on the site. The tool also makes it to combine government data with other open datasets. This provides context and meaning to complex government data.

The first dataset that we mapped was all 2013 funds for disaster response and reconstruction. The map plots thousands of reconstruction projects across 45 natural disasters, including Hurricane Manual and Ingrid which affected two-thirds of Mexico, killing 192 people and causing $75 billion pesos in damage.

This is an incredibily rich and complex dataset. But this data alone is not particularly helpful. We need to better understand the context to understand why government invested funds the w

My thoughts

  • Item 1
  • Item 2
  • Item 3