Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Let's make a map with D3.js!

Public visualization

Viewing a saved revision (read-only)

7a2ce2903a564900a73d89b58147d46c

Let's make a map with D3.js!

0 stars1🌍 Public
Aanuj1450
Last edited Nov 6, 2020
Created on Nov 6, 2020

This example uses a natural Earth projection to render a world map from TopoJSON data, with countries drawn as filled paths and a dark blue sphere as the base. It builds the visualization by loading the world-atlas dataset from unpkg and using `d3.geoNaturalEarth1` for the projection, `d3.geoPath` to generate SVG paths, and the `topojson.feature` method to convert TopoJSON to GeoJSON. The result is a simple, static SVG map with light green countries and translucent black strokes.

AI-generated description