Q2
✓ Published0🌍 Public
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 descriptionA bare minimum HTML page.
MIT Licensed