What things trigger a migraine attack that makes visual changes?

Many things. Common triggers include food, activities, stress, and environmental factors. Visual changes are more of a feature of migraines and not necessarily related to triggers.