The electric response evoked in the cerebral cortex by visual stimulation or stimulation of the visual pathways.