Nirmal16 commited on
Commit
6a6ff85
·
verified ·
1 Parent(s): 187f9a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -65,7 +65,6 @@ chart = alt.vconcat(scatter, bar_chart)
65
  tab1, tab2 = st.tabs(["Streamlit Theme", "Altair Native Theme"])
66
 
67
  with tab1:
68
- st.altair_chart(chart, theme="streamlit", use_container_width=True)
69
  st.caption("""
70
  The scatter plot visualizes the distribution of building size based on their acquisition year.
71
  Design choices:
@@ -74,6 +73,8 @@ with tab1:
74
  This scatter plot visualizes the relationship between year-acquired and Square Footage of buildings,
75
  with Total Floors encoded as the size of the points.
76
  """)
 
 
77
  st.caption("""
78
  The bar chart visualizes the distribution of Agency Name based on their acquisition year.
79
  Design choices:
@@ -83,7 +84,6 @@ with tab1:
83
  The Agency Name is taken as the ordinal value.
84
  """)
85
  with tab2:
86
- st.altair_chart(chart, theme=None, use_container_width=True)
87
  st.caption("""
88
  The scatter plot visualizes the distribution of building size based on their acquisition year.
89
  Design choices:
@@ -92,6 +92,8 @@ with tab2:
92
  This scatter plot visualizes the relationship between year-acquired and Square Footage of buildings,
93
  with Total Floors encoded as the size of the points.
94
  """)
 
 
95
  st.caption("""
96
  The bar chart visualizes the distribution of Agency Name based on their acquisition year.
97
  Design choices:
 
65
  tab1, tab2 = st.tabs(["Streamlit Theme", "Altair Native Theme"])
66
 
67
  with tab1:
 
68
  st.caption("""
69
  The scatter plot visualizes the distribution of building size based on their acquisition year.
70
  Design choices:
 
73
  This scatter plot visualizes the relationship between year-acquired and Square Footage of buildings,
74
  with Total Floors encoded as the size of the points.
75
  """)
76
+ st.altair_chart(chart, theme="streamlit", use_container_width=True)
77
+
78
  st.caption("""
79
  The bar chart visualizes the distribution of Agency Name based on their acquisition year.
80
  Design choices:
 
84
  The Agency Name is taken as the ordinal value.
85
  """)
86
  with tab2:
 
87
  st.caption("""
88
  The scatter plot visualizes the distribution of building size based on their acquisition year.
89
  Design choices:
 
92
  This scatter plot visualizes the relationship between year-acquired and Square Footage of buildings,
93
  with Total Floors encoded as the size of the points.
94
  """)
95
+ st.altair_chart(chart, theme=None, use_container_width=True)
96
+
97
  st.caption("""
98
  The bar chart visualizes the distribution of Agency Name based on their acquisition year.
99
  Design choices: