the issue
I would like to reproduce this animation : https://www.youtube.com/watch?v=WJscsV9uxZg
Here is the link to the jupyter notebook : https://colab.research.google.com/drive/1VAtvKwVoAGgg-6BcjsYg0jay_i6Z8oNQ
the case
I have built this data model that looks like this
df_all['continent'].unique()
returns
array(['Asia', 'Americas', 'Europe', 'Oceania', 'Africa'], dtype=object)
px.scatter(df_all, x="cases_sum_to_date", y="cases_growth", animation_frame="dateRep", animation_group="countriesAndTerritories",
size="deaths_sum_to_date", color="continent", hover_name="countriesAndTerritories",
log_x=False, size_max=50, range_x=[1,df_all['cases_sum_to_date'].max()], range_y=[-0.5,1]
)
displays
Questions
- 1 continent is present instead of 5, why?!?
- where is the reference documentation of the px.scatter?!? I canβt find the documentation of several parameters : animation_frame, animation_group