Skip to content

Instantly share code, notes, and snippets.

@caseycesari
Created March 6, 2013 17:41
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 caseycesari/5101319 to your computer and use it in GitHub Desktop.
Save caseycesari/5101319 to your computer and use it in GitHub Desktop.
Carto styled used to style the parcel layer on http://apps.axisphilly.org/avi-map.
#parcelswtax {
polygon-opacity: 0.8;
[tax_change > 4] { polygon-fill: #7F0000 }
[tax_change > 2][tax_change <= 4] { polygon-fill: #B2182B }
[tax_change > 1][tax_change <= 2] { polygon-fill: #D6604D }
[tax_change > .5][tax_change <= 1] { polygon-fill: #F4A582 }
[tax_change > .1] [tax_change <= .5] { polygon-fill: #FDDBC7 }
[tax_change >= -.1][tax_change <= .1] { polygon-fill: #777 }
[tax_change < -.1] [tax_change > -.5] { polygon-fill: #bedef0 }
[tax_change <= -.5][tax_change > -1] { polygon-fill: #92C5DE }
[tax_change <= -1] { polygon-fill: #4393C3 }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment