keneonyeachonam's picture
Update app.py
a661c51
raw
history blame
893 Bytes
import streamlit as st
import pandas as pd
import plotly.express as px
# Define the data
data = pd.DataFrame({
'Illness': ['Anxiety', 'Depression', 'Diabetes', 'Heart Disease'],
'Cost (Billion USD)': [42, 210, 327, 219]
})
# Define the sunburst plot
fig = px.sunburst(
data,
path=['Illness'],
values='Cost (Billion USD)',
color='Cost (Billion USD)',
color_continuous_scale='reds'
)
# Define the Streamlit app
st.title('Cost of Illnesses in Billion USD per Year')
st.plotly_chart(fig, use_container_width=True)
# Define the data
data = pd.DataFrame({
'Illness': ['Anxiety', 'Depression', 'Diabetes', 'Heart Disease'],
'CPT Code': ['90834, 90837, 90847', '90785, 90832, 90834', '82947, 82948, 82950', '93000, 93010, 93015'],
'Emoji': ['😰', 'πŸ˜”', '🩸', 'πŸ’”']
})
# Define the Streamlit app
st.title('CPT Codes for Illnesses')
st.table(data)