Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Kvanto - pie v2

Public visualization

Viewing a saved revision (read-only)

d8a121a6eba740268bc770ba8a3d95dd

Fork of Kvanto - pie v2

0 stars1🌍 Public
Llarsboergo
Last edited Mar 30, 2021
Created on Feb 28, 2021
Forked from Kvanto - pie

This example shows an interactive pie chart visualizing transaction data grouped by card method (VISA, MASTERCARD, VISAELECTRON) and status, with data loaded from a remote API. The chart renders as SVG paths using `d3.pie` and `d3.arc`, with a donut layout and labels connected via polylines. The code uses `d3.rollup` and `d3.group` to aggregate transaction counts, and transitions animate arc updates and label repositioning via `transition.attr`. A spectral color scale maps categories, and clickable labels are appended for potential interactivity.

AI-generated description