Data at Depth

Data at Depth

Prompt Engineering & ChatGPT: Python Data Visualizations in Record Time

With prompt engineering, complex data visualization problems can be solved in minutes instead of hours.

John Loewen's avatar
John Loewen
Apr 14, 2023
∙ Paid
Share

With prompt engineering, complex data visualization problems can be solved in minutes instead of hours.

Here’s how.

Today, I am going to use prompt engineering with ChatGPT to create Python code to access multiple years of “Happiness” data (from the UN Happiness dataset), extract it, and create a map that displays the happiness score by country.

I am curio…

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