top of page

Data Visualization Course Now Available

Data Download: National Debt of the USA as Percentage of GDP

Have you ever wondered what the influence of a crisis is on the government debt of a country? In this video we explore how WWI, WWII, and the coronavirus pandemic influenced the government debt of the USA as a percentage of GDP from 1900 to December 2021.

Tools: python, pandas, tkinter

Data sources:

Pre 1966: IMF (

Post 1966: U.S. Office of Management and Budget and Federal Reserve Bank of St. Louis, Federal Debt: Total Public Debt as Percent of Gross Domestic Product [GFDEGDQ188S], retrieved from FRED, Federal Reserve Bank of St. Louis;, April 14, 2022.

Collected data and formatted data:

Formatted data download:

Download XLSX • 391KB

162 views0 comments

Recent Posts

See All


bottom of page