Skip to main content
100%

Fork of Fork of PIE CHART

✓ Published1🌍 Public
Vvemuri.vaishnavi27@gmail.com
Last edited Apr 1, 2025
Created on Apr 1, 2025

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
MIT Licensed

Similar vizzes