Skip to main content
100%

Fork of Activity7_Task1

✓ Published0🌍 Public
Ssaimanvith22@gmail.com
Last edited Nov 4, 2024
Created on Nov 4, 2024
Forked from Activity7_Tutorial

This D3.js (v6) SVG pie chart visualizes species distribution from a CSV file fetched from a GitHub repository. The pie chart displays each species as a colored slice with a text label at its centroid, using a custom ordinal color scale. A legend is also rendered, mapping species names to their corresponding colors. The chart is constructed using `d3.csv`, `d3.scaleOrdinal`, `d3.pie`, and `d3.arc`, with slices and legend elements appended via `d3.select` and the `.join` operator for data-driven rendering.

AI-generated description

A demonstration of pie

MIT Licensed

Similar vizzes