Buckle Up For Beautiful Python Plotly Mapping With GPT-4 Prompting

On-the-fly interactive choropleth and bubble map code

John Loewen, PhD
Towards AI
Published in
8 min readApr 19, 2024

--

Dall-E image: impressionist painting of mapping global undernourishment

GPT-4 prompting for Python code generation has drastically expedited my coding workflow.

I use GPT-4 with interactive libraries like Plotly and Streamlit to generate interactive data visualizations.

--

--

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