Skip to main content
100%

sekhar que2

✓ Published0🌍 Public
SSekharofficial2022@gmail.com
Last edited Apr 4, 2024
Created on Apr 4, 2024
Forked from Hello VizHub

This example from the VizHub gallery visualizes the percentage composition of the Iris dataset across its three species. The horizontal stacked bar chart displays each species as a bar, with segments representing the proportional measurements of sepal length, sepal width, petal length, and petal width. Built with D3 v7, the visualization uses `d3.stack()` for stacking, `d3.scaleLinear()` and `d3.scaleBand()` for axes, and includes interactive tooltips on mouseover that show precise percentage values for each segment. The data is loaded from an included 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