TASK-9&10
✓ Published0🌍 Public
This D3.js v7 pie chart visualizes the distribution of genres based on the "below 5.0" column from a CSV file hosted on GitHub. A static SVG chart is generated using `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` with a category color scheme, depicting each genre as a colored segment. A custom HTML legend, built via `d3.select` and `append`, displays the genre names alongside matching color swatches, with the chart and legend appearing side-by-side within a centered container. The visualization highlights data proportions, using white stroke and a 2-pixel outline to separate the segments.
AI-generated descriptionMIT Licensed