question1
✓ Published0🌍 Public
A pie chart displays the distribution of film genres from a Movie-Rating CSV dataset, with each genre’s count calculated via `d3.rollup` and rendered using the `d3.pie` and `d3.arc` generators. An ordinal `d3.scaleOrdinal` with `d3.schemeCategory10` colors the arcs, and labels are positioned using `arc.centroid`. A legend is appended manually, while the SVG is sized at 960 by 500 pixels using D3 v7.
AI-generated descriptionA demonstration of reusable scatter plot.
MIT Licensed