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

Two filter levels

I want to filter data first based on a categorical variable I have in my data set and then a second level of filter using the color option . How can that be done?
Ex- I need to see population density in various states of a country. My first level of filter would be High medium and low using a drop down then corresponding to those filters I want to drill down to a state using color scales.