Daily Python Projects

Daily Python Projects

Share this post

Daily Python Projects
Daily Python Projects
Website with Map of US T-Intersection Car Accidents with Python and Flask
Copy link
Facebook
Email
Notes
More

Website with Map of US T-Intersection Car Accidents with Python and Flask

Level: Real-World

May 07, 2024
∙ Paid
3

Share this post

Daily Python Projects
Daily Python Projects
Website with Map of US T-Intersection Car Accidents with Python and Flask
Copy link
Facebook
Email
Notes
More
4
Share

Project Brief

In yesterday’s project, we generated an HTML showing a map of vehicle accidents at T-intersections across the US in 2022. The problem with that HTML map is that you can’t easily share it with others since it is just an HTML file. That’s where Flask enters the game. Your task for this project is to create a website using Flask. The website should contain the map on the webpage.

Expected Output

The website should contain only one page and that page should contain the interactive map. Here is how the website should look like on the browser:

Step-by-Step Instructions

  1. To get you started easily, below you will find the code that generates the map HTML file. You should build the Flask backend to serve that HTML code on the webpage.

This post is for paid subscribers

Already a paid subscriber? Sign in
© 2025 Ardit Sulce
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share

Copy link
Facebook
Email
Notes
More