🌍 Public
Activity6-Tutorial4-Rashmitha
This bubble chart visualizes the correlation between average horsepower, torque, and highway MPG across 31 car makes, with each bubble’s position encoding horsepower (x-axis) and torque (y-axis), while its size and color represent highway MPG values. Built with D3 v7, the SVG rendering uses `d3.scaleLinear` for axes and bubble radius, `d3.scaleOrdinal` with `d3.interpolateTurbo` for color mapping, and `d3.csv` to load the data. Interactive tooltips appear on mouseover via D3 event handlers, and a legend encodes bubble size with labeled circles and color with small dots for each make.
AI-generated descriptionMIT Licensed
Comments
Sign in to join the discussion.