Question4-Bubble chart
✓ Published1🌍 Public
This bubble chart visualizes the correlation between average horsepower (x-axis), average torque (y-axis), and highway MPG (bubble size) for 15 car manufacturers. Each bubble is colored by manufacturer using `d3.scaleOrdinal` with an interpolated turbo color scheme. The visualization includes an interactive tooltip that displays the manufacturer name on mouseover, implemented with D3 event handlers. A legend shows representative bubble sizes for 20 and 40 MPG values, alongside a color-coded manufacturer key. The chart is rendered as SVG with `d3.axisBottom` and `d3.axisLeft` for axes, and uses `d3.csv` to load the dataset.
AI-generated descriptionMIT Licensed