Showcasing Soaring Wildfire Counts With Streamlit and Python: A Powerful Approach | by John Loewen, PhD | Jan, 2025


Analyzing historical wildfire trends in Canada with public data

Towards Data Science
CL-415 In Action (in Italy). Image By Maarten Visser — Wikimedia commons

Python Streamlit is terrific for creating interactive maps from a GIS dataset.

Interactive maps that allow input from your audience can be used for deeper analysis and storytelling.

Python Streamlit is the right tool for the job. It can be used alongside the pandas for easy data frame creation and manipulation.

Let’s test this out with a deep and detailed dataset on a very prescient issue — the seeming escalation of wildfires. There is a terrific public wildfires dataset available on the site managed by Natural Resources Canada.

With this detailed dataset let’s take a modular approach to our data analysis and create:

  • A static map that shows all forest fires in Canada for a period of time (ie. a particular year).
  • An interactive map that allows the user to select a shorter period of time (ie. a dropdown menu by year) to view more granular data.
  • A bar chart that shows more granularity —the number of fires at a provincial level.

Recent Articles

Related Stories

Leave A Reply

Please enter your comment!
Please enter your name here