🌍 Public
Viewing a saved revision (read-only)
08176bac24294cdf976e89127644b999
harsha act6 task4
A bubble chart visualizes the correlation between average horsepower, torque, and highway MPG for various car makes, using data from a CSV file. The x-axis maps horsepower, the y-axis maps torque, and circle size encodes highway MPG, with color distinguishing each make via a color scale. Built with D3 v7, this SVG visualization includes interactive tooltips on mouseover and a legend for both MPG values and color categories. The code uses `d3.scaleLinear`, `d3.scaleOrdinal`, `d3.axisBottom`, `d3.axisLeft`, and event handlers for tooltip interactions.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.