Task 9 Pie Chart
✓ Published3🌍 Public
This pie chart visualizes the top 10 records from a diabetes dataset, sorted by SkinThickness, with each slice labeled by Glucose level and its corresponding SkinThickness value on a white background. Built with D3.js v6, the visualization uses `d3.pie()` and `d3.arc()` to generate slices, a color scale for slice fills, and includes a legend with a custom color palette. Data is loaded asynchronously via `d3.csv` from a GitHub gist, and the chart is rendered as an SVG with centered labels on each arc.
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