Skip to main content
100%

Sankey Russian Government Spending

✓ Published0🌍 Public
Ttgma99
Last edited May 16, 2022
Created on May 16, 2022

This Sankey diagram visualizes Russian government spending flows, showing how total notifications distribute into matched and scrap categories before splitting into subcategories like XRM, Prodc, and PN OTD. Using D3.js version 3.5.17, the code implements a custom `d3.sankey` layout function with node and link rendering via SVG. The visualization assigns colors to nodes and uses curved paths for links, with hover effects increasing stroke opacity. Data comes from an embedded JSON array containing seven nodes and six links with numerical values.

AI-generated description

React Starter code.

MIT Licensed

Similar vizzes