Fork of D3 Starter
✓ Published0🌍 Public
This example demonstrates a basic pie chart built with D3 version 7, rendering four slices as SVG paths. It uses the `d3.pie()` layout to compute angular data from a simple array of numbers, and `d3.arc()` to generate the path geometry. The chart is centered on a 500×500 SVG canvas, with each slice filled by a color function. The code also includes a linked video tutorial and is styled as a starter template for learning D3.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed