Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Pie chart Test

Public visualization

Viewing a saved revision (read-only)

10781000aa7142a6b4323661b727fdfe

Pie chart Test

0 stars3🌍 Public
SSergio Eijben
Last edited Nov 11, 2020
Created on Nov 11, 2020
Forked from Customizing Axes

A pie chart displays the relative populations of ten countries, with each slice labeled by country name. The chart is rendered as an SVG using D3 v6, with slices generated by `d3.pie()` and drawn via `d3.arc()` paths. Colors are assigned from an ordinal scale, and labels are positioned using the `label.centroid()` method. The data comes from a static array embedded in the script rather than the linked `data.csv` file.

AI-generated description