Live data from Hacker News

US Budget Visualization Using d3

solomonkahn.com

1–10 of 53 posts

Re: US Budget Visualization Using d3

#2
This visualized well enough the difference in sectors for the same year but not the difference between years. Might be nice that selecting one section will show a line graph indicating the change over the years for that sector.

Re: US Budget Visualization Using d3

#3

This visualized well enough the difference in sectors for the same year but not the difference between years. Might be nice that selecting one section will show a line graph indicating the change over the years for that sector.

this is exactly how the visualization works! If you click on any cell, it shows you how that has changed over time. If you double click, you can see more details about whatever you clicked on.

For example, if you double click on the department of Justice, you can see it is made up of X billion of the FBI, X billion of the department of prisons, etc...

Re: US Budget Visualization Using d3

#4
Why does it resort and regrow all the blocks when you switch between years or other settings? If the same blocks simply grew or shrunk, it would be a lot easier to follow the difference.

Actually, it sometimes simply converts blocks into others - switching between 2012 and 2013, the "Justice" block morphs into the "National Infrastructure Bank" block. Very confusing.

Re: US Budget Visualization Using d3

#8
post #4

Why does it resort and regrow all the blocks when you switch between years or other settings? If the same blocks simply grew or shrunk, it would be a lot easier to follow the difference. Actually, it sometimes simply converts blocks into others - switching between 2012 and 2013, the "Justice" block morphs into the "National Infrastructure Bank" block. Very confusing.

this is because some blocks are added and removed from year to year. In this type of visualization, it's impossible to keep things the same size and position while also changing the amounts.

The best way to use this isn't to switch between years. If you click on any cell, you can see a graph of how that changes over time. If you double click on any of the cells, you can see a new visualization of everything that makes up that cell. For example, double clicking on the department of justice will show you it is made up of X billion from the department of prisons and X billion from the FBI.

Re: US Budget Visualization Using d3

#9
Please correct me, but there seems to be something wrong. Look at the 2013 budget, "Per Capita", and "Inflation Adjusted". Those numbers should essentially be the same as "Plain Dollars", which is multiples larger.

Re: US Budget Visualization Using d3

#10

Actually, the US budget is not at all inaccessible ... this is one in among thousands of budget visualizations that are done every year for all sorts of publications. It is nice, doesn't need the hype.

Are there any other ones that let you explore what makes up the agencies and departments? I was looking but couldn't find any that let you explore beyond the high level amounts.
Post reply on HN