Which Python Dashboard Is Better? Dash, Panel And Streamlit Showdown
Author(s): John Loewen, PhD
Originally published on Towards AI.
Prompting GPT-4 for multi-visual interactive dashboard creation
This member-only story is on us. Upgrade to access all of Medium.
As a comp sci professor, over the past year, I have heavily integrated GPT-4o into my data visual creation workflow.
Recently I have noticed that GPT-4 has improved in leaps and bounds with its ability to create Python code for multi-visual dashboards.
Has it also improved its skill in providing seamless dashboard creation for other Python dashboard libraries? Like Panel and Streamlit?
Letβs have a showdown and find out!
For this exercise, I will be using the downloaded file (saved as βhappiness_years02.csvβ), which includes data on global happiness metrics by country over several years (2015β2022).
It can be downloaded HERE.
To start with, we want to load the dataset with pandas, focusing on each country and the happiness score by year (2015β2022). To crystalize the view for GPT-4, we can ask GPT-4 to look at the dataset and tell us what it sees.
We can click the attachment icon in the GPT-4 main window and upload our dataset, then prompt GPT-4 for analysis:
This way, we can clarify any anomalies that may exist between GPT-4βs interpretation of the data vs. our interpretation.
GPT-4 Response:
Yep, this looks completely right. Weβre using a very simple dataset for the sake of… Read the full blog for free on Medium.
Join thousands of data leaders on the AI newsletter. Join over 80,000 subscribers and keep up to date with the latest developments in AI. From research to projects and ideas. If you are building an AI startup, an AI-related product, or a service, we invite you to consider becoming aΒ sponsor.
Published via Towards AI