This is a practice project using ChatGPT to generate Python code for visualizing protest-related incidents on an interactive map.
- Loads data from a Google Sheet
- Displays each incident on a Folium map
- Uses custom icons and colors by incident type
- Includes popups, a header, a legend, a logo, and a footer
- Saves the map as
incident_map.html
- Open
map code.ipynbin Google Colab - Replace Google Sheet link & run all cells
- Download the generated HTML map
prompts.md— Prompts used in ChatGPTmap code.ipynb— Colab notebookincident_map.html— export result