Created
June 2, 2014 18:19
-
-
Save andrewxhill/48aebf8193c0b5066a3b to your computer and use it in GitHub Desktop.
size by column sum
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Map { | |
-torque-frame-count:128; | |
-torque-animation-duration:30; | |
-torque-time-attribute:"time_column"; | |
-torque-aggregation-function:"sum(whatever_column)"; | |
-torque-resolution:2; | |
-torque-data-aggregation:"cumulative"; | |
} | |
#table_name { | |
marker-width: 4; | |
marker-opacity: 0.9; | |
marker-allow-overlap: true; | |
marker-placement: point; | |
marker-type: ellipse; | |
marker-line-width: 2; | |
marker-line-color: #ffffff; | |
marker-line-opacity: 1; | |
[value > 10]{ | |
marker-width: 5; | |
} | |
[value > 100]{ | |
marker-width: 8; | |
} | |
} | |
#table_name[frame-offset=1] { | |
marker-width:4.5; | |
marker-opacity:0.45; | |
[value > 10]{ | |
marker-width: 6; | |
} | |
[value > 100]{ | |
marker-width: 10; | |
} | |
} | |
#table_name[frame-offset=2] { | |
marker-width:6; | |
marker-opacity:0.225; | |
[value > 10]{ | |
marker-width: 8; | |
} | |
[value > 100]{ | |
marker-width: 14; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment