How Did Veruca Salt Die?

How Did Veruca Salt Die? Veruca is eliminated at the end of her musical number in the film (“I Want it Now”) after climbing a machine designed to tell whether or not the goose eggs are “good” or “bad” eggs. The machine judges her as a “bad egg” and she disappears down the garbage chute.