Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cost of living map with colorscale and country pop-up

Public visualization

Cost of living map with colorscale and country pop-up

0 stars1🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed