U.S. Presidential Polling Dashboard
Build a U.S. Presidential Polling Dashboard that scrapes the latest polls from FiveThirtyEight with BeautifulSoup and renders the data in a Flask Dashboard!
TECHNOLOGIES
- BeautifulSoup
- Flask
WATCH TIME
35 minutes
LEVEL
All
Overview
This project is a beginner-friendly dashboard that’s focused on building a Flask App that will parse FiveThirtyEight’s Presidential Polling data and render it for the user. We’ll learn how to use the Requests module in Python, write intermediate BeautifulSoup methods to scrape all the relevant data from the website and render the results in a beautiful Flask dashboard.
Project Tasks
Welcome to the project!
2 min
Parsing Key Results from Poll Data
Extracting the important information from the data we gathered.
11 min
Rendering our Results in Flask
After gathering and parsing presidential polling data, we are going to create our dashboard in Flask.
9 min
Beautifying our Dashboard with CSS
Making our dashboard more visually appealing and digestible.
6 min
Scraping our Polling Data
Getting the presidential polling data for our project from the FiveThirtyEight website.
9 min
Hey! I’m Avi, and I’ll teach you how to build!
I'm Avi, your new Python instructor and founder of The Codex. After watching hours of webcasted YouTube videos, enrolling in course after course, and struggling to stay motivated, I finally obtained the skills to bring my ideas to life.
COMMUNITY LOVE
Savvy Students ❤️ The Codex
The Codex has helped hundreds of students find jobs and build their dream projects.
“I saw my friends building dope projects at hackathons. My CS classes taught how to add items to a linked list, but not how to convert my ideas to actual applications. What started as a simple Python Weather dashboard on The Codex transformed into the Best DS/AI project at SunHacks.
Brandon Wang
UC Berkeley, 2024
Two-time hackathon winner