Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Activity6_Task2.3

Public visualization

Viewing a saved revision (read-only)

34d1672370534198a9a34dd055fca552

Fork of Activity6_Task2.3

0 stars0🌍 Public
MMallikarjun Narra
Last edited Apr 15, 2024
Created on Apr 15, 2024
Forked from Activity6_Task2

This stacked bar chart displays aggregate sepal measurements for three Iris species, showing sepal length and sepal width contributions for setosa, versicolor, and virginica. Using D3 v7, the visualization applies `d3.stack()` to layer the metrics, `d3.scaleBand` for categorical spacing, and `d3.scaleLinear` for the value axis. Hover interactions reveal species-specific values via a tooltip, with the CSV data rendered as SVG bars colored blue and orange.

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.