Is it possible to output a pie chart using Streamlit ?
regards
Louis Koh
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
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.