Skip to main content
100%

Assignment 2 - Question-1

✓ Published0🌍 Public
Aarthireddykota@my.unt.edu
Last edited Apr 13, 2024
Created on Apr 13, 2024

This pie chart displays animal species data, with each slice labeled by its value in thousands and accompanied by a color-coded legend. The visualization uses d3.pie and d3.arc to generate the chart, with d3.scaleOrdinal mapping species names to a fixed palette. Data is loaded asynchronously from a CSV file via d3.csv. Text labels inside slices use arc.centroid for positioning, while legend entries are manually placed with SVG elements.

AI-generated description
MIT Licensed

Similar vizzes