activity6question4
✓ Published0🌍 Public
This bubble chart visualizes the relationship between average horsepower, torque, and highway MPG for different car makes. Each circle’s position encodes horsepower (x-axis) and torque (y-axis), while its radius scales with highway MPG and its color maps to the car make. Hovering a bubble reveals the make via a tooltip. The visualization uses D3 v7 with SVG rendering and static animation, reading data from a CSV file. It builds custom axes, a size legend for MPG, and a color legend for makes, using D3’s `scaleLinear`, `scaleOrdinal`, and `interpolateTurbo` for color mapping.
AI-generated descriptionMIT Licensed