Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Question2

Public visualization

Viewing a saved revision (read-only)

2a3a8c040fca4699b4a4e0a1dcbd8db9

Activity6_Question2

0 stars0🌍 Public
Hharshabandi3060@gmail.com
Last edited Oct 22, 2024
Created on Oct 22, 2024

This visualization shows the average measurements of sepal and petal dimensions for three Iris species as a stacked bar chart, using a subset of the classic Iris dataset. The chart aggregates 150 data points into three bars, one per species, with each bar divided into four colored segments representing the mean sepal length, sepal width, petal length, and petal width. The visualization is rendered using D3.js v7, with the `d3.stack()` API to create the stacked layout and `d3.axisBottom` and `d3.axisLeft` for the axes. A legend identifies the color encoding for each measurement, while white strokes separate the stacked segments.

AI-generated description