🌍 Public
Viewing a saved revision (read-only)
d5be8720d75a44c3aac9faf5baa330f8
Assignment 2
This pie chart displays student details from a CSV file fetched via D3’s `csv` method, with slices colored by gender and labeled by occupation. It uses `d3.pie` and `d3.arc` to generate SVG paths, `scaleOrdinal` for color mapping, and includes a legend showing student names. The visualization is rendered in an SVG element with D3 v5, though the code references `d3.arc` in the bundle.
AI-generated descriptionThis is a Pie chart