Skip to main content
100%

Activity6_Question4

✓ Published0🌍 Public
AAreeba Hassan
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Hello VizHub

This bubble chart compares violent crime rates and aggravated assault rates across U.S. cities, with bubble size encoding population and distinct colors differentiating cities. The visualization uses d3.csv to load the dataset, d3.scaleLinear for positioning and sizing, and d3.scaleOrdinal with d3.schemeTableau10 for color assignment. Interactive tooltips appear on mouseover, displaying city name, population, and violent crime count. SVG circles are rendered with D3 v7, and a size legend shows population values of 20,000, 50,000, and 80,000.

AI-generated description
MIT Licensed

Similar vizzes