Skip to content

Instantly share code, notes, and snippets.

@andrewxhill
Created April 16, 2014 19:57
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 andrewxhill/10926650 to your computer and use it in GitHub Desktop.
Save andrewxhill/10926650 to your computer and use it in GitHub Desktop.
/** torque visualization */
Map {
-torque-frame-count:1024;
-torque-animation-duration:120;
-torque-time-attribute:"date_str";
-torque-aggregation-function:"avg(type_num)";
-torque-resolution:2;
-torque-data-aggregation:linear;
}
#enigma_enigma_weather_anomalies_outliers_1964_{
//comp-op: lighter;
marker-opacity: 0.7;
marker-line-color: #FFF;
marker-line-width: 0;
marker-line-opacity: 1;
marker-type: ellipse;
marker-width: 2.5;
marker-fill: #000000;
[value<1.5] {
marker-fill: #FFFFFF;
}
[value>1.5] {
marker-fill: #F84F40;
}
}
#enigma_enigma_weather_anomalies_outliers_1964_[frame-offset=1] {
marker-width:4.5;
marker-opacity:0.25;
}
#enigma_enigma_weather_anomalies_outliers_1964_[frame-offset=2] {
marker-width:6.5;
marker-opacity:0.15;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment