๐ Public
Act 6.4
This bubble chart visualizes the correlation between horsepower, torque, and highway fuel efficiency using 768 records from a diabetes dataset. Each circle encodes engine performance and fuel economy, with color representing vehicle make and size mapping to highway MPG. The visualization uses D3 v6 with `d3.scaleLinear` for axes and bubble size, `d3.scaleOrdinal` for categorical coloring, and `d3.axisBottom`/`d3.axisLeft` for labeled axes. Interactive tooltips appear on mouseover, while static legends indicate MPG values and color categories via `d3.interpolateTurbo`.
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
Comments
Sign in to join the discussion.