Turbocharge with ChatGPT and Python: Interactive Maps In No Time Flat

Prompt engineering data visualizations with Python folium and dash

John Loewen, PhD
Data And Beyond

--

interactive map using dash and folium library — generated by ChatGPT

Data visualization tools in Python are notoriously nit-picky.

With generative AI at our fingertips, we can ask ChatGPT to streamline the process for us.

Now getting a chart or map to display in basic form from a ready-made dataset is not too complicated, but if you are working with different data types (ie. dates) and you want to provide filtering/sorting based on different data types, it can become pretty overwhelming.

Recently on LinkedIn, I viewed a static map that showed forest fires for a period of time for a particular region. A more useful representation is to provide the user/viewer with an interactive map — to let them choose the period of time to display. This would tell a better story.

Now, I have a few hours to kill, so help me out, generative AI (ChatGPT)!

Let’s have a chat and take this idea for a test drive!

The Problem

To start with, I have access to NASA’s global forest fire dataset (it’s public). I want to see the forest fires over time for the area of Canada that I am from — British Columbia. I want to create a map…

--

--

Data And Beyond
Data And Beyond

Published in Data And Beyond

Selected stories around Data Science, Machine Learning, Artificial Intelligence, Programming, and Technology topics. Writing guide: https://medium.com/data-and-beyond/how-to-write-for-data-and-beyond-b83ff0f3813e

John Loewen, PhD
John Loewen, PhD

Written by John Loewen, PhD

25x Boosted writer || 25 years Comp Sci prof || Writes about Data Science (Python/AI/dataviz) || More on my Substack: johnloewen.substack.com

Responses (1)