Skip to content

Instantly share code, notes, and snippets.

@jamiecook
Created January 22, 2016 01:32
Show Gist options
  • Save jamiecook/ccb0aac0b8abc769dd1a to your computer and use it in GitHub Desktop.
Save jamiecook/ccb0aac0b8abc769dd1a to your computer and use it in GitHub Desktop.
Displaying Scoreboard Analysis visually
/** choropleth visualization */
#sydney_scoreboard{
marker-fill-opacity: 0.8;
marker-line-color: #FFF;
marker-line-width: 1;
marker-line-opacity: 1;
marker-width: 10;
marker-fill: #dddddd;
marker-allow-overlap: true;
}
#sydney_scoreboard [ case_1 > 1.5] {
marker-fill: #1a9850;
marker-width: 15;
}
#sydney_scoreboard [ case_1 <= 1.5] {
marker-fill: #8cce8a;
marker-width: 12;
}
#sydney_scoreboard [ case_1 <= 1.25] {
marker-fill: #d2ecb4;
marker-width: 11;
}
#sydney_scoreboard [ case_1 <= 1.1] {
marker-fill: #dddddd;
marker-fill-opacity: 0.6;
}
#sydney_scoreboard [ case_1 <= 0.9] {
marker-fill: #fed6b0;
marker-width: 11;
}
#sydney_scoreboard [ case_1 <= 0.75] {
marker-fill: #f79272;
marker-width: 12;
}
#sydney_scoreboard [ case_1 <= 0.5] {
marker-fill: #d73027;
marker-width: 15;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment