Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

question 2

Public visualization

Viewing a saved revision (read-only)

0a80f5fce12b4df3b9230d502994a5c5

question 2

0 stars0🌍 Public
SSreeKohaliPatel@my.unt.edu
Last edited Apr 14, 2024
Created on Apr 14, 2024

This visualization displays the Iris dataset as a stacked bar chart, breaking down sepal and petal measurements for each species. It uses D3 v6 functions `d3.csv`, `d3.stack`, `scaleBand`, and `scaleLinear` to aggregate and position the bars. The SVG output is rendered with `d3.select` and the `join` operator, while axes are drawn using `d3.axisBottom` and `d3.axisLeft`. A linear color scale maps attribute indices to a two-tone palette, distinguishing the four measurement categories.

AI-generated description

We are Displaying the IRIS dataset using Scatter plot.