Skip to main content
100%

Fork of Fork of D3 Starter

✓ Published0🌍 Public
IIgor Bojković
Last edited Aug 25, 2023
Created on Aug 23, 2023
Forked from Fork of D3 Starter

This interactive map displays country boundaries with colors representing continents, using an orthographic projection that rotates as the user drags the globe. The visualization loads world-atlas data from TSV and TopoJSON files, then fixes specific country discrepancies before rendering. It uses `d3.geoPath`, `d3.geoOrthographic`, `d3.zoom`, and `d3.drag` for interaction, with continent colors assigned via `d3.scaleOrdinal` from the Tableau10 scheme. Hovering highlights a country in red, while the title element shows the country name and index.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes