🌍 Public
Viewing a saved revision (read-only)
b7eb8e0405944eda97a5be32dfd37077
T8 Question 9
This visualization shows the correlation between average horsepower, torque, and highway MPG for a set of fictional vehicle makes. Each circle’s position encodes horsepower and torque on the x and y axes, while its radius represents highway MPG and its color distinguishes the make. The chart uses D3 v7 with SVG rendering and animation, employing `d3.csv` to load data, `d3.scaleLinear` and `d3.scaleOrdinal` for scaling, and interactive tooltips on hover. A legend displays both MPG circle sizes and color-coded makes. The data comes from a CSV file loaded dynamically.
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.