🌍 Public
Fork of Bubble chart
This bubble chart shows the correlation between average horsepower, torque, and highway MPG across 31 car makes. Each circle’s position encodes horsepower and torque on the x- and y-axes, while its radius scales with highway MPG and its color distinguishes the make. Built with D3 v7, the SVG uses `d3.scaleLinear` for axes and sizing, `d3.scaleOrdinal` for color, and `d3.interpolateTurbo` for the palette. Interactive tooltips appear on mouseover, and a legend displays the MPG scale and make colors.
AI-generated descriptionMIT Licensed
Comments
Sign in to join the discussion.