Activity 6_Q 4
✓ Published0🌍 Public
A bubble chart visualizes the correlation between horsepower, weight, and MPG for the first 27 vehicles from the auto-mpg dataset. Each circle’s position encodes its horsepower and weight, while its radius and color represent MPG and car name, respectively, using a turbo color scale. The SVG rendering includes axes, labels, a tooltip on hover, and a legend, all built with D3 v7’s scales, axis generators, and event handlers.
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