block by micahstubbs b8a3f5a6d05760ec688b157151e13fd5

us-budget-sankey

Full Screen

US Federal Budget Balance, 1968-2017

Remaining goals for this piece:

1) animated transitions between years
2) line or bar chart below which will show a time series of the budget item selected by the user by clicking on the sankey
3) adjust discretionary/mandatory arrangement so the net interest link doesnt overlap

a visualization by MasonChinkin, posted together as a #d3js learning exercise on night after a d3 meetup

see the example in webpage form as well at
https://masonchinkin.github.io/us-budget-sankey.html#portfolio

index.html

d3-selection-multi.js

d3-selection-multi.min.js

d3-simple-slider.min.js

main.js

sankey.js

us-budget-sankey-deficit.csv

us-budget-sankey.js

util.js