Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

World map with D3.js!

Public visualization

World map with D3.js!

0 stars0🌍 Public
Kkaviya-ds
Last edited Aug 13, 2020
Created on Aug 13, 2020

This example displays a world map using D3.js v5 and TopoJSON, with countries rendered as light green paths with subtle black borders on a blue background. It loads GeoJSON data from the world-atlas package via `d3.json`, converts it to features with TopoJSON’s `feature` function, and projects it using `d3.geoEquirectangular` and `d3.geoPath`. The SVG paths are generated and appended to the canvas, creating a simple, interactive-free geographic visualization.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed