Skip to main content
100%

question 2

✓ Published0🌍 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.

MIT Licensed

Similar vizzes