Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Let's make a map with D3.js!

Public visualization

Fork of Let's make a map with D3.js!

0 stars0🌍 Public
SSubhamChhetri
Last edited Mar 9, 2023
Created on Mar 9, 2023

This example uses D3.js v5 and TopoJSON to render an interactive map of Bhutan as a static SVG visualization. The code imports `geoMercator` and `geoPath` to project geographic coordinates onto a 960×500 canvas, with the country’s polygon data embedded directly in the script. A blue sphere background and light-green country fill with subtle black strokes are styled via CSS. The map is rendered using SVG paths, demonstrating a straightforward Mercator projection without additional interaction or animation.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed