Skip to main content
100%

Q2

✓ Published0🌍 Public
Vvamsikrishnakanchukommala@my.unt.edu
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from activity6_q2

This example displays the average measurements of iris flowers (sepal length, sepal width, petal length, and petal width) for three species (setosa, versicolor, and virginica) as a stacked horizontal bar chart. Each bar represents a species, with colored segments showing the average values for each measurement, and hovering over a segment reveals its exact value via a tooltip. Built with D3 v7, it reads data from a CSV file and uses `d3.stack`, `d3.scaleLinear`, `d3.scaleBand`, and `d3.axisBottom` to render the SVG visualization. The chart includes styled axes, a title, and custom fonts.

AI-generated description

A bare minimum HTML page.

MIT Licensed

Similar vizzes