🌍 Public
Viewing a saved revision (read-only)
d21a5c9e019148f58cf0070b71370742
Tutorial4
This bubble chart explores the relationship between average horsepower, torque, and highway MPG across 31 car 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 car manufacturer. Built with D3 v7, the visualization uses `d3.scaleLinear` for axes and bubble size, `d3.scaleOrdinal` for color mapping, and SVG circles with interactive tooltips on mouseover. The legend explains both the MPG sizing and the color mapping for each make based on data from `bubblechart.csv`.
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.