Skip to main content
100%

Fork of Reusable Scatter plot Activity 8

✓ Published0🌍 Public
SSupriya Ravilla
Last edited Apr 9, 2024
Created on Apr 9, 2024

This example presents a reusable pie chart module built with D3.js. It shows species count data as a circular chart with colored slices, tooltips on each arc, and a legend with color swatches. The visualization uses the D3 `pie()` and `arc()` generators to compute and draw the arcs, and centers labels within each slice using `arcGenerator.centroid`. The chart’s dimensions and dataset are configurable through the module’s width, height, and data accessor methods.

AI-generated description

A demonstration of reusable scatter plot.

MIT Licensed

Similar vizzes