Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE 8 - 1Q Sharanya

Public visualization

ICE 8 - 1Q Sharanya

0 stars1🌍 Public
Cchengalvasharanya@gmail.com
Last edited Nov 1, 2025
Created on Nov 1, 2025
Forked from D3 Starter

This visualization combines a world map and a U.S. map in a single SVG canvas. The world map, using a Natural Earth projection, colors countries by population with a blue sequential scale, while the U.S. map uses an Albers USA projection to depict state-level crime rates in greens. Both maps rely on TopoJSON datasets loaded from `world-atlas` and `us-atlas`, rendered via `d3.geoPath`. The code builds color legends with `d3.scaleSequential` and tooltips for each geographic feature.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed