Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Pie Chart

Public visualization

Viewing a saved revision (read-only)

50cebe994cc34e56881692898d35915b

Pie Chart

0 stars0🌍 Public
Ssalimjivani
Last edited Mar 28, 2022
Created on Mar 28, 2022
Forked from 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