Skip to main content
100%

Pie Chart

✓ Published0🌍 Public
AAditya Khandelwal
Last edited Apr 29, 2021
Created on Apr 29, 2021

This pie chart visualizes task completion data loaded from a CSV file, with each slice representing a data row. The chart uses React state to manage the asynchronous data fetch and renders SVG paths via D3’s arc generator. The pie is centered on a 960×500 canvas, with each path drawn from the center outward using fixed inner and outer radii, and equal angular spans derived from the data length.

AI-generated description

A program that loads in some data about CSS named colors using D3 utilities, and uses React state to keep track of the data.

MIT Licensed

Similar vizzes