How to have one start button for multiple animated graphs

I have a simple dashboard with three different bar graphs, and I would like them to all be controlled by one ‘play’ button or by a shared slider. Right now it looks like this:

I used animated bar plots with which all have separate sliders. Here’s a snippet of my script. I’m trying to have it update each second based on the datetime column in my dataframe.

Hello @natalietsang,

Welcome to the community!

What you could do is have a clientside_callback and then it triggers a click event on all the play buttons at the same time.

The easiest way would be jquery:

function clickPlay(n) {
 if (n>0) {
         $(‘.className of button’).click()
    return ‘’