Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -42,13 +42,13 @@ scatter = (
|
|
42 |
.transform_filter(click)
|
43 |
)
|
44 |
|
45 |
-
st.
|
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
|
51 |
-
with Total Floors encoded as the size of the points.
|
52 |
""")
|
53 |
|
54 |
# Bottom Panel: Bar Chart (Square Footage Distribution by Year Acquired)
|
@@ -65,12 +65,13 @@ bar_chart = (
|
|
65 |
.properties(width=550, title="Agency Name Distribution by Year Acquired")
|
66 |
.add_params(click)
|
67 |
)
|
68 |
-
st.
|
69 |
-
This bar chart visualizes the distribution of Agency Name based on their acquisition year.
|
70 |
Design choices:
|
71 |
- X-axis displays the Agency Name.
|
72 |
- Y-axis displays the Year Acquired.
|
73 |
-
This bar chart visualizes
|
|
|
74 |
""")
|
75 |
# Combined Chart
|
76 |
chart = alt.vconcat(scatter, bar_chart, title="Building Inventory Insights")
|
|
|
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)
|
|
|
65 |
.properties(width=550, title="Agency Name Distribution by Year Acquired")
|
66 |
.add_params(click)
|
67 |
)
|
68 |
+
st.markdown("""
|
69 |
+
**This bar chart visualizes the distribution of Agency Name based on their acquisition year.
|
70 |
Design choices:
|
71 |
- X-axis displays the Agency Name.
|
72 |
- Y-axis displays the Year Acquired.
|
73 |
+
This bar chart visualizes which agency acquired the count of buildings in which Year.
|
74 |
+
The Agency Name is taken as the ordinal value.**
|
75 |
""")
|
76 |
# Combined Chart
|
77 |
chart = alt.vconcat(scatter, bar_chart, title="Building Inventory Insights")
|