DV-q1
✓ Published0🌍 Public
This pie chart visualization displays the proportional distribution of music genres based on their representation in a column titled 'below 5.0' from a CSV file. The chart uses a color-coded segment for each genre, with a corresponding legend to the right. Built with D3.js v7, the visualization loads data via `d3.csv`, generates the pie layout with `d3.pie`, and renders the segments as SVG paths using `d3.arc`. A legend is constructed dynamically, with color swatches produced via `d3.schemeCategory10`. The accompanying SVG is created within a dedicated container using the `d3.select` API.
AI-generated descriptionMIT Licensed