🌍 Public
Fork of Tut -4
This bubble chart visualizes the correlation between average horsepower, torque, and highway MPG for various car makes. Each circle represents a make, positioned by its horsepower and torque values, with the circle’s radius scaled by its highway MPG using `d3.scaleLinear`. The color of each bubble corresponds to the car make, assigned through `d3.scaleOrdinal` with `d3.interpolateTurbo` colors. An interactive tooltip, created with D3’s `select` and `append` methods, displays the make on hover. The visualization uses SVG and D3.js v7, with data loaded from a CSV file.
AI-generated descriptionMIT Licensed
Comments
Sign in to join the discussion.