Skip to main content
100%

Q4

✓ Published0🌍 Public
Nnsairitwikreddy@gmail.com
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from Activity-6

This D3.js bubble chart visualizes the classic Iris dataset, plotting sepal length on the x-axis, sepal width on the y-axis, and encoding petal length through bubble radius. Each of the 150 flowers is colored by its species (setosa, versicolor, or virginica) using a categorical color scale, with a legend positioned to the right. The SVG chart includes interactive hover tooltips that display species and measurement details. The code loads data via `d3.csv`, uses `d3.scaleLinear` for axes and bubble sizing, and `d3.schemeCategory10` for color assignment, with animated tooltip transitions.

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