Skip to main content
100%

Cost of living map with colorscale and country pop-up

✓ Published1🌍 Public

This interactive SVG world map visualizes the cost of living index per country, using a color gradient from red (low cost) to blue (high cost). It employs D3's `geoNaturalEarth1` projection and `geoPath` to render countries, with data from a CSV file. Users can hover to see country names and click to display a modal with the country's name and index value. The map fetches world atlas data from a URL and processes it with `topojson`.

AI-generated description

Simple world map showing cost of living index per country represented by color gradient. Closer to blue is high cost of living while closer to red is low cost of living.

MIT Licensed

Similar vizzes