Fork of task9_question1
✓ Published0🌍 Public
This pie chart visualizes the distribution of Netflix titles across genres using data loaded from a remote CSV file. The chart slices are colored with D3’s `schemeCategory10` and labeled with each genre’s percentage, which is calculated from the arc’s angular span. A legend with color swatches identifies each genre. The example demonstrates key D3 v7 APIs, including `d3.rollup` for aggregation, `d3.pie` for arc generation, and `d3.arc` for path rendering, all output as SVG.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed