Activity-6_Question-4
✓ Published0🌍 Public
This bubble chart shows the relationship between engine cylinders, displacement, and city MPG for various car brands, with each bubble’s position encoding cylinder count and displacement while its size maps to city MPG. Color distinguishes brand, and hovering reveals the brand name via a tooltip. The visualization uses d3.csv to load data, d3.scaleLinear for positioning and sizing, d3.scaleOrdinal with d3.interpolateTurbo for color, and d3.axisBottom/axisLeft for axes. It includes a legend for bubble size and brand colors, rendered as SVG circles with mouse event handlers for interactivity.
AI-generated descriptionMIT Licensed