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)

7e48ccad381c40b18083edcdb45f5750

Let's make a map with D3.js

0 stars0🌍 Public
KKrishu
Last edited Aug 17, 2020
Created on Aug 17, 2020

This example shows a world map rendered as SVG paths, with countries filled in navy blue and outlined with light green strokes. The map uses the Mercator projection via `d3.geoMercator` and draws features with `d3.geoPath`. Geographic data comes from the World Atlas TopoJSON file, which is loaded with `d3.json` and converted to GeoJSON using `topojson.feature`. The styling is applied through CSS on the `path` elements, and the visualization updates once the data is fetched asynchronously.

AI-generated description