Just population
red: 0%blue: 0%
Districts
red: 0%blue: 0%
difference: 0%
cell colors
district size
This is an interactive example designed to give you a close up feel for what gerrymandering looks like. The circles are meant represent people, with blue being democrat and red being republican. Each square is colored according to its district. I find the district percentage by counting up the number of red and blue votes in each district. In the case of a tie the winner is determined randomly. Then I add one to the total blue districts and the total red districts for each vote. I then find the percentage, and that's the number you see.
Under population, the number next to red shows the percentage of the population that is red, and the same for blue. Under districts, those numbers refer to the percentage of districts that the majority of was red, and the same for blue. The number next to difference is the amount that the population's vote differs from the district's vote. The button new districts gets rid of all the old districts, then a generates a new set of completely random ones, and clicking on new people generates a set of completely random people. Beat that attempts to find a set of districts where the difference value is higher (the gerrymandering is worse). The cell color slider determines what percentage of cells are blue(left), and red(right). The district size slider determines the size of the district, smallest on the left and biggest on the right. You can click on a circle to change its color.