🌍 Public
Viewing a saved revision (read-only)
a52a1ec0b8414b15bfaf08a832af6d57
sekhar que4
This bubble chart displays the correlation between sepal length, sepal width, and petal length from the classic Iris dataset. It uses D3.js v7 to render an SVG, mapping sepal length to the x-axis, sepal width to the y-axis, and petal length to bubble radius, with color distinguishing the three plant species. A tooltip, triggered by mouseover events, reveals each point’s species and specific petal length value, while a legend identifies the color coding. The chart is built by loading the CSV data via `d3.csv` and constructing scales with `d3.scaleLinear` and `d3.scaleOrdinal`.
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.