Skip to main content
100%

Fork of pirchart

✓ Published0🌍 Public
Ssathvik0311@gmail.com
Last edited Nov 6, 2024
Created on Nov 6, 2024
Forked from pirchart

This fork of a pie chart visualizes the top five fruits by sales from a CSV dataset loaded via d3.csv. It uses d3.pie and d3.arc to generate SVG path slices, with percentage labels placed at each arc centroid. A legend built from d3.scaleOrdinal and d3.schemeCategory10 identifies the fruits, while the chart is rendered in SVG with a width of 600 pixels and includes axis-style text labels.

AI-generated description

A demonstration of reusable scatter plot.

MIT Licensed

Similar vizzes