This repository contains data, code, and dynamic visualizations of U.S. deficits over time by political party prevalence in both the White House and U.S. Congress. The data visualizations show deficits by party control of the U.S. Congress. All dynamic visualizations in this repository were created in the Python programming language using the Bokeh visualization library.
The "DeficitParty" name has a double meaning. First, this repository represents a coding party of deficit and debt dynamic data visualization. This should be a nice tutorial for using Bokeh to richly display data for description and exploration. The second and more literal significance of the repository name "DeficitParty" is that these visualizations show government debt held by the public and the deficit components that contributed to those debts by party control of the White House and U.S. Congress.
Each dynamic visualization in this repository is an HTML file that includes JavaScript code for the visualizations in the /images
folder. The HTML files with JavaScript visualization code were created by Python scripts and modules that used the Bokeh visualization library. These HTML file dynamic visualizations can be viewed in any web browser that renders HTML files.
To view these files, you can either download them directly from this repository or you can clone this repository to your local machine. Both of these options are available from the green "Code
" button near the upper-right side of the repository main page.
Give a description of each dynamic visualization in the images folder, what script generates it, and how to interpret it. Include a screen shot of the image.
Put description of data sources, particular data files in this repository, and how they are created here.
- cbo_debt_forecasts.csv
- cbo_ext_baseline_forecasts_mar21.xlsx
- congress_sess_dates.csv
- deficit_party_data.csv
- Mar21-Data-Underlying-Figures.xlsx
- recession_data.csv
If you wish to improve or enhance this code or if you find errors or bugs, please consider the following ways to contribute to this project.
- Browse the repository Issues for known areas that need attention.
- Submit questions or suggestions by submitting a new issue in the repository Issues.
- Submit a pull request with your proposed changes.
- Richard Evans (GitHub handle
@rickecon
)is the core maintainer of this repository, and Noah Diamond (GitHub handle@MrColdBeverage
) has provided excellent research assistance.
- asdf