🌍 Public
Viewing a saved revision (read-only)
99595baeaee34d87ac571319c7bf8024
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.