Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Assignment 2 - Question-1

Public visualization

Viewing a saved revision (read-only)

ae3cc0bcda794ec1b1cd51fea4bee501

Assignment 2 - Question-1

0 stars0🌍 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