-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmc_temp.html
More file actions
42 lines (40 loc) · 13.8 KB
/
mc_temp.html
File metadata and controls
42 lines (40 loc) · 13.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<!DOCTYPE html>
<html>
<head>
<!-- Meta Needed to force IE out of Quirks mode -->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<!--StyleSheets-->
<link href="http://socr.ucla.edu/htmls/HTML5/MotionChart/css/bootstrap/bootstrap.min.css" rel="stylesheet">
<link href="http://socr.ucla.edu/htmls/HTML5/MotionChart/css/jquery-ui-1.8.20.custom.css" rel="stylesheet">
<link href="http://socr.ucla.edu/htmls/HTML5/MotionChart/css/jquery.handsontable.css" rel="stylesheet">
<link href="http://socr.ucla.edu/htmls/HTML5/MotionChart/css/jquery.motionchart.css" rel="stylesheet">
<link href="http://socr.ucla.edu/htmls/HTML5/MotionChart/css/jquery.contextMenu.css" rel="stylesheet">
<!--Scripts-->
<script src="http://socr.ucla.edu/htmls/HTML5/MotionChart/js/jquery-1.7.2.min.js"></script>
<script src="http://socr.ucla.edu/htmls/HTML5/MotionChart/js/dependencies.min.js"></script>
<script src="http://socr.ucla.edu/htmls/HTML5/MotionChart/js/bootstrap.js"></script>
<script src="http://socr.ucla.edu/htmls/HTML5/MotionChart/js/jquery.handsontable.js"></script>
<script src="http://socr.ucla.edu/htmls/HTML5/MotionChart/js/jquery.motionchart.js"></script>
</head>
<body>
<script>
var data = [["index","Year","State","Growth","TFR","NIM","NOM"], [0,1977,"ACT",3595,2.091,2000,261],[1,1978,"ACT",3560,1.968,500,131],[2,1979,"ACT",3458,2.003,-500,-256],[3,1980,"ACT",3426,1.98,-500,436],[4,1981,"ACT",3398,1.916,-1039,832],[5,1982,"ACT",3261,1.877,-170,1225],[6,1983,"ACT",3217,1.87,988,541],[7,1984,"ACT",3284,1.824,942,675],[8,1985,"ACT",3178,1.795,1169,658],[9,1986,"ACT",3108,1.745,1783,1420],[10,1987,"ACT",3087,1.709,1940,1624],[11,1988,"ACT",3172,1.765,2062,1442],[12,1989,"ACT",3301,1.677,-114,1080],[13,1990,"ACT",3374,1.782,1330,1015],[14,1991,"ACT",3463,1.867,2932,427],[15,1992,"ACT",3445,1.724,1365,28],[16,1993,"ACT",3438,1.686,1316,-603],[17,1994,"ACT",3290,1.704,-426,-418],[18,1995,"ACT",3250,1.676,-486,130],[19,1996,"ACT",3062,1.661,-656,390],[20,1997,"ACT",3043,1.606,-2470,-70],[21,1998,"ACT",2836,1.535,-1982,-242],[22,1999,"ACT",2933,1.643,-506,-225],[23,2000,"ACT",2796,1.566,-91,-99],[24,2001,"ACT",2682,1.509,407,719],[25,2002,"ACT",2561,1.571,-197,698],[26,2003,"ACT",2620,1.572,-802,885],[27,2004,"ACT",2675,1.594,-1586,456],[28,2005,"ACT",2775,1.596,-842,486],[29,2006,"ACT",2908,1.686,258,501],[30,2007,"ACT",3067,1.749,2465,1936],[31,2008,"ACT",2963,1.738,260,2518],[32,2009,"ACT",3166,1.722,-309,3608],[33,2010,"ACT",3593,1.782,427,3085],[34,2011,"ACT",3382,1.737,1354,1738],[35,2012,"ACT",3564,1.778,1145,4019],[36,2013,"ACT",3798,1.767,202,2915],[37,2014,"ACT",3863,1.738,-812,2715],[38,2015,"ACT",3819,1.701,-103,3496],[39,1977,"NSW",36098,1.995,-9000,25236],[40,1978,"NSW",38069,1.953,-2000,25825],[41,1979,"NSW",37694,1.902,1500,28086],[42,1980,"NSW",39060,1.925,-2000,33499],[43,1981,"NSW",41001,1.942,-14963,47291],[44,1982,"NSW",40918,1.958,-19584,49393],[45,1983,"NSW",42832,1.929,-17181,25740],[46,1984,"NSW",41263,1.794,-10267,20698],[47,1985,"NSW",41904,2.002,-9328,31279],[48,1986,"NSW",39430,1.911,-12462,40922],[49,1987,"NSW",41301,1.915,-9524,52693],[50,1988,"NSW",42083,1.85,-13340,61490],[51,1989,"NSW",44436,1.859,-37974,62636],[52,1990,"NSW",41646,1.95,-35983,52199],[53,1991,"NSW",47092,1.867,-17206,36496],[54,1992,"NSW",45990,1.971,-13807,31178],[55,1993,"NSW",46701,1.908,-17535,12628],[56,1994,"NSW",44773,1.879,-12180,21929],[57,1995,"NSW",43083,1.871,-13478,35952],[58,1996,"NSW",40784,1.834,-14770,48045],[59,1997,"NSW",43277,1.843,-10661,37291],[60,1998,"NSW",40045,1.812,-12249,31843],[61,1999,"NSW",41305,1.835,-13050,41088],[62,2000,"NSW",41902,1.828,-14274,43689],[63,2001,"NSW",41401,1.775,-16315,58619],[64,2002,"NSW",40048,1.813,-25102,44411],[65,2003,"NSW",39973,1.806,-32467,40919],[66,2004,"NSW",39465,1.801,-31098,29820],[67,2005,"NSW",41380,1.912,-26321,35205],[68,2006,"NSW",42525,1.927,-25576,38523],[69,2007,"NSW",50214,1.999,-26271,73570],[70,2008,"NSW",49636,2.052,-20780,87389],[71,2009,"NSW",50538,1.978,-18667,86743],[72,2010,"NSW",53036,2.02,-9458,57152],[73,2011,"NSW",49998,1.963,-13496,51675],[74,2012,"NSW",48421,1.93,-18115,57226],[75,2013,"NSW",49645,1.938,-14645,66763],[76,2014,"NSW",45343,1.723,-6751,66992],[77,2015,"NSW",44923,1.857,-6776,70309],[78,1977,"NT",2208,2.733,2000,408],[79,1978,"NT",1988,2.647,1500,1428],[80,1979,"NT",2161,2.697,500,442],[81,1980,"NT",2271,2.285,500,361],[82,1981,"NT",2078,2.628,335,1043],[83,1982,"NT",2378,2.309,2069,1183],[84,1983,"NT",2430,2.386,530,482],[85,1984,"NT",2532,2.316,726,832],[86,1985,"NT",2502,2.311,608,1056],[87,1986,"NT",2795,2.203,-493,1205],[88,1987,"NT",2702,2.309,-120,1022],[89,1988,"NT",2755,2.247,-3129,1027],[90,1989,"NT",2498,2.175,-1469,944],[91,1990,"NT",2705,2.264,-1170,918],[92,1991,"NT",2843,2.256,-1152,621],[93,1992,"NT",2926,2.368,-969,164],[94,1993,"NT",2857,2.264,-699,44],[95,1994,"NT",2880,2.273,-875,195],[96,1995,"NT",2882,2.322,384,467],[97,1996,"NT",2829,2.163,328,569],[98,1997,"NT",2733,2.14,1754,541],[99,1998,"NT",2825,2.163,-472,560],[100,1999,"NT",2749,2.123,-953,1006],[101,2000,"NT",2722,2.175,-907,942],[102,2001,"NT",2852,2.254,-1592,878],[103,2002,"NT",2839,2.226,-1998,655],[104,2003,"NT",2946,2.299,-2768,325],[105,2004,"NT",2755,2.154,-1487,648],[106,2005,"NT",2558,2.193,610,1004],[107,2006,"NT",2764,2.205,-553,1891],[108,2007,"NT",2822,2.272,443,1153],[109,2008,"NT",2850,2.228,1389,1623],[110,2009,"NT",2890,2.104,934,2099],[111,2010,"NT",2964,2.119,-661,1231],[112,2011,"NT",2945,2.148,-2549,1100],[113,2012,"NT",2994,2.163,-691,3326],[114,2013,"NT",2942,2.062,-481,4354],[115,2014,"NT",2864,2.041,-2421,1752],[116,2015,"NT",2857,2.009,-2341,2354],[117,1977,"QLD",18078,2.108,11000,4012],[118,1978,"QLD",18701,2.019,12000,6857],[119,1979,"QLD",18231,2.006,13000,6489],[120,1980,"QLD",18892,1.931,17000,9480],[121,1981,"QLD",20350,2.052,35054,18168],[122,1982,"QLD",22088,2.06,35453,17565],[123,1983,"QLD",23960,2.085,20831,8621],[124,1984,"QLD",24087,1.981,9959,3267],[125,1985,"QLD",22274,1.949,12920,7665],[126,1986,"QLD",21779,1.912,16500,11382],[127,1987,"QLD",21775,1.831,19718,13171],[128,1988,"QLD",20458,1.841,27720,20442],[129,1989,"QLD",22332,1.852,47062,21776],[130,1990,"QLD",23614,1.932,38102,13142],[131,1991,"QLD",25047,1.873,29709,9743],[132,1992,"QLD",25846,1.93,34099,8250],[133,1993,"QLD",26069,1.916,49162,3719],[134,1994,"QLD",26185,1.876,44936,5241],[135,1995,"QLD",26054,1.843,40224,10580],[136,1996,"QLD",25301,1.871,32614,13051],[137,1997,"QLD",25586,1.829,19605,12620],[138,1998,"QLD",24647,1.824,17424,12490],[139,1999,"QLD",24436,1.8,16682,13710],[140,2000,"QLD",24652,1.819,18453,17514],[141,2001,"QLD",25388,1.826,20024,21003],[142,2002,"QLD",24854,1.814,30035,26488],[143,2003,"QLD",24335,1.804,37984,27122],[144,2004,"QLD",25301,1.837,35498,25399],[145,2005,"QLD",28067,1.872,30371,29555],[146,2006,"QLD",29579,1.875,26607,32952],[147,2007,"QLD",33143,2.129,23381,46145],[148,2008,"QLD",35558,2.136,19409,53907],[149,2009,"QLD",36519,2.174,14702,59319],[150,2010,"QLD",36598,2.087,6172,35820],[151,2011,"QLD",35804,2.017,6795,34629],[152,2012,"QLD",35433,1.996,11782,46538],[153,2013,"QLD",35527,1.944,8874,41831],[154,2014,"QLD",35621,1.91,6294,27217],[155,2015,"QLD",33117,1.849,6861,20434],[156,1977,"SA",9371,1.856,0,2874],[157,1978,"SA",9196,1.764,-1500,2638],[158,1979,"SA",8655,1.737,-4000,541],[159,1980,"SA",8781,1.727,-4500,3325],[160,1981,"SA",9154,1.786,-5109,6655],[161,1982,"SA",9182,1.762,-4875,8520],[162,1983,"SA",9106,1.798,-328,6417],[163,1984,"SA",10319,1.805,553,3969],[164,1985,"SA",9697,1.773,-2317,4329],[165,1986,"SA",9230,1.761,-1417,5084],[166,1987,"SA",9051,1.712,-3977,6200],[167,1988,"SA",8489,1.696,-1240,5952],[168,1989,"SA",8664,1.727,-221,6665],[169,1990,"SA",8253,1.744,-252,5762],[170,1991,"SA",8767,1.723,1545,4619],[171,1992,"SA",8595,1.7,-658,2897],[172,1993,"SA",8468,1.786,-5210,1546],[173,1994,"SA",8007,1.745,-3978,1994],[174,1995,"SA",7953,1.763,-7069,2883],[175,1996,"SA",7500,1.764,-6192,3653],[176,1997,"SA",6951,1.712,-3318,3106],[177,1998,"SA",6602,1.713,-1996,3160],[178,1999,"SA",6751,1.707,-1631,2682],[179,2000,"SA",6306,1.718,-3531,3829],[180,2001,"SA",5495,1.688,-2418,2765],[181,2002,"SA",5794,1.735,-1308,2798],[182,2003,"SA",5243,1.721,-1191,3904],[183,2004,"SA",5408,1.699,-2910,4305],[184,2005,"SA",5879,1.776,-3226,7020],[185,2006,"SA",5858,1.812,-2711,9813],[186,2007,"SA",7048,1.936,-3371,14633],[187,2008,"SA",7333,1.972,-4221,15327],[188,2009,"SA",7201,1.892,-4402,18005],[189,2010,"SA",7456,1.897,-2709,14537],[190,2011,"SA",7070,1.867,-2614,9168],[191,2012,"SA",7494,1.896,-3220,12358],[192,2013,"SA",7363,1.845,-4761,11678],[193,2014,"SA",7192,1.85,-3890,11640],[194,2015,"SA",6472,1.755,-4570,11152],[195,1977,"TAS",3512,2.068,-1000,506],[196,1978,"TAS",3452,2.068,-1000,428],[197,1979,"TAS",3629,2.021,-500,263],[198,1980,"TAS",3461,1.971,-1000,599],[199,1981,"TAS",3618,2.069,-1014,1268],[200,1982,"TAS",3769,1.998,-2022,930],[201,1983,"TAS",3607,1.998,-1214,611],[202,1984,"TAS",3665,1.997,695,659],[203,1985,"TAS",3578,2.01,777,769],[204,1986,"TAS",3318,1.924,-138,890],[205,1987,"TAS",3515,1.883,-1508,870],[206,1988,"TAS",3055,1.891,-1924,891],[207,1989,"TAS",3191,1.898,203,756],[208,1990,"TAS",3352,1.945,2790,760],[209,1991,"TAS",3260,1.903,816,408],[210,1992,"TAS",3226,1.944,-289,36],[211,1993,"TAS",3138,1.924,-1494,103],[212,1994,"TAS",3116,1.947,-2107,192],[213,1995,"TAS",2976,1.891,-2656,310],[214,1996,"TAS",2521,1.891,-2590,398],[215,1997,"TAS",2444,1.794,-3325,254],[216,1998,"TAS",2104,1.816,-3633,39],[217,1999,"TAS",2658,1.877,-3317,171],[218,2000,"TAS",2089,1.803,-2632,435],[219,2001,"TAS",2047,2.073,-2136,101],[220,2002,"TAS",1982,1.968,-1423,307],[221,2003,"TAS",1749,1.885,1993,1014],[222,2004,"TAS",1730,1.908,2574,700],[223,2005,"TAS",2139,2.076,267,1045],[224,2006,"TAS",2427,2.133,-82,1166],[225,2007,"TAS",2788,2.201,-537,1437],[226,2008,"TAS",2595,2.235,730,1835],[227,2009,"TAS",2599,2.172,1063,2127],[228,2010,"TAS",2309,2.079,664,1679],[229,2011,"TAS",2202,2.154,-47,993],[230,2012,"TAS",2066,2.028,-1925,1524],[231,2013,"TAS",1648,1.997,-1286,1614],[232,2014,"TAS",1540,1.963,-435,1801],[233,2015,"TAS",1329,1.878,127,1523],[234,1977,"VIC",29535,1.954,-10000,17969],[235,1978,"VIC",30021,1.907,-11000,18068],[236,1979,"VIC",28483,1.849,-11000,15874],[237,1980,"VIC",28843,1.838,-11000,20932],[238,1981,"VIC",28960,1.85,-15398,29052],[239,1982,"VIC",30346,1.842,-14429,31144],[240,1983,"VIC",29378,1.818,-5136,19674],[241,1984,"VIC",30596,1.789,-3340,14730],[242,1985,"VIC",30269,1.831,-5799,20158],[243,1986,"VIC",29094,1.772,-13201,26420],[244,1987,"VIC",30556,1.787,-13105,32836],[245,1988,"VIC",30585,1.781,-14423,37252],[246,1989,"VIC",31613,1.806,-12504,39414],[247,1990,"VIC",33692,1.863,-7829,34013],[248,1991,"VIC",34950,1.808,-14853,23513],[249,1992,"VIC",33519,1.814,-18427,18362],[250,1993,"VIC",33681,1.777,-25388,7965],[251,1994,"VIC",32578,1.791,-29195,10698],[252,1995,"VIC",31348,1.759,-22020,19295],[253,1996,"VIC",28500,1.715,-12800,25692],[254,1997,"VIC",28663,1.701,-6195,21078],[255,1998,"VIC",27722,1.692,-270,19313],[256,1999,"VIC",27077,1.641,2527,24691],[257,2000,"VIC",27742,1.645,5219,26982],[258,2001,"VIC",26436,1.625,5163,35336],[259,2002,"VIC",27782,1.697,3609,20252],[260,2003,"VIC",27145,1.68,-743,26777],[261,2004,"VIC",28351,1.713,-3051,25020],[262,2005,"VIC",29908,1.732,-3070,32292],[263,2006,"VIC",30707,1.772,-1831,39561],[264,2007,"VIC",34793,1.889,-1617,62539],[265,2008,"VIC",35318,1.878,-1924,73562],[266,2009,"VIC",35194,1.826,1523,83616],[267,2010,"VIC",37664,1.785,3314,53679],[268,2011,"VIC",35172,1.778,3534,44631],[269,2012,"VIC",38850,1.883,2417,56174],[270,2013,"VIC",39954,1.756,6420,59034],[271,2014,"VIC",39219,1.715,9739,56906],[272,2015,"VIC",38143,1.653,11079,60694],[273,1977,"WA",13067,2.074,5000,6631],[274,1978,"WA",13313,2.016,1500,7340],[275,1979,"WA",12744,1.963,1000,3698],[276,1980,"WA",12276,1.924,1500,7309],[277,1981,"WA",12932,1.982,2134,14866],[278,1982,"WA",14144,1.952,3558,18157],[279,1983,"WA",14316,1.986,1510,11209],[280,1984,"WA",13911,1.842,732,4268],[281,1985,"WA",14215,1.939,1970,7794],[282,1986,"WA",14292,1.976,9428,13036],[283,1987,"WA",14671,1.86,6576,17314],[284,1988,"WA",15140,1.962,4274,20845],[285,1989,"WA",15353,1.907,5017,24165],[286,1990,"WA",15773,1.903,3012,16838],[287,1991,"WA",16164,1.904,-1791,10605],[288,1992,"WA",15270,1.874,-1314,7665],[289,1993,"WA",14804,1.875,-152,4640],[290,1994,"WA",14499,1.871,3825,6718],[291,1995,"WA",14794,1.853,5101,10508],[292,1996,"WA",13953,1.809,4066,12339],[293,1997,"WA",14158,1.793,4660,12280],[294,1998,"WA",13716,1.779,3227,11993],[295,1999,"WA",14509,1.785,296,13381],[296,2000,"WA",13829,1.804,-2187,13993],[297,2001,"WA",13966,1.723,-3110,16263],[298,2002,"WA",13233,1.699,-3582,14970],[299,2003,"WA",12864,1.744,-1972,15575],[300,2004,"WA",13114,1.814,2095,13634],[301,2005,"WA",14273,1.87,2241,17160],[302,2006,"WA",15185,1.954,3933,22355],[303,2007,"WA",17335,1.992,5362,31381],[304,2008,"WA",18156,2.095,4991,41176],[305,2009,"WA",18222,1.951,5012,44328],[306,2010,"WA",18934,1.936,2119,28866],[307,2011,"WA",19128,1.918,7033,36425],[308,2012,"WA",19970,1.916,8609,50780],[309,2013,"WA",21051,1.893,5676,42138],[310,2014,"WA",21308,1.906,-1724,18750],[311,2015,"WA",21096,1.869,-4278,14071]];
</script>
<div id="content" align="center">
<div class="motionchart" style="width:800px; height:600px;"></div>
<script>
$('.motionchart').motionchart({
title: "Motion Chart",
'data': data,
mappings: {key: 1, x: 6, y: 5,
size: 3, color: 2, category: 2 },
scalings: { x: 'linear', y: 'linear' },
colorPalette: {"Blue-Red": {from: "rgb(0,0,255)", to: "rgb(255,0,0)"}},
color: "Red-Blue",
play: true,
loop: false
});
</script>
</div>
</body>
</html>