🌍 Public
Viewing a saved revision (read-only)
5b5641ab64dc42f9b25c74aa37f6155a
Q4
This bubble chart visualizes the Iris dataset, plotting sepal length on the x-axis and sepal width on the y-axis. Each bubble's size encodes petal length, while its color indicates the iris species (setosa, versicolor, or virginica). The visualization uses d3.scaleLinear for axes and bubble sizing, d3.scaleOrdinal with d3.schemeCategory10 for species colors, and d3.axisBottom and d3.axisLeft for labeled axes. Hovering over a bubble reveals a tooltip with the species and measurement details, and an animated legend lists the species 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.