Skip to main content
100%

Pie Explode

✓ Published0🌍 Public
DDarienLiang
Last edited Oct 1, 2016
Created on Sep 30, 2016

A pie chart of fruit counts from a CSV file explodes into separated slices when the page loads, with each category rendered as an individual SVG path. The visualization uses d3.layout.pie to compute slice geometry, d3.svg.arc to define the pie shape, and d3.scale.category20 for color encoding by fruit name. A transition with a 2-second duration and 500-millisecond delay animates the slices outward via a custom explode function that calculates translation offsets from each slice's midpoint angle. The data comes from the included fruit.csv, and the rendering relies on SVG with d3.v3.

AI-generated description

Built with blockbuilder.org

mit Licensed

Similar vizzes