Skip to main content
100%

Fitness Data Pie Chart

✓ Published0🌍 Public
Ssanthoshdachepally333@gmail.com
Last edited Apr 2, 2025
Created on Apr 2, 2025
Forked from ICE7 - Pie Chart

This pie chart displays the distribution of fitness goals from a CSV dataset, showing the percentage share of each goal category. The visualization uses D3.js (v7) to load the data, aggregate it with `d3.rollup`, and render the chart as SVG with `d3.pie` and `d3.arc`. A slice label shows the rounded percentage for each segment, while an ordinal color scale (`d3.schemeSet2`) and a custom legend identify the goals. The chart is centered within the SVG, with a white background and stroke separation between slices.

AI-generated description
MIT Licensed

Similar vizzes