Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Assignment 7 - Q2

Public visualization

Viewing a saved revision (read-only)

86a596f3ef244507b190d4c603edbd85

Assignment 7 - Q2

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