Task8_Q4_9
✓ Published0🌍 Public
This bubble chart visualizes the correlation between housing costs, cost of living, and safety across 40 cities from the expensessafety.csv dataset. Each circle’s position encodes housing and cost of living on the x- and y-axes, while its radius represents the safety score using a linear scale. The chart uses d3.csv to load data, d3.scaleLinear for positioning and sizing, and d3.scaleOrdinal with interpolateTurbo to assign distinct colors to each city. Interactive tooltips appear on mouseover, and a legend with reference circles explains the safety radius mapping.
AI-generated descriptionMIT Licensed