🌍 Public
Viewing a saved revision (read-only)
56d2fe4c672045d68bab9d35f78fd62a
Fork of Hello VizHub
This pie chart visualizes the distribution of Netflix titles by genre, with data loaded from a remote CSV file. The chart uses D3 v7’s `d3.pie` and `d3.arc` to generate slices, while `d3.scaleOrdinal` with `d3.schemeCategory10` assigns colors. Each slice displays its genre label and count directly on the chart via SVG text elements, and a legend on the right maps colors to genres. The visualization is rendered as an SVG inside an HTML page.
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.