Skip to main content
100%

sekhar que4

✓ Published0🌍 Public
SSekharofficial2022@gmail.com
Last edited Apr 4, 2024
Created on Apr 4, 2024
Forked from Hello VizHub

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 description
MIT Licensed

Similar vizzes