This is quite reductive and ridiculous, people don't measure their difference from a candidate on a single axis and vote for the person with the smallest distance.
Good news, that's not how it works. You are minimizing the distance in a hyperspace, not a single axis. People draw a singular axis (or two) to simplify and explain the concept. But still, the distance is measured in a hyperspace.
Even with multiple axes the critique is still correct right? And I think (far from an expert) that there's decent evidence to support hotelling's law and median voter theorem.