Skip to main content
100%

assignment-2 fork

✓ Published2🌍 Public
GGanesh Raju Yadav
Last edited Apr 12, 2024
Created on Apr 12, 2024
Forked from Activity7question1

This static pie chart shows the distribution of fruit quantities. The visualization is rendered as an SVG, with each slice labeled by its corresponding fruit name. The code loads data from a CSV file hosted on a GitHub gist using `d3.csv`. It employs `d3.pie` to compute the arc segments, `d3.arc` for the path geometry, and `d3.scaleOrdinal` with `d3.schemeCategory10` for coloring. The chart is centered within a 600x400 SVG canvas, with a title placed above the plot.

AI-generated description
MIT Licensed

Similar vizzes