Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of ICE-8 1A kumar danam

Public visualization

Fork of ICE-8 1A kumar danam

0 stars0🌍 Public
KKumar Danam
Last edited Nov 2, 2025
Created on Nov 2, 2025

This example presents two side-by-side SVG map visualizations: a world map showing population data and a U.S. map displaying crime rates. The world map uses the `d3.geoNaturalEarth1` projection with a sequential color scale (`d3.scaleSequential` with `d3.interpolateYlOrRd`) to encode population values from a hardcoded dataset, while U.S. states are rendered via `d3.geoAlbersUsa`. Both maps load TopoJSON data from `world-atlas@2` and `us-atlas@3`, converting it with `topojson.feature` and drawing paths using `d3.geoPath`. Graticules and tooltips via SVG `<title>` elements enhance the display.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed