🌍 Public
Tutorial-4 Task-4
This visualization uses a D3 v7 bubble chart to show the correlation between average horsepower, torque, and highway MPG for various car makes. Each bubble’s position encodes torque (y-axis) and horsepower (x-axis), while its radius represents highway MPG, with a color scale differentiating makes. The SVG rendering includes interactive tooltips on hover, a legend for MPG values, and a categorical color legend. Data is loaded from a CSV file using `d3.csv`, with scales `d3.scaleLinear` and `d3.scaleOrdinal` driving the visual encoding.
AI-generated descriptionMIT Licensed
Comments
Sign in to join the discussion.