Skip to main content
100%

ICE 8 PART 1 CRIME RATE

✓ Published0🌍 Public
Ssakethgoud333@gmail.com
Last edited Nov 10, 2025
Created on Nov 10, 2025
Forked from React & D3 Starter

This map visualizes homicide rates per 100,000 people for selected countries, using a red sequential color scale from light to dark to indicate increasing crime severity. Hovering over a country displays a tooltip with its name and specific rate, while nations without data appear grey. The visualization uses d3.geoNaturalEarth1 for projection, d3.geoPath for rendering country outlines from TopoJSON data via topojson.feature, and d3.scaleSequential with an interpolateReds interpolator. Interactivity relies on D3 event handlers for mousemove and mouseout, with the map rendered as an SVG.

AI-generated description
MIT Licensed

Similar vizzes