Daily Python Projects

Daily Python Projects

Share this post

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

Map of US T-Intersection Car Accidents with Python

Level: Real-World

May 06, 2024
∙ Paid
3

Share this post

Daily Python Projects
Daily Python Projects
Map of US T-Intersection Car Accidents with Python
Copy link
Facebook
Email
Notes
More
3
Share

Project Brief

Let’s start the week by using Python to create a map of all car accidents that occurred at T-intersections across the US in 2022. You are recommended to use the Folium library for this. With Folium you can build interactive web-based maps.

Expected Output

Your program should generate an HTML file. The HTML file should show the following interactive map when opened in a browser:

As you can see, we have used clustering here due to having too many points to display all at once. Each blue marker represents the location of an accident. When the user clicks a marker, information about the accident pops up. This information is taken from the MAN_COLLNAME column in the data.

You can download the data by clicking here:

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