import streamlit as st # Custom function to create styled metric boxes with compact layout def custom_metric_box(label, value, delta): st.markdown(f"""

{label}

{value}

{delta}

""", unsafe_allow_html=True) # Custom function to create pollution metric boxes with side-by-side layout for label and value # Custom function to create pollution metric boxes with side-by-side layout and fixed width def pollution_box(label, value, delta): st.markdown(f"""

{label}

{value}

{delta}

""", unsafe_allow_html=True)