🌍 Public
Viewing a saved revision (read-only)
7c4bc05e44934992b5394208e5adbfca
question4.1_practice
This bubble chart shows the correlation between average horsepower, torque, and highway MPG for various car makes. Each circle represents a car manufacturer, with its x-position mapped to horsepower, y-position to torque, and radius scaled to highway MPG using d3.scaleLinear. The visualization uses d3.v7 to render SVG circles with ordinal color encoding by make, alongside interactive tooltips on mouseover. It includes axes with labels, a legend for car makes, and a reference circle legend for MPG values. Data is loaded from a CSV file via d3.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.