Skip to content

Instantly share code, notes, and snippets.

@darlacameron
Last active February 16, 2017 03:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save darlacameron/a1c6a7d5a97dad9e9ae3 to your computer and use it in GitHub Desktop.
Save darlacameron/a1c6a7d5a97dad9e9ae3 to your computer and use it in GitHub Desktop.
/** choropleth visualization */
#mo_counties_merge{
polygon-fill: #0080ff;
polygon-opacity: 0.8;
line-color: #FFF;
line-width: 0.5;
line-opacity: 1;
}
#mo_counties_merge [ winner_vote_margin <= 53024] {
polygon-fill: #850200;
}
#mo_counties_merge [ winner_vote_margin <= 10000] {
polygon-fill: #D6301D;
}
#mo_counties_merge [ winner_vote_margin <= 2500] {
polygon-fill: #ff7a7a;
}
#mo_counties_merge [ winner_vote_margin <= 0] {
polygon-fill: #5CA2D1;
}
#mo_counties_merge [ winner_vote_margin <= -5000] {
polygon-fill: #2167AB;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment