🌍 Public
Viewing a saved revision (read-only)
b46d615d5dc14050ae1b0b49381b17b2
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.