Using AI to Generate Data Analysis Code, and Plotly Themes in Streamlit
Everyone is talking about ChatGPT these days so I thought I’d give it a whirl and try it out for generating Data Analysis code in Python and draw some charts.
The tasks were not too difficult but ChatGPT did quite well. However, it seems that it knows more about Matplotlib than Plotly.
Data Analysis with ChatGPT
On a quite different topic, Streamlit has released its own Plotly theme but you still cannot use any of the built-in ones. Until now :-)
I created a Streamlit component (an easy thing to do) that plots Plotly charts and lets you use whatever theme you like.
How to Get All Plotly Themes in Streamlit
Did I mention that I have a new Streamlit Substack? I think I did. I’ll be putting new Streamlit stuff there in future. It’s here: Streamlit from Scratch.