Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

act6_task4

Public visualization

act6_task4

0 stars1🌍 Public
MMili Patel
Last edited Mar 30, 2025
Created on Mar 30, 2025
Forked from act6_task4

This bubble chart shows the correlation between average horsepower, torque, and highway MPG for various car makes, with each car make represented by a uniquely colored bubble. The chart uses the D3.js library (v7) to render an SVG visualization, mapping horsepower on the x-axis, torque on the y-axis, and highway MPG to bubble size. The code leverages `d3.scaleLinear` for axes and bubble scaling, `d3.scaleOrdinal` for color mapping, and includes a legend for bubble size. Interactive tooltips display the car make on hover, and the visualization animates using D3's transition capabilities.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed