Skip to main content
100%

geojson csv join

✓ Published0🌍 Public
Aangelferro
Last edited Jun 10, 2017
Created on Jun 10, 2017

A world map renders country outlines as SVG paths, with each country’s name appearing on mouseover via a reporter function. The visualization joins country IDs from a GeoJSON file with names from a CSV, using nested `forEach` loops to match identifiers. The map uses a D3 v3 Mercator projection with automatic scaling and translation based on the data’s bounding box. The code loads `countries.geo.json` and `idCountry.csv`, then displays stroke-only paths, leaving country fills empty.

AI-generated description

Built with blockbuilder.org

mit Licensed

Similar vizzes