2 interdependant tabulator Dataframe interaction

Let say I have a dataframe showing Departments and for each department how many areas are there. From this I want to show 2 tabulator screens. First one is the pivot which shows count of Areas per Department and other one shows raw data. Now when I select Department A count on pivot, I want to automatically filter tabulator which is showing raw data to filter for A department and show Areas for that department.

import panel as pn
import pandas as pd

# Sample data
data = {
    'Department': ['A', 'A', 'B', 'B', 'C'],
    'Area': ['X', 'Y', 'X', 'Y', 'X']
}
df = pd.DataFrame(data)