Assignment 2 Question1
✓ Published2🌍 Public
This pie chart displays the distribution of survey responses about how many hours people spend on an activity, with the data segmented by genre and labeled with exact values. The chart renders as SVG using D3 v7, with `d3.pie` and `d3.arc` generating the slices from CSV data loaded via `d3.csv`. A color scale maps each genre to a distinct fill, while arc labels show the response values and a legend identifies the genre categories. The visualization loads data from a GitHub-hosted CSV and calculates the pie geometry from the numeric "Less than 3" column.
AI-generated descriptionA demonstration of pie chart
MIT Licensed