Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Activity 7-pie

Public visualization

Viewing a saved revision (read-only)

b8ce46360c8745a58271b50aac2bf2e6

Fork of Activity 7-pie

0 stars2🌍 Public
Aanjalimadhavi98@gmail.com
Last edited Nov 5, 2024
Created on Oct 30, 2024
Forked from Activity 7

This example visualizes the distribution of penguin species as a pie chart, showing the counts for Adelie, Gentoo, and Chinstrap penguins. The chart is rendered as an SVG, with each slice colored by species and labeled with its count. It uses the d3 pie and arc generators to compute slice geometry and the scaleOrdinal function for color assignment. Data is loaded from a remote CSV file containing penguin measurements, and the visualization includes a title and a legend.

AI-generated description

A demonstration of reusable scatter plot.