🌍 Public
Viewing a saved revision (read-only)
165cd99056734d31b53ba48e972fe7f1
Task8_Question4
This example visualizes the correlation between sepal length, sepal width, and petal length in the classic Iris dataset. It uses a bubble chart where the x-axis represents sepal length, the y-axis represents sepal width, and the size of each circle encodes petal length, with species distinguished by color. The visualization is built with D3 v7 using SVG, leveraging `d3.scaleLinear` for the axes and bubble sizing, `d3.scaleOrdinal` with `d3.schemeCategory10` for colors, and `d3.axisBottom` and `d3.axisLeft` to render the axes. A legend identifies the three species.
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.