🌍 Public
Viewing a saved revision (read-only)
c08187f42800448fa4b34b63814496f5
Question 4
This bubble chart visualizes the Iris dataset, plotting sepal length and width on the x and y axes while encoding petal length as bubble size and species as color. The D3.js code implements a color legend and hover tooltips. Using `d3.scaleLinear` for positioning and size, it maps petal length to a radius scale and species to a categorical color scheme.
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.