There is a 300 cat population. Half are blue and half are red. Press your cursor down and drag to "survey" the cats. The percentage of each color cat that has been surveyed will appear on the top left. the "gap" represents the margin of error and as you will see it DOESN'T CHANGE THAT MUCH after even after surveying only a generally small portion of the population
hold SPACE to show raw results for proof of accuracy but feel free to check the code to see how it works. (the decimals mess up the percentages occasionally)