activity6_t4
✓ Published0🌍 Public
This bubble chart visualizes the correlation between average horsepower, torque, and highway MPG across various car makes. D3 renders the SVG circles, with bubble size encoding highway MPG and color distinguishing vehicle makes. A tooltip appears on mouseover, revealing the specific make. The chart uses `d3.scaleLinear` for axes, `d3.scaleOrdinal` for color, and `d3.interpolateTurbo` for the color palette. Data is loaded from a CSV via `d3.csv`, and the visualization includes a legend for bubble size and color categories.
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