Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Q2.3

Public visualization

Activity6_Q2.3

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

Comments

Sign in to join the discussion.

MIT Licensed