Skip to main content
100%

iris_pie_chart

✓ Published0🌍 Public
BBibek Lamsal
Last edited Apr 29, 2024
Created on Apr 29, 2024
Forked from HTML Starter

This pie chart shows the distribution of the three Iris flower classes in the dataset, with each slice labeled by class name and count. It also includes a second visualization, an area chart of sepal length versus sepal width, created from the same Iris dataset. The pie chart uses `d3.pie` for the arc layout, `d3.arc` for path generation, and `d3.scaleOrdinal` with `d3.schemeCategory10` for coloring. Data is loaded via `d3.csv` from two remote CSV sources, and the chart is rendered as SVG.

AI-generated description
MIT Licensed

Similar vizzes