🌍 Public
Viewing a saved revision (read-only)
97c68af882b744ed84986937315d3b37
Tutorial 4
This interactive bubble chart visualizes the correlation between average horsepower, torque, and highway MPG for various car makes using data from a CSV file. Each circle’s x-position and y-position map to horsepower and torque respectively, while its radius and color encode highway MPG and car brand, using `d3.scaleLinear` and `d3.scaleOrdinal`. The visualization includes hover tooltips, axis labels, a legend for bubble sizes and colors, and is rendered with SVG elements using D3 v7’s data join and transition methods.
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.