Skip to main content
100%

RS Let's Make a Map with D3.js

✓ Published1🌍 Public
Ddanrhymes
Last edited Mar 28, 2020
Created on Mar 27, 2020

This example displays a natural Earth projection of world countries as light green polygons with black outlines against a blue sphere, rendered as SVG paths. The visualization loads GeoJSON country boundaries from the world-atlas package, converts them using the topojson `feature` function, and projects them with `d3.geoNaturalEarth1` and `d3.geoPath`. The sphere background is drawn first, followed by the country paths, both styled via CSS classes.

AI-generated description
MIT Licensed

Similar vizzes