It would be better if, when filtering data in the Map Viewer (ArcGIS Online/ArcGIS Enterprise), the legend rendering of the data is also filtered, displaying only the filtered data.
This means that when you filter the data in a map, the legends used to represent the data should also be filtered. For example, if you filter a map of fire incidents to only show incidents that occurred in a certain month, the legends used to represent the incidents should also be filtered to only show the legends for that month.
This is a useful feature because it can help you to better understand the data that you are filtering. For example, if you are filtering a map of fire incidents to only show incidents that occurred in a certain month, you can use the symbols to see which areas were most affected by fires in that month.