Pie Chart

Is it possible to output a pie chart using Streamlit ?

regards
Louis Koh

Hi @lk1, welcome to the Streamlit community!

Any of the plotting libraries that Streamlit supports (matplotlib, seaborn, plotly, bokeh) should all have the ability to create pie charts, which will then be able to be displayed in Streamlit.

thanks ! Using the plotly libraries opens are a wide range of option.

Is it possible to make the plotly chart and also st.table fill the whole screen instead of just the centre ?

Hey @lk1,
I don’t know if this is an open question, so let me give you the answer just in case. You can control the size with the parameter. So what you want is:

st.set_page_config(layout="wide")

Note: this line has to run first before any other st.
Cheers
Chris