Cacophony is harsh, discordant sound. Similarly, glare is harsh, intense light. Both pairs show a negative/unpleasant form of a sensory phenomenon. Cacophony is to sound as glare is to light - both are harsh, overwhelming versions of the sensory input. This maintains the type-to-category relationship.