Skip to main content
100%

map visualization

✓ Published2🌍 Public
Ddeepthinaidu2001@gmail.com
Last edited Nov 9, 2025
Created on Nov 8, 2025
Forked from HTML Starter

This map visualization displays global cost of living indices using a color scale from yellow to blue, with gray indicating missing data. It uses D3 v7 to load TopoJSON world geography and CSV country data, generating simulated cost values for each nation. The visualization employs d3.geoNaturalEarth1 projection with d3.geoPath to draw country boundaries as SVG paths, and includes an interactive hover tooltip that reveals each country’s index value. A sequential color legend with a linear gradient and axis is rendered at the bottom right to show the value range from 30 to 100.

AI-generated description
MIT Licensed

Similar vizzes