Of course, the humans of The Martian Chronicles didn’t intentionally kill off the Martians, whereas the White Martians deliberately slaughtered almost the entire race of Green Martians, so there are some key differences.
The parallels between J’onn J’onnz’ story of what happened to the Green Martians on Supergirl and what happened to the Martians in The Martian Chronicles are pretty clear.
Like the humans of Ray Bradbury’s tale were invaders who destroyed the population of Mars, the White Martians of Supergirl emerged from their subterranean habitat to wipe out the Green Martians and take over the planet.