Cancer = Bastion/Torbjorn + Rein/Orisa + Junkrat. A comp that requires more teamwork to fight against than it does to execute, which leaves teams in staggered gamestates particularly in Bronze, Gold and Silver.
She's a tank with strong DPS potential. While a dedicated DPS hero can also work against cancer, some of the counters require. While being a big-brain hero, Zarya is forgiving in lower ranks because she (a) doesn't have to get headshots and (b) has a sizable health pool so if you make a mistake and take a big chunk of damage, you're not automatically dead. Against Zarya, cancer comp must either reduce their damage output or charge your energy.
Also learning Zarya in low ranks works to your advantage for the tank role. Many players in Bronze/Silver/Gold either don't know tanking works at all or they don't like to play tank. You can fill that role and prevent your team from getting shredded due to only 1 having 0-1 tanks.
Instead of your team dying to Junkrat/Bastion damage, you can soak it up yourself and use it as energy to burn through Orisa's shield, or if you are able to, you can go through/around the Orisa/Rein shield. Shield-burning and putting out more DPS works during relatively coordinated fights.
But in less coordinated fights, Zarya can instead focus on getting as much charge as possible, picking one target with low health/high DPS output like Junkrat and try the best they can to solo-kill them before you die. Instead of spending an eternity trying to burn down a Brigitte, you can kill a squishy quickly.