This data visualization project shows the top countries and diplomatic relations mentioned by Donald Trump in his presidential term from 2017 to 2020. The related data are from his Twitter, speech transcripts and the State of the Union Address.
All processes are finished by Python. There is no third-party data platform involved.
-
Install Python 3.11.
-
Install all dependencies.
pip install -r requirements.txt
python main.py
The project contains three .csv
datasets, all coming from Kaggle. They are in the data/origin
directory.
-
This contains Donald Trump's tweets from 2009 to 2020.
-
This contains all official presidential speeches of the United States from 1789 to 2019.
-
The State of the Union Address
This contains the State of the Union Address of the United States from 1790 to 2019.
The statistics are represented by three charts. All charts are in the data/visualize
directory.
See docs/wiki.md
for the details.
Distributed under the MIT License. See LICENSE
for more information.