DV ASSIGNMENT-2
✓ Published0🌍 Public
This interactive pie chart visualizes the distribution of wine quality ratings from a CSV file fetched via a GitHub Gist URL. The visualization uses `d3.pie()` and `d3.arc()` to generate the chart, with an ordinal color scale (`d3.scaleOrdinal`) and `d3.schemeCategory10` for segment colors. Quality counts are aggregated using `d3.rollup`, and each arc is labeled with its quality value. A legend below the chart maps colors to quality categories. The SVG canvas is sized at 960x500, with text labels positioned using arc centroids. The code also includes a reusable scatter plot module, though only the pie chart is rendered.
AI-generated descriptionA demonstration of reusable scatter plot.
MIT Licensed