For example go here link for California results on the Governors race. Compute the difference in votes between Simon and Davis. For example Davis got 46.9% vs 36.3% for Simon. Throw in the Libertarian and Greens if you want.
Then do it for President and perhaps some issues. Tedious, but when you're done you'll be able to spot and rank conservative to liberal districts...