Visual hierarchy refers to the arrangement and presentation of elements in a way that signifies their importance, guiding the viewer's eye through the content in a structured manner. It plays a critical role in mapping and spatial analysis by emphasizing key features and relationships within data, enhancing comprehension and interpretation.