Skip to main content
100%

Let's make a map with D3.js!

✓ Published1🌍 Public
Fforcox43
Last edited Jul 15, 2020
Created on Jul 15, 2020

This example shows a world map rendered with an equal-area natural Earth projection, with each country filled in light green and outlined with subtle black strokes against a blue sphere background. The visualization loads geographic data from the world-atlas TopoJSON dataset and converts it to GeoJSON features using the `feature` function from TopoJSON. The map is drawn as SVG paths generated with D3's `geoPath` and `geoNaturalEarth1` projection APIs, demonstrating a minimal React-free D3 mapping workflow.

AI-generated description

//deo-geo-projection on github: // need to include as src on index.html: <script src ='https://d3js.org/d3-geo-projection.v2.min.js"></script>

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes