activity6_tutorial4
✓ Published0🌍 Public
This interactive bubble chart visualizes the correlation between average horsepower, torque, and highway MPG across various car makes from a CSV dataset. Each circle represents a car brand, with its position determined by the x- and y-scales for horsepower and torque, while the circle’s radius encodes highway MPG using a linear scale. The chart uses d3.csv to load the data, d3.scaleOrdinal with interpolateTurbo for color mapping by make, and SVG circles with mouseover, mousemove, and mouseleave handlers to display a tooltip. A legend shows MPG values and make colors.
AI-generated descriptionMIT Licensed