Skip to main content
100%

Activity6_4

✓ Published0🌍 Public
Ddabbararakshitha@gmail.com
Last edited Apr 5, 2025
Created on Apr 5, 2025
Forked from Hello VizHub

This bubble chart uses D3.js v7 to show the correlation between engine horsepower, torque, and highway MPG for ten car makes. A circle's horizontal position encodes horsepower, vertical position encodes torque, and area encodes MPG, with color distinguishing car brands. The visualization includes legends for both color and size mappings. Data is loaded from a local CSV file using `d3.csv()`, and scalings are applied with `d3.scaleLinear` and `d3.scaleSqrt`. Axes are rendered using `d3.axisLeft` and `d3.axisBottom`, while the chart itself is drawn as SVG circles.

AI-generated description
MIT Licensed

Similar vizzes