🌍 Public
Viewing a saved revision (read-only)
795a256ff58b41bd9346b6809ed9a6ec
Activity-6 Task4
This bubble chart visualizes 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; color distinguishes car makes. The chart uses d3.csv to load data and d3.scaleLinear for positioning and sizing, with d3.scaleOrdinal and d3.interpolateTurbo for color mapping. Interactive tooltips appear on mouseover, and a legend displays circle sizes and color categories, all rendered as SVG elements from the provided CSV.
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.