Hi @sdmcs,
here you go :
import plotly.express as px
import pandas as pd
# df_users_community = pd.read_excel() ??
communities = ['bm_cnt', 'cp_cnt', 'fm_cnt', 'res_cnt', 'spu_cnt', 'sr_cnt'] # or df_users_community.columns[3:]
fig = px.bar(df_users_community, x='community_name', y=communities, animation_frame='event_dt',
labels={'variable':'categorie, whatever', 'value':'count,value,whatever'},
barmode='group', title='your title')
fig.show()
have a look at plotly-express
. It simplifies, A LOT, plotting data in dataframes
structures:
Merry christmas !
Alex-