import streamlit as st st.set_page_config( page_title='Introduction to Data', page_icon=":1234:" ) st.title('Info about our Dataset') mobility_url = 'https://raw.githubusercontent.com/UIUC-iSchool-DataViz/is445_data/main/mobility.csv' # Read in data with pandas import pandas as pd df = pd.read_csv(mobility_url) #df st.write(df) import matplotlib.pyplot as plt fig, ax = plt.subplots() df['Seg_income'].plot(kind='hist',ax=ax) #plt.show() # need to use streamlit infrastructure for this st.pyplot(fig) st.write("""Note I have added some things to the requirements.txt file. """) st.code(""" streamlit==1.39.0 altair numpy matplotlib pandas """)