Skip to main content
100%

ebola cases

✓ Published0🌍 Public
LLisaPicado
Last edited Mar 21, 2017
Created on Mar 21, 2017

The visualization maps reported Ebola cases as animated dots on a world map, using a Leaflet map via Mapbox with D3.js for rendering. Each dot represents a case location from a GeoJSON file, initially expanding from a large radius to a small point over three seconds. The code projects geographic coordinates to screen positions using Leaflet's `latLngToLayerPoint` and re-renders the dots on map pan or zoom events. It combines Mapbox's base map with D3's data binding and transitions.

AI-generated description

This is a simple setup of Leaflet (via Mapbox) with d3 to show dots on a map. This can serve as a base for many interesting geographically based visualizations

Nice overview of using d3 + Leaflet. I found this slightly simpler to use than Mike's classic post.

Built with blockbuilder.org

forked from <a href='http://bl.ocks.org/enjalot/'>enjalot</a>'s block: <a href='http://bl.ocks.org/enjalot/18cb7a77b2d9de597b86'>ebola cases</a>

forked from <a href='http://bl.ocks.org/scresawn/'>scresawn</a>'s block: <a href='http://bl.ocks.org/scresawn/3e060dc8a99e52cd6198b0cfa157fcbb'>ebola cases</a>

mit Licensed

Similar vizzes