Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Reusable Scatter plot Activity 8

Public visualization

Viewing a saved revision (read-only)

22e0925ae9ee4f90a0a61ad26c321630

Fork of Reusable Scatter plot Activity 8

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