-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.py
More file actions
35 lines (28 loc) · 914 Bytes
/
app.py
File metadata and controls
35 lines (28 loc) · 914 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
"""
Streamlit application entry point.
Handles:
- User interface
- Visualization
- Integration between modules
"""
import streamlit as st
st.set_page_config(
page_title="Osaka vs Global Temperature Trends",
page_icon="🌡️",
layout="wide",
)
st.title("🌡️ Osaka vs Global Temperature Trends (Annual)")
st.caption(
"Interactive time-series dashboard: moving average, trend slope (°C/decade), and gap analysis."
)
with st.sidebar:
st.header("Controls")
ma_window = st.selectbox("Moving average window (years)", [5, 10, 20], index=1)
st.divider()
st.info("Data source will be added next (Berkeley Earth).")
col1, col2, col3 = st.columns(3)
col1.metric("Osaka slope (°C/decade)", "—")
col2.metric("Global slope (°C/decade)", "—")
col3.metric("Osaka − Global (avg)", "—")
st.subheader("Temperature Trends")
st.warning("Next step: load dataset and render chart.")