🌍 Public
Viewing a saved revision (read-only)
2742bfe692374302a049f2472315eb81
Fork of Hello VizHub
This bubble chart shows the correlation between average horsepower, torque, and highway MPG for 31 car makes. Each circle’s position encodes horsepower on the x-axis and torque on the y-axis, while its radius and color represent highway MPG. The visualization uses d3.csv to load data, d3.scaleLinear for axes and bubble size, and d3.scaleOrdinal with interpolateTurbo for color mapping. Interactive tooltips appear on mouseover. A legend explains the MPG size scale, and a second legend lists makes with their colors.
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.