Details, using numbers from FY16 US budget.
Includes state and local guesstimates.

Units: By default, values are displayed in billions of nominal dollars. By using a dropdown control in the table heading you can select millions of dollars, percent of GDP, percent of federal total, percent of overall total, dollars per capita of population, and thousand dollars per capita of population.

Fiscal Year: The default year displayed is the current US government fiscal year. But you can select any year you want using the dropdown control in the table heading. At the top and bottom of the dropdown only years ending in 0 are shown. Select a year to get close, then select the year you want. You can increase or decrease the year using the yr text links in the table heading.

US Budget Year: By default, the table displays budgeted and estimated numbers from the most recent US Federal Budget submitted to the Congress by the president. But you can look at numbers from other US Federal Budgets using this dropdown control.

State and Local Spending: By default, state and local spending are displayed separately. But you can select state'n local and display state and local spending combined.

US or State: By default, the table shows values for governments in the United States overall. But for years after 1991 you can select individual states by selecting the state dropdown control in the table heading or the text link right above it.

Pie Chart: Select a pie chart you wish to display. You can create a pie chart for federal, state and local, and overall spending/revenue.

Charts: Click on a to display a bar of data in a row or column of this table.Click on to display a time-series chart of data in a row.

[+] Drill-down: Click on the [+] to drill down to more detailed numbers. For federal spending line items (but not revenue) you can drill down three levels to view about 4,000 items of spending at the agency code level.

The table shows overall budgeted federal expenditures from the presidents budget
for major functions for the specified fiscal year.
Also included are estimates of state and local spending.

You can use controls on the table to change from display of nationwide spending data to individual states.
You can change the year or to drill down to view
more detailed spending information. You can also view the spending data as percent of
Gross Domestic Product (GDP).

Click the button at the right of each line of the table to display a bar chart of government spending.
Click a button at the base of each column for a bar chart or pie chart.
You can right click on the chart image to copy and paste it into your own content. Click
the image to close the chart display.

Intergovernmental Transfers:
The column labeled Gov. Xfer in the table represents monies paid by the federal government as
grants and aid to state and local governments. These are intergovernmental
transfers.

On February 3, 2015 the US Census Bureau released data on state finances for FY 2013 here, including spending and revenue for each individual state and for all states combined.

On February 3, 2015 we updated state and local spending and revenue data for FY2013 through FY2020 as follows:

We replaced "guesstimated" state spending and revenue data for FY2013 using the new FY2013 data from the Census Bureau.

We replaced "guesstimated" local spending and revenue data for FY 2013 with estimates for each spending and revenue category using the trends in state finances between FY 2012 and FY 2013.

We replaced "guesstimated" state revenue data for FY 2014 with data from the Census Bureau's quarterly state tax summary here.

We replaced "guesstimated" local revenue data for FY 2014 with estimates for each category using trends for each category of state revenue between FY 2013 and FY 2014.

We replaced "guesstimated" state and local spending and revenue for FY 2014 thru FY2020 with new guesstimates based on the latest Census Bureau data for FY 2013 state finances and FY 2014 quarterly tax data.

We expect the Census Bureau to release local spending and revenue data for FY 2013 not earlier than Summer 2015.