Viz - pie - sort
✓ Published0🌍 Public
NNPashaP
Last edited Jan 15, 2018
Created on Jan 15, 2018
This example presents a pie chart of browser market share percentages, with wedges explicitly ordered by a custom sort sequence rather than by value. The visualization uses the Viz.js library’s `viz.pie()` API to generate the chart, while a custom sort function relies on `d3.ascending` and an array of browser names. Data is hardcoded in the script, and the SVG is rendered at 960 by 500 pixels with the pie group translated to the center.
AI-generated descriptiongpl-3.0 Licensed