Data at Depth

Data at Depth

Python Plotly and GPT-4: Engineering Beautiful Maps for Kicks

A modular prompting approach to maximize Python Plotly coding productivity

John Loewen's avatar
John Loewen
May 22, 2024
∙ Paid

Modular prompt engineering with GPT-4 for Python code generation is highly efficient method for generating complex data visualization code, such as choropleth maps.

This approach saves time, effort, and reduces the complexity traditionally associated with crafting such maps. It’s so easy, you can do it just for fun!

Data at Depth is a reader-supported pub…

Keep reading with a 7-day free trial

Subscribe to Data at Depth to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2025 John Loewen · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture