Nirmal16 commited on
Commit
a1f51d9
·
verified ·
1 Parent(s): 38dadaf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -8
app.py CHANGED
@@ -42,14 +42,7 @@ scatter = (
42
  .transform_filter(click)
43
  )
44
 
45
- st.caption("""
46
- This scatter plot visualizes the distribution of building size based on their acquisition year.
47
- Design choices:
48
- - X-axis displays the years acquired sorted in descending order.
49
- - Y-axis displays the square footage.
50
- This scatter plot visualizes the relationship between year-acquired and Square Footage of buildings,
51
- with Total Floors encoded as the size of the points.
52
- """)
53
 
54
  # Bottom Panel: Bar Chart (Square Footage Distribution by Year Acquired)
55
  bar_chart = (
@@ -81,5 +74,13 @@ tab1, tab2 = st.tabs(["Streamlit Theme", "Altair Native Theme"])
81
 
82
  with tab1:
83
  st.altair_chart(chart, theme="streamlit", use_container_width=True)
 
 
 
 
 
 
 
 
84
  with tab2:
85
  st.altair_chart(chart, theme=None, use_container_width=True)
 
42
  .transform_filter(click)
43
  )
44
 
45
+
 
 
 
 
 
 
 
46
 
47
  # Bottom Panel: Bar Chart (Square Footage Distribution by Year Acquired)
48
  bar_chart = (
 
74
 
75
  with tab1:
76
  st.altair_chart(chart, theme="streamlit", use_container_width=True)
77
+ st.caption("""
78
+ This scatter plot visualizes the distribution of building size based on their acquisition year.
79
+ Design choices:
80
+ - X-axis displays the years acquired sorted in descending order.
81
+ - Y-axis displays the square footage.
82
+ This scatter plot visualizes the relationship between year-acquired and Square Footage of buildings,
83
+ with Total Floors encoded as the size of the points.
84
+ """)
85
  with tab2:
86
  st.altair_chart(chart, theme=None, use_container_width=True)