This visualization is one of a series of visualizations that present US household spending data from the US Bureau of Labor Statistics. This one looks at the age of the primary resident.
This visualization focuses on the age of the primary resident. This is defined in the BLS documentation as the person who is first mentioned when the survey respondent is asked who in the household rents or owns the home.
I obtained data from the US Bureau of Labor Statistics (BLS), based upon a survey of consumer households and their spending habits. This data breaks down spending and income into many categories that are aggregated and plotted in a Sankey graph.
One of the key factors in financial health of an individual or household is making sure that household spending is equal to or below household income. If your spending is higher than income, you will be drawing down your savings (if you have any) or borrowing money. If your spending is lower than your income, you will presumably be saving money which can provide flexibility in the future, fund your retirement (maybe even early) and generally give you peace of mind.
Instructions:
As stated before, one of the keys to financial security is spending less than your income. We can see that on average, income tends to increase with the household primary age up to the 45-54 group, then declines from there.
The youngest group (under 25) tends to borrow or draw down on savings to live their lifestyle, while the same is true of the over 75 age group. This is probably because seniors tend to draw down savings that were built up specifically for this purpose, and college students borrow to go to school. Social security also makes up a big portion of income for the older age groups.
How does your overall spending compare with those in your income group? How about spending in individual categories like housing, vehicles, food, clothing, etc…?
Probably one of the best things you can do from a financial perspective is to go through your spending and understand where your money is going. These sankey diagrams are one way to do it and see it visually, but of course, you can just make a table or pie chart or whatever.
The main thing is to understand where your money is going. Once you’ve done this you can be more conscious of what you are spending your money on, and then decide if you are spending too much (or too little) in certain categories. Having context of what other people spend money on is helpful as well, and why it is useful to compare to these averages, even though the income level, regional cost of living, and household composition won’t look exactly the same as your household.
Here is more information about the Consumer Expenditure Surveys from the BLS website:
The Consumer Expenditure Surveys (CE) collect information from the US households and families on their spending habits (expenditures), income, and household characteristics. The strength of the surveys is that it allows data users to relate the expenditures and income of consumers to the characteristics of those consumers. The surveys consist of two components, a quarterly Interview Survey and a weekly Diary Survey, each with its own questionnaire and sample.
Data and Tools:
Data on consumer spending was obtained from the BLS Consumer Expenditure Surveys, and aggregation and calculations were done using javascript and code modified from the Sankeymatic plotting website. I aggregated many of the survey output categories so as to make the graph legible, otherwise there’d be 4x as many spending categories and all very small and difficult to read.
California is one of the world’s largest economies (as measured by gross domestic product), currently ranking 5th in the world (if it were judged as it’s own country). This map divides the rest of the US economy into 6 more or less equal parts (each the size of California’s) and they are all within about 10% of each other.
Instructions:
You can hover over a state with your cursor to get more information about the GDP of that state and the group of states that equal California’s economy.
Gross domestic product is a measurement of the size of a region’s economy. It is the sum of gross value added from all entities in the region or state. It measures the monetary value of the goods produced and services provided in a year.
The main sectors of the California economy are agriculture, technology, tourism, media (movies and TV) and trade. Some of the world’s largest and most famous companies contribute to the California economy, like Apple, Google, Facebook, Disney, and Chevron.
Data and Tools:
Data for state level GDP is obtained from Wikipedia for the year 2017. The map data is processed in javascript and then plotted using the leaflet.js mapping library.
This visualization is one of a series of visualizations that present US household spending data from the US Bureau of Labor Statistics. This one looks at the income of the household.
One of the key factors in financial health of an individual or household is making sure that household spending is equal to or below household income. If your spending is higher than income, you will be drawing down your savings (if you have any) or borrowing money. If your spending is lower than your income, you will presumably be saving money which can provide flexibility in the future, fund your retirement (maybe even early) and generally give you peace of mind.
I obtained data from the US Bureau of Labor Statistics (BLS), based upon a survey of consumer households and their spending habits. This data breaks down spending and income into many categories that are aggregated and plotted in a Sankey graph.
Instructions:
As stated before, one of the keys to financial security is spending less than your income. We can see that on average, those in the lowest quintiles may be borrowing or drawing down on savings to live their lifestyle, while those in the highest quintiles are saving money and contributing to wealth. This fairly high level of borrowing/drawing on savings from the lowest quintile households may be deceptive because it includes seniors who are drawing down savings that were built up specifically for this purpose, and college students who are borrowing to go to school. These groups generally don’t have significant incomes.
How does your overall spending compare with those in your income group? How about spending in individual categories like housing, vehicles, food, clothing, etc…?
Probably one of the best things you can do from a financial perspective is to go through your spending and understand where your money is going. These sankey diagrams are one way to do it and see it visually, but of course, you can just make a table or pie chart or whatever.
The main thing is to understand where your money is going. Once you’ve done this you can be more conscious of what you are spending your money on, and then decide if you are spending too much (or too little) in certain categories. Having context of what other people spend money on is helpful as well, and why it is useful to compare to these averages, even though the income level, regional cost of living, and household composition won’t look exactly the same as your household.
Here is more information about the Consumer Expenditure Surveys from the BLS website:
The Consumer Expenditure Surveys (CE) collect information from the US households and families on their spending habits (expenditures), income, and household characteristics. The strength of the surveys is that it allows data users to relate the expenditures and income of consumers to the characteristics of those consumers. The surveys consist of two components, a quarterly Interview Survey and a weekly Diary Survey, each with its own questionnaire and sample.
Data and Tools:
Data on consumer spending was obtained from the BLS Consumer Expenditure Surveys, and aggregation and calculations were done using javascript and code modified from the Sankeymatic plotting website. I aggregated many of the survey output categories so as to make the graph legible, otherwise there’d be 4x as many spending categories and all very small and difficult to read.
This updated visualization is a detailed look at the breakdown how taxes are applied to your income across each of the tax brackets. The previous version of this visualization was a Sankey graph and this new version combines the sankey view with a mekko (or marimekko) graph view. It should help you to better understand marginal and average tax rates. This tool only looks at US Federal Income taxes and ignores state, local and Social Security/Medicare taxes.
Both the sankey and mekko graphs help you easily the size each of these tax brackets and the fraction of income in that bracket that you can keep and the fraction going to taxes. Also shown is the split of the regular income vs capital gains and how capital gains is “stacked” on top of the regular income.
The mekko graph is a stacked horizontal bar graph where the height of each bar is proportional to the size of the tax bracket and the bar is split into two parts: a keep and a tax portion. This makes it clear the progressive nature of the tax code, initial tax brackets are taxed at the lowest amounts and as you fill up more tax brackets, the tax rate, and the amount of money you must give to the government, increases.
As seen with the marginal rates graph, there is a big difference in how regular income and capital gains are taxed. Capital gains are taxed at a lower rate and generally have larger bracket sizes. Generally, wealthier households earn a greater fraction of their income from capital gains and as a result of the lower tax rates on capital gains, these household pay a lower effective tax rate than those making an order of magnitude less in overall income.
Also shown is a summary bar graph that shows the split in your total income into a part that you keep and the other that owed to taxes, i.e. your average tax rate.
This is a written description of how to apply marginal tax rates. The income you have is split across various tax brackets, which by analogy can be thought of as buckets where once you fill one up, the additional money goes into another bucket, until that is filled up and so on until all your income is distributed across these brackets. The last brackets are open-ended so they are of infinite size.
You start with your deductions which changes based on your filing status, age and if you have itemized deductions. You fill this up first and you can think of this as the 0% tax bracket. Then any additional income goes into the 10% bracket where 10% of this income goes to taxes. This proceeds then onto the 12%, 22% and so on brackets.
The default example is described here for tax year 2025
This table lets you choose to view the thresholds for each income and capital gains tax bracket for the last few years. You can see that tax rates are much lower for capital gains in the table below than for regular income.
Data and Tools:
Tax brackets and rates were obtained from the IRS website and calculations were made using javascript, CSS and HTML. The sankey graph was made using code modified from the Sankeymatic plotting website and the mekko graph was made using the Plotly javascript open source library.
There is a fair amount of confusion about what a marginal tax rate is and how it affects how much tax you would owe the government on a certain amount of income. These graphs are here to help you better understand the difference between a marginal and average tax rate and to easily calculate these rates for specific examples in the US context. This tool only looks at US Federal Income taxes and ignores state, local and Social Security/Medicare taxes.
Marginal tax rates are the rate at which an additional dollar of income will be taxed at. There are different tax brackets (each with its own marginal rate) depending on which dollar of income you are looking at. This is very different from the Average (or effective) tax rate that is the result of applying these marginal tax rates across all of your income.
Instructions for using the visual tax calculator:
Here are two tables that lists the marginal tax brackets in the United States in 2019 that form the basis of the calculations in the calculator. 2018’s numbers are pretty similar.
Rate | Single Taxable Income Over |
Married Filing Joint Taxable Income Over |
Heads of Households Taxable Income Over |
---|---|---|---|
10% | $0 | $0 | $0 |
12% | $9,700 | $19,400 | $13,850 |
22% | $39,475 | $78,950 | $52,850 |
24% | $84,200 | $168,400 | $84,200 |
32% | $160,725 | $321,450 | $160,700 |
35% | $204,100 | $408,200 | $204,100 |
37% | $510,300 | $612,350 | $510,300 |
You can see that tax rates are much lower for capital gains in the table below than for regular income (table above).
Single Capital Gains Over |
Married Filing Jointly Capital Gains Over |
Heads of Households Capital Gains Over |
|
---|---|---|---|
0% | $0 | $0 | $0 |
15% | $39,375 | $78,750 | $52,750 |
20% | $434,550 | $488,850 | $461,700 |
For those not visually inclined, here is a written description of how to apply marginal tax rates. The first thing to note is that the income shown here in the graphs is taxable income, which simply speaking is your gross income with deductions removed. The standard deduction for 2019 range from $12,200 for Single filers to $24,400 for Married filers.
Data and Tools:
Tax brackets and rates were obtained from the IRS website and calculations were made using javascript and plotted using the plot.ly open source javascript plotting library.
This visualization looks at the staggeringly high energy use of Bitcoin and puts it into context: comparing it to electricity usage of US states. Unfortunately for Bitcoin, high energy usage is an intended feature of the system, rather than an unintended consequence. This is because mining is an increasingly energy intensive process, based upon increasingly computationally intensive calculations that are performed on high powered computers and graphical processing units.
Currently, 28 out of 50 states plus the District of Columbia all have lower electricity consumption than estimated annual bitcoin electricity consumption (~73 TWh per year). These states are highlighted in variations of yellow. This is approximately equal to the average annual electricity usage across all US States. States with higher electricity consumption than bitcoin are highlighted in shades of red.
When dividing the total energy use (73 TWh) by the current number of transactions (93 million), we get an average energy consumption of 783 kWh per transaction. Click on the “Energy per Transaction” button to see this visualization. What’s crazy is that a transaction is simply a transfer of bitcoin between “wallets”, recording the transaction, and a validation of the process. There’s no good reason why verifying digital transactions should take this much energy, except that it was built into the fundamental process of validating and mining bitcoin. 783 kWh is larger than the monthly per capita electricity consumption in 10 US states. It could also drive you and your family over 2000 miles in an electric car (e.g. Tesla Model S).
I’m not expert enough in this area to know how much more energy consumption will rise into the future, but if crypto advocates’ predictions come true and bitcoin is used extensively, millions of transactions will occur per hour instead of per year and the price of bitcoin may rise much higher than it currently is. If the price rises, then miners will be willing to expend more energy to “mine” the more valuable bitcoin. Needless to say, this sounds like a very bad idea from an energy consumption and sustainability standpoint.
Data and Tools:
State energy data comes from the US Department of Energy. Estimates of Bitcoin energy use come from Digiconomist’s Bitcoin Energy Consumption Index. The choropleth map is visualized using javascript and the Leaflet.js library with Open Street Map tiles.
Recent Comments