Black Lives Matter. Please consider donating to Black Girls Code today.

Connect graphs to datatable filtering

Hi there, I’m new to Dash and attempting to build a simple dashboard, comprising six charts and a datatable. When the datatable is filtered, the graphs should update accordingly. I’ve been following the ‘Connecting Backend Paging with a Graph’ example located here.

The example makes a point to use ‘backend’ sorting and filtering, so that data not displayed in the current datatable page is still incorporated into the sort/filter operation. This, of course, makes perfect sense. However, the graphs only reflect the current page of data.

How can the graphs be configured to update only on the filter operation - not the sorting or paging?