🌍 Public
Viewing a saved revision (read-only)
96f6b2d8d2e8499abfcab34d1e8e09fe
Cost of living map with colorscale and country pop-up
Sste.jendritz@gmail.com
Last edited Dec 2, 2024
Created on Nov 18, 2024
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 descriptionSimple 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