Skip to main content
100%

Activity6_Task4

✓ Published0🌍 Public
SSai Praveen Lokavarapu
Last edited Apr 5, 2025
Created on Apr 5, 2025
Forked from Hello VizHub

This scatterplot visualization shows the correlation between average horsepower, torque, and highway MPG across 31 car makes. Each bubble represents a car brand, with its x-position indicating horsepower, y-position indicating torque, and bubble size scaled to highway MPG. The chart includes a color-coded legend for car makes and an interactive tooltip displaying the make on hover. Using D3 v7's `d3.scaleLinear` and `d3.scaleOrdinal` with `d3.interpolateTurbo`, the visualization renders as SVG with smooth hover transitions and mouse event handlers for tooltip positioning.

AI-generated description
MIT Licensed

Similar vizzes