Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Varun_6_Question2

Public visualization

Viewing a saved revision (read-only)

37eaba7f50d14d838f2d9292c8b83c78

Varun_6_Question2

0 stars0🌍 Public
VVarunKumarKambhampati@my.unt.edu
Last edited Nov 21, 2024
Created on Oct 20, 2024
Forked from Hello VizHub

This visualization displays the percentage breakdown of iris flower measurements by species using a stacked horizontal bar chart. The chart, rendered with SVG, uses D3.js v7’s `d3.stack` to accumulate the four measurement columns (sepal and petal length/width) per species. Each colored segment represents a variable’s proportion, with a tooltip revealing the exact percentage on hover. The data comes from the classic Iris dataset, with axes and labels styled via D3’s `axisBottom` and `scaleBand`.

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.