Skip to main content
100%

Assignment 2

✓ Published0🌍 Public
Ddineshreddy.ravula@gmail.com
Last edited Apr 12, 2024
Created on Apr 12, 2024
Forked from assignment-2 fork

This pie chart displays beverage consumption quantities, with each slice labeled by the beverage type. Built with D3.js v7, it loads data from a remote CSV file using `d3.csv`. The visualization uses the `d3.pie()` layout generator and `d3.arc()` for the arc paths, rendered as SVG elements. Each slice is colored using `d3.scaleOrdinal` with the `d3.schemeCategory10` palette, and slice labels are positioned via the arc’s centroid calculation.

AI-generated description
MIT Licensed

Similar vizzes