Types of People watching the Netflix shows
✓ Published0🌍 Public
Three donut charts compare the proportion of Netflix viewers with deposits by marital status: divorced, married, and single. Each chart uses `d3.pie` and `d3.arc` to render donut segments, with `d3.nest` aggregating the CSV data by the `y` (deposit) variable. Color distinguishes deposit status, while labels show percentages and hover tooltips display exact counts using SVG and animated opacity transitions. The data is fetched via the Fetch API from a GitHub gist.
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