Skip to main content
100%

Viz - pie - padAngle

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

A pie chart with padded slices displays six numeric values as proportional segments of a circle. The single SVG group is transformed to position the chart at the center of the viewport. The example uses the `viz.pie()` function from the Viz.js library to generate the layout, configuring a `padAngle` of 0.02 to separate adjacent arcs. The resulting pie is rendered as SVG elements via a D3 v4 selection that invokes the pie generator on the designated `<g>` element.

AI-generated description
gpl-3.0 Licensed

Similar vizzes