Fork of Activity 6_Question 4
✓ Published0🌍 Public
This example visualizes the Iris dataset as an interactive bubble chart, using circle size to represent petal length and color to distinguish iris species. The chart plots sepal length on the x-axis and sepal width on the y-axis for all 150 samples. Built with D3 v7 and rendered as SVG, it includes a legend for species and tooltips that display species and petal length on mouseover. The visualization implements scales via `d3.scaleLinear` and `d3.scaleOrdinal`, with color mapping derived from `d3.interpolateTurbo`.
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