Skip to main content
100%

Learn D3.js

✓ Published0🌍 Public
Pprincit
Last edited Mar 24, 2020
Created on Mar 24, 2020
Forked from Learn D3.js

This example shows worldwide operating system market share for Android, Windows, and iOS as a labeled pie chart. It renders in SVG using D3 v4, with the `d3.pie` layout generating arc data from hardcoded percentages and `d3.arc` producing the path geometry. A `d3.scaleOrdinal` with `d3.schemeCategory10` assigns colors, while arc centroid labels display each platform and its percentage directly on the chart. The visualization demonstrates basic pie chart construction with group elements and path/text bindings.

AI-generated description
MIT Licensed

Similar vizzes