🌍 Public
Viewing a saved revision (read-only)
56db3b3c1efe4de8ba6775423554206a
Bubble chart
This bubble chart visualizes the correlation between average horsepower, torque, and highway MPG across 31 car makes. Each circle’s position encodes horsepower on the x-axis and torque on the y-axis, while its radius scales with highway MPG and its color distinguishes the make. The visualization includes interactive tooltips on hover, plus legends for bubble size and color categories. It loads data from a CSV file and uses D3 v7 scaleLinear, scaleOrdinal, axisBottom, axisLeft, and event handlers. The chart is rendered as SVG with animated opacity transitions on hover.
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.