Plotly is a charting library for Python, used for building interactive and animated data visualizations Streamlit supports Plotly through the st.plotly_chart() function.This function takes a Plotly figure object as input and renders it in the Streamlit app.You can create a variety of charts using Plotly, including line charts, bar charts, scatter plots, pie charts, and […]
Streamlit Line Chart
A line chart visualization component for Streamlitst.line_chart() is used to create simple line charts from data.It is a high-level API that abstracts away the complexities of chart creation.Streamlit uses Altair under the hood for rendering line charts.The line chart is interactive, allowing users to hover over points to see values.It is particularly useful for visualizing […]
Streamlit Caching
Streamlit runs your script from top to bottom whenever you interact with the app.This execution model makes development super easy. But it comes with two major challenges: 1. Long-running functions run again and again, which slows down your app.2. Objects get recreated again and again, which makes it hard to persist them across reruns or […]
Streamlit Map
st.map() is indeed used to visualize geospatial data on an interactive map.It plots points based on latitude and longitude coordinates.Streamlit internally uses PyDeck, which is built on Deck.gl (a WebGL-powered visualization framework).By default, Streamlit uses Mapbox tiles for rendering the background map Need a Streamlit Developer: Click Here Syntax: st.map(data=None, *, latitude=None, longitude=None, color=None, size=None, zoom=None, […]
Streamlit Write
This is the Swiss Army Knife of Streamlit commands.It does different things depending on what you throw at it. The st.write() function in Streamlit is a universal display function.It automatically detects the type of data we pass to it and renders it in the best possible format Need a Streamlit developer? Click Here Basic Syntax *args basically […]
Streamlit Emojis
Emojis have become a universal visual language.They are often utilized in applications and websites to:Design the UI to be inviting and captivating.Display status updates (✅, ❌, ⚠️)Deliver immediate visual feedbackImprove data dashboards 📊 Streamlit does not have a dedicated emoji widget; however, it permits the use of emojis in any text field. Headings and Titles Buttons and checkboxes Tables […]
Streamlit Text Area
st.text_area displays a multi-line text input widget It is used when we want users to enter large amounts of text such as feedback, descriptions , comments, e,t,cNeed a Streamlit developer? Click here Syntax st.text_area(label, value=””, height=None, max_chars=None, key=None, help=None, on_change=None, args=None, kwargs=None, *, placeholder=None, disabled=False, label_visibility=”visible”, width=”stretch”) Parameter Type Default Description label str Required The […]
Streamlit Bar chart
One of Streamlit powerful features is the ability to visualize data using charts.we would focus on Bar chart in this article. Need a Streamlit developer? Click Here Basic Bar Chart Streamlit provides a simple way to display bar chart using the st.bar_chartwe also have other ways using Altair, Ploty and matplotlib which we would look at […]
Streamlit File Uploader
Streamlit File Uploaderst.file_uploader is a Streamlit widget used for uploading files directly from your local system.It supports single upload or multiple file uploads. By default st.file_uploader uploaded files are limited to 200MB each.We can configure this using the server.maxUploadSize config option. Need a Streamlit developer? Click here Syntax st.file_uploader(label, type=None, accept_multiple_files=False, key=None, help=None, on_change=None, args=None, kwargs=None, […]
Streamlit Radio Button
A radio button is a Ui widget that let’s users select exactly one option from a list. Need a Streamlit developer? Click here To start we’re going to create a simple dataframe in python: Syntax location st.radio(label, options, index=0, format_func=special_internal_function, key=None, help=None, on_change=None, args=None, kwargs=None, *, disabled=False, horizontal=False, captions=None, label_visibility=”visible”, width=”content”) Parameter Type Default Description […]
