SIR model
Blue represents the number of susceptible people. At the beginning of the epidemic, the number of susceptible (blue) people decreases as the number of infected (green) people increases. Gradually the number of recovered (red) people increases. In this particular model, after the epidemic is over, all people have been infected and recovered. This is not always the case; sometimes, some susceptible people remain uninfected.