π Public
Fork of 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 descriptionA demonstration of reusable scatter plot.
MIT Licensed
Comments
Sign in to join the discussion.