File size: 530 Bytes
4252f3b
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
Plot a line chart using streamlit st.line_chart() from instructions for the information:

Request: How many cars were produced each year from 2000 to 2004?
Plot graph for: st.bar_chart(pd.DataFrame({"year_produced": [2000, 2001, 2002, 2003, 2004], "num_cars": [1672, 1845, 1688, 1485, 1358]}))

Request: How many cars were produced of each color in the year 2004? 
Plot graph for: st.bar_chart(pd.DataFrame({"color": ['silver','black','blue','white','green','red','grey','orange','other'], "num": [8,4,6,3,2,1,4,1,9]}))

Request: