Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of PIE CHART

Public visualization

Viewing a saved revision (read-only)

00a52443577648ecb2817444135755e1

Fork of Fork of PIE CHART

0 stars1🌍 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