How to provide state and city association for metabase in option 'Linking filters in dashboards'

How to provide state and city association for metabase in option ' Linking filters in dashboards'?

You should have two filters: State and City.

Then click the the pencil icon to edit your dashboard > settings button for the City filter > click on Linked filters and toggle the State filter.

Documented here: Linking filters in dashboards

I am using examples from the document. How can I create associations in my own database