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