Bubble chart
✓ Published0🌍 Public
This bubble chart visualizes the correlation between average horsepower, torque, and highway MPG for different car makes, using position for the first two variables and bubble size for the third. Color encodes car make, with a legend mapping size to MPG values and a second legend listing make categories. The chart is built with D3 v7 using `d3.csv` to load data, `d3.scaleLinear` for axes and bubble sizing, and `d3.scaleOrdinal` for color. Interactive tooltips appear on mouseover via D3 event handlers, rendered as styled SVG circles with animated opacity 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