Graphs changing depending on info put in dropdown options

Hi,

is it possible to create such a layout, where lets say I have one dropdown, where I select the graph i wanna use and then multiple dropdowns for the selected graph, where I can alternate the data that are in the graph. For example I choose graph that shows how was the price of an real estate in certain area developing throughout time and then using those other dropdowns, I can choose wheter to show houses, flats, lands or other criteria.