🌍 Public
Viewing a saved revision (read-only)
4c108f118bb54c56b03b5e6c9345d12b
tutorial 4
This interactive bubble chart visualizes the correlation between average horsepower, torque, and highway MPG across various car makes. Each bubble’s position encodes horsepower on the x-axis and torque on the y-axis, while its size represents highway MPG, and color distinguishes car manufacturers. The chart, built with d3.v7’s SVG API, includes tooltips on mouseover, a legend for bubble size, and a color scale using d3.interpolateTurbo and d3.scaleOrdinal. Data is loaded from a CSV file, with animated hover effects to highlight individual bubbles.
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.