Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

sekhar que4

Public visualization

Viewing a saved revision (read-only)

a52a1ec0b8414b15bfaf08a832af6d57

sekhar que4

0 stars0🌍 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

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.