Life Expectancy and GDP Project Feedback (Python 3)

Hey there, here’s my go at the project. It took me a few days to get my code and visuals how I wanted them.
This was a good exercise for me in getting experience with labels, axes, legends, and a single function to handle multiple tasks.
The question I was investigating is whether GDP and Life Expectancy are indeed correlated, and if so, how strongly. Included in the repositories are the graphs produced, the output of the code, and an analysis I wrote up.
(I decided to present this on Repl, because I don’t care much for Jupyter Notebook)

Github link:
Repl link:

I appreciate the feedback!