🌍 Public
Viewing a saved revision (read-only)
29fe6c23b7b04b4bbc20b2b6c3664409
ASS2_1
This pie chart visualizes the distribution of person types from a CSV dataset. It displays the count of each category as proportional slices, with text labels on each segment and a color-coded legend alongside the chart. The visualization is built using D3.js v7, employing the `d3.pie` layout, `d3.arc` for slice paths, and a group-based SVG rendering approach. A categorical color scale (`d3.scaleOrdinal`) maps person types to colors from the `d3.schemeCategory10` palette, and the data is loaded remotely via `d3.csv`.
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.