🌍 Public
Viewing a saved revision (read-only)
00a52443577648ecb2817444135755e1
Fork of Fork of PIE CHART
This example visualizes the distribution of fixed acidity in a wine quality dataset, categorizing values into low, medium, and high ranges. It uses a pie chart with labeled slices and a color-coded legend to show the relative counts in each category. Built with D3 v7, the code loads CSV data via `d3.csv`, processes it with array methods, and generates the chart using `d3.pie` and `d3.arc` for the slices, while `d3.scaleOrdinal` assigns slice colors. The visualization renders as SVG.
AI-generated description