Hi, i am trying to make scatter mapbox plot with date slider that will show all event happend till specific date set on slider.
I used animation_frame parametr with assign column from dataframe named EVENT_DATE. But this solution shows only events that happend in this date.
fig = px.scatter_mapbox(df, lat=“LATITUDE”, lon=“LONGITUDE”, color=“EVENT_TYPE”, hover_name=“SUB_EVENT_TYPE”, hover_data=[“EVENT_DATE”], zoom=6, height=800, animation_frame=“EVENT_DATE”)
Do I need to create new dataframe with repetionof previous of values for specific date or is there a better solution?
I could not find any solution so far. So any help is welcome.
Thanks,
Nik