๐ Public
Activity8_Task-4
This visualization shows the correlation between average horsepower, torque, and highway MPG for various car makes, with each bubble sized by MPG and colored by make. The chart uses D3.js v7 to create an SVG scatterplot with a tooltip that appears on mouseover, revealing the make of each vehicle. The code employs d3.scaleLinear for axes and bubble sizing, d3.scaleOrdinal with interpolateTurbo for colors, and includes a legend for MPG values and color-coded car brands. Data comes from a local CSV file.
AI-generated descriptionMIT Licensed
Comments
Sign in to join the discussion.