Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Q4

Public visualization

Viewing a saved revision (read-only)

99595baeaee34d87ac571319c7bf8024

Q4

0 stars0🌍 Public
Rreddyswethuvahana@gmail.com
Last edited Apr 11, 2024
Created on Apr 11, 2024

This bubble chart visualizes the Iris dataset, plotting sepal length on the x-axis and sepal width on the y-axis. Each bubble's size encodes petal length, while its color indicates the iris species (setosa, versicolor, or virginica). The visualization uses d3.scaleLinear for axes and bubble sizing, d3.scaleOrdinal with d3.schemeCategory10 for species colors, and d3.axisBottom and d3.axisLeft for labeled axes. Hovering over a bubble reveals a tooltip with the species and measurement details, and an animated legend lists the species categories.

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.