Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6Question2

Public visualization

Viewing a saved revision (read-only)

1b8d08b0932b40ef9471d9174f24f7b9

Activity6Question2

0 stars0🌍 Public
Nneerajreddyaluka@gmail.com
Last edited Apr 15, 2024
Created on Apr 15, 2024

This stacked bar chart visualizes the Iris dataset, showing the average measurements of sepal length, sepal width, petal length, and petal width for each of the three iris species. The code uses d3.csv to load the data, d3.stack to group the four numeric attributes into layers, and d3.scaleBand and d3.scaleLinear to map species and cumulative values. Rendered as SVG, each colored segment represents one measurement category, with axes added via d3.axisBottom and d3.axisLeft.

AI-generated description

We are Displaying the IRIS dataset using Scatter plot.