Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

question-1 Pie Chart

Public visualization

question-1 Pie Chart

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

This pie chart visualizes the distribution of animal species by leg length and width, with each slice representing a category and its proportional value. The chart reads CSV data from a GitHub repository and renders slices as SVG paths using `d3.pie()` and `d3.arc()`, with colors assigned via `scaleOrdinal`. Labels and a legend are generated with D3 selections, and the chart updates responsively to the window size. The reusable `pieChart` module sets width, height, data, and value accessor through a fluent interface.

AI-generated description

A demonstration of reusable scatter plot.

Comments

Sign in to join the discussion.

MIT Licensed