Skip to main content
100%

TASK-9&10

✓ Published0🌍 Public
Nnagabinduk2023@gmail.com
Last edited Apr 22, 2024
Created on Apr 22, 2024
Forked from TAK-9&10

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 description
MIT Licensed

Similar vizzes