🌍 Public
Viewing a saved revision (read-only)
532f2eb4b12148d4b174170605744c79
Activity7-Q1
This example displays the Iris dataset as a pie chart, with each slice representing a species type and its corresponding sepal length value. The visualization uses D3.js version 7 to fetch the CSV data from a GitHub repository, calculate the pie arc segments with `d3.pie`, and render the chart as SVG paths. A legend with color-coded rectangles and text labels is positioned on the right side, and all text elements are styled through CSS classes defined in the accompanying stylesheet.
AI-generated descriptionWe are Displaying the IRIS dataset using Scatter plot.