Skip to main content
100%

Activity6_Q2.3

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

This example displays a stacked bar chart of the Iris dataset, showing the cumulative contributions of sepal and petal measurements for each of the three species. It uses D3 v7 to load the CSV data with `d3.csv`, then applies the `d3.stack()` function to create series for the four attributes. The visualization renders as SVG, with axes and a legend constructed using `d3.axisBottom`, `d3.axisLeft`, and a custom legend group.

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