Skip to main content
100%

question-1 Pie Chart

✓ Published0🌍 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.

MIT Licensed

Similar vizzes