Note that the maximum count in set based on the frequency set for the IP, seen in Figure 2.
Figure 2. Code showing maximum count.
Figure 3. Code showing how the color is changing.
Figure 4. Code showing the color cariables being assigned to the color necessary.