Skip to main content
100%

srinivas que2

✓ Published0🌍 Public
SSrinivasAbburi@my.unt.edu
Last edited Apr 15, 2024
Created on Apr 15, 2024
Forked from Hello VizHub

A stacked horizontal bar chart displays the percentage distribution of iris flower measurements (sepal length, sepal width, petal length, petal width) across three species: setosa, versicolor, and virginica. The visualization uses d3.stack() to compute stacked series, d3.scaleBand() for the categorical y-axis, and d3.scaleOrdinal() with a custom color palette. A tooltip appears on mouseover to show the exact percentage for each segment. The data comes from the included iris.csv file.

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