Skip to main content
100%

Kvanto - pie v3

✓ Published1🌍 Public
Llarsboergo
Last edited Apr 9, 2021
Created on Mar 30, 2021

This animated donut chart visualizes payment transaction counts by card method and status, sourced from a live API endpoint at kvanto.com. The chart groups data by order ID, filters to approved and declined statuses, and aggregates counts via `d3.rollup`. Using `d3.pie` and `d3.arc`, it renders colored slices with labels and polylines, applying `d3.scaleOrdinal` with an interpolated spectral palette. Transitions animate updates smoothly through `transition.attrTween` and opacity changes, while `d3.group` structures the hierarchical data before rendering in SVG.

AI-generated description
MIT Licensed

Similar vizzes