Tutorial 4
✓ Published0🌍 Public
This tutorial demonstrates a bubble chart that visualizes the correlation between average horsepower, torque, and highway MPG across different car manufacturers. Each bubble’s position encodes horsepower and torque on the x- and y-axes, while its size reflects highway MPG and its color represents the car make. The visualization includes interactive tooltips on mouseover, a legend for bubble size, and color-coded categories. Built with D3 v7, it uses `d3.csv` to load data, `d3.scaleLinear` for axes and sizing, `d3.scaleOrdinal` for colors, and SVG rendering with animated tooltip transitions.
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.
MIT Licensed