Skip to main content
100%

Viz - pie - label

✓ Published0🌍 Public
NNPashaP
Last edited Jan 15, 2018
Created on Jan 15, 2018

This example shows a pie chart of browser market share percentages, with each slice labeled by its numeric value in white text. The chart is rendered as an SVG using D3 v4 and the vizjs library, where the `viz.pie()` API configures the data mapping, value accessor, and label function. The data is hardcoded in the script and the chart is drawn into a pre-existing `<g>` element via a D3 selection.

AI-generated description
gpl-3.0 Licensed

Similar vizzes