Skip to main content
100%

Assignment 7 - Q2

✓ Published1🌍 Public
AAKSHAY
Last edited Oct 26, 2025
Created on Oct 26, 2025
Forked from Assignment 7

This pie chart visualizes the distribution of wine quality ratings from a CSV dataset of white wines. The visualization shows the proportion of wines at each quality level, with slices labeled by their quality score and a custom legend displaying exact counts. The chart is rendered using D3 v7's modular APIs, including `d3.pie()` for slice generation, `d3.arc()` for path construction, and `d3.scaleOrdinal()` for categorical coloring. Data is loaded from a remote CSV file via `d3.csv()` and aggregated with `d3.rollup()` to count entries per quality group.

AI-generated description
MIT Licensed

Similar vizzes