Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity7

Public visualization

Viewing a saved revision (read-only)

3aacf683ab434ccc9f71d03d44a7833b

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

A demonstration of reusable scatter plot.