File size: 971 Bytes
30b11c6
6498440
30b11c6
6498440
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
import streamlit as st
from PIL import Image

# Set the layout to wide mode
# st.set_page_config(layout="wide")

# Title and description
st.title("Immaterial Index Data Dashboard")

# Create a sidebar on the left
st.sidebar.title("Select a Region")
regions = ["India", "United States", "Europe", "Asia", "Africa"]
selected_region = st.sidebar.selectbox("Region:", regions)

# Define image paths for each region
image_paths = {"India": "data/results/india.png"}

# Display the selected region's image and information
if selected_region in image_paths:
    image = Image.open(image_paths[selected_region])
    st.image(image, caption=f"{selected_region} Overview", use_column_width=True)
    # Add more information or charts specific to the selected region here
else:
    st.write("Please select a region from the sidebar on the left.")

# You can add more content and visualizations for the selected region below
# For example, charts, statistics, and other relevant data