Bring Drag & Drop to Dash with Dashboard Engine. 💫 Learn how at our next webinar!

Making animations with US map small multiples

I am currently studying the code for making subplots with plotly at: https://plotly.com/python/map-subplots-and-small-multiples/
Can I make an animated plot which combines these plots for a single animation that can be played from 1962 to 2006? Thanks

Hi @das,

this could get you started:

import pandas as pd
import plotly.express as px

df = pd.read_csv('https://raw.githubusercontent.com/plotly/datasets/master/1962_2006_walmart_store_openings.csv')

fig = px.scatter_geo(df, lat='LAT', lon='LON', animation_frame='OPENDATE', scope='usa')
fig.show()

BR, Alex-

@Alexboiboi, you are a life safer. Thanks