I can certainly understand feeling uncomfortable around people who are expressing their anger, even when you feel the anger is justified.
In online spaces, I don't know where you're seeing the bulk of this but muting or blocking people who are being angry (or are sharing content by angry people), using a lot of keyword filtering tools, or taking breaks from social media or some online spaces when you feel overwhelmed are all good things to try. I know some folks who are just stepping away from social media entirely for the next week because things are getting so heated leading up to the election.
At home, I get how it might be a bit trickier to get away from people's anger, if you have family members who are expressing anger or frustration in ways that are upsetting. Do you feel like you would be able to talk to any of the people in your house who are making you uncomfortable about the problem?
If not, or if they aren't willing to change their behavior when you do ask, going to your room or otherwise leaving the space where the angry reaction is happening is probably going to be the best thing to do. It isn't fair to you, for sure, but it sounds like getting away from someone's angry outburst will be better for you than staying. If you don't always want to go to your room, are you able to take short walks in your neighborhood? It might help to have a brief change of scenery and some fresh air when things are stressful. I find that I tend to feel better, when dealing with any sort of tough emotion, if I can get out for at least a short walk. I'm a big fan of listening to podcasts while walking, but comforting music or just the sounds of outside can be comforting too.
Also, if you have good headphones, it may help to wear them while listening to something comforting when you're in your house and someone's being angry in a way you can't entirely escape. If you're hanging out in your room and someone's being loud in a way you can still hear, that might be an extra way to get some distance.
Finally, I do want to check in about how you're feeling about the stress and anger in your home right now: does any of it feel directed at you, or are you ever feeling unsafe at all when someone's expressing a lot of anger about something at home?