Skip to main content
100%

Fork of Activity 6_Question 4

✓ Published0🌍 Public
Ttallavijayalakshmi0710@gmail.com
Last edited Oct 23, 2024
Created on Oct 23, 2024

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 description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes