Skip to main content
100%

DV2_6_World Map

✓ Published0🌍 Public
NNagateja99
Last edited Jul 22, 2023
Created on Jul 22, 2023

This interactive map displays world countries using a natural Earth projection, with hover highlighting and zoom/pan capabilities. The visualization loads geographic data from the World Atlas TopoJSON files and renders country boundaries as SVG paths via d3.geoPath. Country names are joined from the accompanying TSV dataset using ISO numeric codes, displayed as tooltips through SVG title elements. The d3.zoom behavior enables interactive exploration, while the color scheme distinguishes landmasses, oceans, and hover states. The code leverages d3.json, d3.tsv, and topojson.feature for data processing and d3.geoNaturalEarth1 for the projection.

AI-generated description

Interactive Worldmap with geoNaturalEarth1 view.

Bostock: worldmap

Bostock: Dataset for title function to return country names

Reference:

MIT Licensed

Similar vizzes