Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Assignment 2

Public visualization

Assignment 2

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

This pie chart shows the proportional consumption of different beverages. Each slice is labeled with the beverage name, and the chart is rendered using SVG within a D3.js framework. The visualization fetches data from a remote GitHub gist, parses it using `d3.csvParse`, and computes the pie geometry with `d3.pie` and `d3.arc` APIs. Slice colors come from the `d3.scaleOrdinal` color scale based on the beverage category.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed