Skip to main content
100%

proyecto Jerónimo

✓ Published0🌍 Public
MMarcosHiramRojasSosa
Last edited Mar 22, 2017
Created on Mar 22, 2017

This example combines Mapbox GL with D3 to render a small set of geographic points from a CSV file (dots.csv) as circles on an interactive map. A custom circle selector component allows users to click and drag to define a circular region, highlighting all dots that fall within it by changing their fill color. The code uses D3's data join and transitions for animations, alongside Mapbox GL's map projection and viewreset/move events for re-rendering.

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'>dots on a map: setup-gl</a>

forked from <a href='http://bl.ocks.org/enjalot/'>enjalot</a>'s block: <a href='http://bl.ocks.org/enjalot/dc1ce756527c072885dc'>dots on a map-gl: circle</a>

forked from <a href='http://bl.ocks.org/enjalot/'>enjalot</a>'s block: <a href='http://bl.ocks.org/enjalot/0912e1962ed512093895'>dots on a map-gl: circle</a>

mit Licensed

Similar vizzes