Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fitness Data Pie Chart

Public visualization

Viewing a saved revision (read-only)

7ee6270cdd514cab89b662f5a4ee4bc3

Fitness Data Pie Chart

0 stars0🌍 Public
Ssanthoshdachepally333@gmail.com
Last edited Apr 2, 2025
Created on Apr 2, 2025
Forked from Piechart ICE7

This pie chart visualizes the distribution of fitness goals from a cleaned CSV dataset, with each slice labeled directly on the chart and accompanied by a color-coded legend. The chart is rendered using D3.js v7 in an SVG container, with the data aggregated via `d3.rollup` to count occurrences per goal. The visualization employs `d3.pie` and `d3.arc` for the layout and shape generation, while `d3.scaleOrdinal` with `schemeCategory10` assigns slice colors. A gradient background and translucent chart container provide stylistic contrast, and the data is fetched asynchronously from a GitHub gist URL.

AI-generated description