(figurative) people whose criticisms are regarded as irrelevant or insignificant (resembling uneducated people who throw peanuts on the stage to express displeasure with a performance)
"he ignored complaints from the peanut gallery"
rearmost or uppermost area in the balcony containing the least expensive seats
In the nineteenth century, the cheap seats at the back of a theatre or in the upper balcony.