The chart shows how closely cities matched California as a whole in 19 statewide contests: president, U.S. Senate and 17 ballot measures.