GithubHelp home page GithubHelp logo

fiveham / elections Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 1.0 355.15 MB

Interactive maps providing information on United States elections

Python 100.00%
interactive-map webmap politics elections congress midterm legislature general-assembly house-of-delegates senate

elections's Introduction

US Elections - In Map Form

NC Mar 3 map

There are so many elected offices and so many different kinds of districts with so many different shapes that the sheer volume of information involved in voting can be a turn-off. Multi-layered interactive maps of the districts and candidates (and sometimes polling places) for a given election are one way to smooth part of that steep learning curve. To that end, I've cooked up election maps like that for several elections.

Available non-maps

Available maps

2020

2019

November

October

September

August

July

June

May

April

2018

Frequently Asked Questions

What do the colors mean?

The colors mean nothing, generally. Fainter or grayer versions of the usual colors are generally used to suggest unimportance, as they're used to color districts that have no offices up for election in the election that the map in question describes.

The four different shades of green and orange only serve to visually differentiate neighboring shapes. The colors were initially chosen in 2018 from a palette of colors in the now-defunct Google Fusion Tables. Each of these four has a different overall brightness level which should keep neighboring districts visually different even for users with color vision deficiency.

elections's People

Contributors

fiveham avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

firejava

elections's Issues

further meta tags

og:site_name and og:locale would be good. It would also be good to use name= for each of the property= meta tags. Not sure why name= is a thing, but apparently it is.

In addition, any applicable twitter:xxxx and fb:xxxx meta tags or meta namespaces for other social media sites may help with social sharing.

KMLLayer-based map sometimes places point placemarks behind the NC polygon, making them unclickable

So far I've observed this problem with the NC background layer placed first and partially with it placed last.

With the NCBG first, points from both the E and the W files were ignored on click in favor of the polygon.

With the NCBG last, points from the E file were clickable but points from the W file were not.

Sequence Result
B E W BG is in front of E and W
B W E BG is in front of E and W
E B W BG is in front of E and W
E W B E in front of B in front of W
W B E BG is in front of E and W
W E B BG is in front of E and W

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.