Sankey Russian Government Spending
✓ Published0🌍 Public
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 descriptionReact Starter code.
MIT Licensed