Skip to main content
100%

Assignment 2 Question1

✓ Published0🌍 Public
Mmeghna.reddy700@gmail.com
Last edited Apr 10, 2024
Created on Apr 10, 2024

This pie chart visualizes genre distribution from survey data, showing the proportion of responses in the "Less than 3" category. The code loads CSV data from a GitHub repository and uses d3.pie and d3.arc to generate SVG path segments, with d3.scaleOrdinal assigning colors to genres. Interactive hover tooltips appear via appended title elements, and the chart includes a legend and percentage labels positioned at arc centroids. The visualization renders as a static SVG with D3 v7, totaling 600×600 pixels.

AI-generated description

A demonstration of pie chart

MIT Licensed

Similar vizzes