Skip to main content
100%

Fork of Reusable Scatter plot Activity 8

✓ Published0🌍 Public
Ssravya.mundluru@gmail.com
Last edited Mar 27, 2025
Created on Mar 27, 2025

This example visualizes the Iris dataset with two SVG charts: a pie chart showing species distribution and an area chart tracking petal length across sample IDs. The pie chart uses `d3.pie()` and `d3.arc()` with an ordinal color scale, while the area chart employs `d3.area()` with a monotone curve and linear scales for axes. Data is loaded asynchronously via `d3.text()` from a CSV file hosted on GitHub, then parsed and aggregated using `d3.rollups`. Both charts include custom legends, axis labels, and tooltips-style text annotations, rendered entirely with D3 v6.7.0.

AI-generated description
MIT Licensed

Similar vizzes