🌍 Public
Viewing a saved revision (read-only)
6a02f9bb674c4ff9b25fb5c055197af2
Activity6_Task4.2
This interactive bubble chart visualizes the correlations between sepal length and petal length in the classic Iris dataset, with bubble size encoding sepal width. Each of the 150 flowers is represented as an SVG circle colored by species using `d3.scaleOrdinal` and the Turbo color map. Hovering a bubble triggers a tooltip via D3's event handlers that displays the species name. The chart includes labeled axes, a legend for size values using `d3.scaleLinear`, and a 400-pixel right margin for the legend, all rendered through `d3.svg` with animated transitions on the tooltip.
AI-generated description