Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity7

Public visualization

Viewing a saved revision (read-only)

6622f8d1692a4e9e80a280c80993b412

Activity7

0 stars0🌍 Public
Aaschowdary.shashi@gmail.com
Last edited Nov 7, 2024
Created on Nov 7, 2024
Forked from Hello VizHub

This visualization presents a pie chart illustrating the proportional distribution of fruit categories, with each slice labeled by its category name. The chart loads a CSV dataset from a GitHub repository, parsing the numeric values to generate the pie geometry. Using D3.js v7, the code defines the chart dimensions, creates an SVG container, and applies an ordinal color scheme for slice differentiation. A custom legend is appended to the page, using HTML divs to display each fruit category with its corresponding percentage value.

AI-generated description