🌍 Public
Viewing a saved revision (read-only)
aa61f08ddd3944a39ffe7ede49aae34a
Pie Chart
This pie chart visualizes the distribution of seven documentary films by their associated values, presented with a legend on the right. The chart uses D3.js v5 APIs including `pie`, `arc`, `scaleOrdinal`, and `format` to compute the arc segments and render them as SVG paths. The data is loaded from `data.json` and sorted in its original order. Each legend entry displays the film label, its raw value, and percentage, with colors mapped via a categorical color scale.
AI-generated description