Skip to content

Instantly share code, notes, and snippets.

@feifang
Last active August 13, 2020 14:07
Show Gist options
  • Save feifang/664c0f16adfcb4dea31b923f74e897a0 to your computer and use it in GitHub Desktop.
Save feifang/664c0f16adfcb4dea31b923f74e897a0 to your computer and use it in GitHub Desktop.
Animated Circle Packing
height: 550
name parent region industry 2006-12 2007-01 2007-02 2007-03 2007-04 2007-05 2007-06 2007-07 2007-08 2007-09 2007-10 2007-11 2007-12 2008-01 2008-02 2008-03 2008-04 2008-05 2008-06 2008-07 2008-08 2008-09 2008-10 2008-11 2008-12 2009-01 2009-02 2009-03 2009-04 2009-05 2009-06 2009-07 2009-08 2009-09 2009-10 2009-11 2009-12 2010-01 2010-02 2010-03 2010-04 2010-05 2010-06 2010-07 2010-08 2010-09 2010-10 2010-11 2010-12 2011-01 2011-02 2011-03 2011-04 2011-05 2011-06 2011-07 2011-08 2011-09 2011-10 2011-11 2011-12 2012-01 2012-02 2012-03 2012-04 2012-05 2012-06 2012-07 2012-08 2012-09 2012-10 2012-11 2012-12 2013-01 2013-02 2013-03 2013-04 2013-05 2013-06 2013-07 2013-08 2013-09 2013-10 2013-11 2013-12 2014-01 2014-02 2014-03 2014-04 2014-05 2014-06 2014-07 2014-08 2014-09 2014-10 2014-11 2014-12 2015-01 2015-02 2015-03 2015-04 2015-05 2015-06 2015-07 2015-08 2015-09 2015-10 2015-11 2015-12 2016-01 2016-02 2016-03 2016-04 2016-05 2016-06 2016-07 2016-08 2016-09 2016-10
World
HK World
UK World
Macau World
Mainland World
Mainland.Commerce & Industry Mainland Commerce & Industry
Mainland.Utilities Mainland Utilities
Mainland.Properties Mainland Properties
Mainland.Finance Mainland Finance
Macau.Commerce & Industry Macau Commerce & Industry
Macau.Utilities Macau Utilities
Macau.Properties Macau Properties
Macau.Finance Macau Finance
HK.Commerce & Industry HK Commerce & Industry
HK.Utilities HK Utilities
HK.Properties HK Properties
HK.Finance HK Finance
UK.Commerce & Industry UK Commerce & Industry
UK.Utilities UK Utilities
UK.Properties UK Properties
UK.Finance UK Finance
CKH Holdings HK.Commerce & Industry HK Commerce & Industry 221772.74 238101.7 221772.74 229068.66 236248.76 234164.21 237175.23 257094.24 265664.04 296932.26 349045.96 338854.85 333990.89 291141.85 275623.56 255936.16 281182.35 277708.11 243428.87 255241.3 259873.63 199769.17 168037.73 169080 169774.85 168848.38 147887.09 154603.97 186914.46 221888.55 206370.24 231848.05 212971.3 227794.76 232311.29 225594.41 232311.29 213202.93 219340.76 231616.43 224783.76 205443.77 209381.26 217372.02 226752.49 272380.92 273307.39 265895.67 277708.11 297858.75 280719.11 293689.65 283035.28 281877.19 263579.51 275855.17 253156.77 198263.66 226520.88 198147.87 214013.59 241807.56 262653.04 232311.29 239028.15 207296.71 219109.14 236480.38 244355.34 263347.88 265200.82 274002.25 275623.56 294616.1 279329.42 265432.43 270528 254314.85 243660.48 252461.91 256399.39 273539 280719.11 283961.74 283498.52 266127.29 281645.58 297858.75 305733.69 320788.76 318472.6 349045.96 327274.03 296237.42 318704.23 329590.19 301796.22 343950.4 355531.23 359352.9 390273.69 418901.7075 447529.725 444248.99 398704.8 386739.77 411055.76 392529.29 403722.37 371880.02 362616.78 388669.61 358950.1 348142.99 326335.83 350458.82 384809.93 380564.29 370336.14
CLP Holdings HK.Utilities HK Utilities 138474.14 140400.73 137872.08 137390.43 138353.73 132573.93 126312.5 127516.62 129443.22 129563.63 125469.61 127034.97 128239.09 148588.77 148107.12 154248.16 148829.59 169781.34 160870.83 154368.56 152923.61 150154.13 125119.46 132337.89 126563.14 126924.06 138473.55 128127.14 126081.92 125480.38 123675.77 126803.76 124878.85 126563.14 125360.07 126442.83 126202.22 126322.53 129089.6 133540.96 131134.82 131976.96 135826.8 137992.32 143285.84 149060.59 151587.03 153752.57 151827.64 152188.57 152669.8 151346.42 153752.57 159767.93 165903.58 173242.32 173603.25 169753.42 167347.28 164219.29 158925.78 152790.11 164820.82 161211.61 159888.22 152068.26 158203.93 161211.61 155557.17 158564.85 159046.08 163497.44 162892.9 166619.41 168640.58 171798.64 172809.22 165608.84 158534.77 162450.78 156639.94 159545.36 157650.52 160555.93 154871.42 148050 152976.58 147797.36 156639.94 161187.54 160682.25 163082.39 165735.15 157524.19 168640.58 170409.08 169903.8 174830.37 176219.93 171167.03 171672.31 171293.36 166493.1 166366.77 162071.81 167124.71 170535.41 163714 166366.77 164471.93 171293.36 177230.51 181272.83 185188.83 199589.6 204137.21 200979.15 202495.02 199336.95
HK & China Gas HK.Utilities HK Utilities 96403.3 95521.9 93979.44 96182.94 99022.71 101862.48 99862.8 110770.15 109073.45 109679.41 125737.45 139371.63 144825.3 129070.24 139371.63 141795.48 140386.615 138977.75 123580.22 115048.25 117447.87 117047.93 89185.72 91985.28 77987.51 84919.74 78654.08 81367.05 87510.562 97522.83 102895.96 108158.6325 112677.49 126019.5157 122491.24 120140.66 127322.98 110868.93 114133.62 126408.87 124058.29 125403.34 138906.11 139337.04 134740.36 141060.8 134165.78 136176.82 131580.14 126696.15 125259.7 134022.13 138475.17 139049.75 139286.77 150742.57 144738.15 139207.77 139365.77 140313.84 142209.97 145370.19 156430.97 157221.02 156747 149839.2783 142931.5567 156083.34 158864.35 170857.38 179026.56 182502.8 183806.39 191193.41 188586.23 196842.3 202925.74 191260.0383 179594.3367 190046.24 171309.3 178383.45 173221.24 174750.78 169970.95 152763.53 159837.68 161749.63 170926.9 174110.275 177293.65 178345.2 184864.91 177083.34 190268.82 193212.2 186694.71 187115.19 183961.57 188586.89 194473.66 191439.17 188404.68 182909.85 169035.53 167879.34 181984.89 175957.62 175726.4 157460.1 158153.77 167633.74 167402.51 171703.1883 176003.8667 183125.4 188212.23 186177.5 193299.04
Wharf Holdings HK.Properties HK Properties 70376.45 70498.85 67806.18 70988.42 70988.42 77230.51 76496.14 80167.96 78576.84 93508.89 113336.69 114740.3925 116144.095 114285.24 111393.69 100929.02 108915.21 107400.59 89913.57 96109.76 78485.04 59896.48 41307.92 50671.05 58519.55 53700.29 45383.63 52984.29 70911.93 88398.94 90464.34 100378.24 95696.68 113321.39 117727.57 115111.4 123235.29 106299.04 110154.45 120481.43 117452.18 106849.81 105059.81 117039.1 115249.09 137417.68 140171.54 143751.56 164680.9 162202.43 156763.545 154794.54 172061.25 173424.41 163730.82 173727.33 150250.66 117837.73 127228.39 110718.99 106326.58 133589.8 147069.96 127834.24 140254.15 122835.98 128894.47 136316.13 144646.56 163124.96 160701.57 180694.61 183572.38 207503.44 205382.98 209623.91 209775.38 221822.0367 197538.21 202234.3 193145.12 206041.86 197860.79 195291.7 179686.55 160596.75 164081.4 150294.31 164384.41 166353.99 169081.1 188473.92 183625.71 167263.03 173626.29 169535.63 169687.13 190954.72 171404.59 164130.13 169889.08 162159.96 156401.01 149126.55 132607.45 131849.69 140488.11 134880.72 130334.18 109116.98 118361.61 128515.56 127606.25 127454.7 142306.74 162008.41 167497.41 169782.33 176755.53
HSBC Holdings UK.Finance UK Finance 1650196.89 1648599.65 1583807.09 1573497.3 1672165.67 1692266.07 1669071.2 1695844.4 1644545.57 1674130.21 1791888.82 1562552.21 1557886.15 1371741.81 1432306.18 1504791.89 1603421.4 1581093.71 1451476.03 1549514.43 1488428.43 1468312.92 1113629.24 1013187.37 892158 794244.77 691633.48 622814.24 874565.8175 1126317.395 1170147.868 1213978.34 1425196.89 1558827.97 1519894.23 1578847.77 1556293.71 1513982.615 1495763.96 1378407.23 1340337.305 1302267.38 1315156.438 1328045.495 1334749.68 1386266.698 1437783.715 1396300.71 1409586.57 1506793.275 1600694.87 1447543.74 1462524.265 1477504.79 1426961.095 1376417.4 1200179.54 1177212.565 1154245.59 1026507.01 1054217.05 1141689.205 1261004.7 1241609.17 1222579.69 1203550.21 1216064.648 1228579.085 1228696.12 1305620.448 1382544.775 1449480.21 1489556.96 1631878.94 1586907.34 1522285.03 1570414.858 1618544.685 1513429.34 1606474.52 1529786.26 1573741.81 1581803.78 1623622.6 1571819.165 1533744.04 1564461.3 1480646.524 1501104.172 1525371.045 1552327.77 1506529.207 1588064.768 1592098.737 1515549.077 1485949.509 1447646.446 1374632.82 1364820.398 1280637.276 1380828.09 1457411.114 1417058.078 1333798.233 1325483.407 1170595.003 1188618.725 1209818.069 1209751.311 1046296.01 995752.26 985305.2175 952585.3033 988881.925 968591.11 950868.725 1091270.857 1168430.542 1178333.195
Power Assets HK.Utilities HK Utilities 81315.37 82382.5 84410.05 85583.89 83769.77 86117.45 84196.62 83236.2 83449.63 86224.17 84730.19 86757.74 95721.63 94867.93 94761.22 104898.96 104365.4 100523.72 99563.31 96895.48 106179.52 103511.69 88038.29 92840.38 92840.38 97535.76 102444.56 98176.04 97749.18 88998.71 91986.67 91239.69 92413.53 90706.12 88785.28 89852.41 90065.84 92733.67 92733.67 98282.75 97962.61 98923.02 99136.46 100417.01 100843.86 100630.44 105112.39 106606.37 104578.82 105432.53 108527.2 110981.61 115997.12 118558.23 125708.01 137659.88 128909.41 127735.56 126668.43 122933.47 122613.33 119411.94 124000.6 121652.91 123787.18 115783.69 124000.6 130189.96 134138.34 140541.13 140647.85 145556.64 141288.11 143422.38 147584.2 156334.67 161777.04 145876.78 142782.11 148651.33 142675.39 148117.76 137873.3 134458.48 131577.23 124427.45 138406.87 143529.1 142995.53 144062.66 144596.23 148011.04 150678.87 146517.07 159749.48 158042.08 160603.19 173515.48 170314.09 169246.96 167432.82 158575.65 150892.29 155907.82 142355.25 156014.52 165085.14 147797.62 152172.86 150892.29 157295.08 169353.66 157828.64 160816.61 151639.3 162097.17 158362.21 161350.18 155694.38
HK Land Hldgs HK.Commerce & Industry HK Commerce & Industry
PCCW HK.Commerce & Industry HK Commerce & Industry 31928.31 31601.4 31140.77 31682.22 32707.4 33323.33 32578.76 32718.98 32111 34827.73 33754.24 31859.33 31385.04 30232.84 30571.89 33216.92 34108.45 33228.97 31962.23
CWHKT HK.Commerce & Industry HK Commerce & Industry
Hang Lung Group HK.Properties HK Properties
Hang Seng Bank HK.Finance HK Finance 203228.89 207434.94 203420.07 212214.54 210876.26 207817.3 202272.97 237068.5 233818.37 264025.49 300541.67 283526.28 307615.48 292894.3 286967.61 269378.63 298438.66 302262.35 314498.13 294041.42 296526.82 275878.91 181625.06 189081.25 194434.4 181242.7 166330.32 149219.33 165565.58 212214.54 208390.86 240701 210493.88 213552.83 213170.47 216802.97 219288.36 208582.04 216994.15 206861.38 204567.17 198066.9 199978.75 205714.28 203993.61 218141.25 216802.97 244142.31 244333.51 245862.99 237450.86 240127.44 232097.71 238406.78 237642.06 234200.74 219288.36 175602.75 193478.48 178757.3 176176.31 191375.45 207626.12 197302.16 203802.43 191757.83 202655.33 206287.83 211067.44 227318.1 227509.29 226362.18 226935.73 242804.03 239745.08 238024.42 248157.19 238980.34 219288.36 226935.73 230377.05 241848.11 246627.71 241848.11 240318.63 232288.89 240509.82 236112.58 241465.74 244715.87 242039.29 251980.88 250260.2 238406.78 251216.12 247010.08 247010.08 259628.25 270334.55 268613.9 289261.81 297482.74 289644.17 303791.8 263643.1 266128.5 272628.79 268613.9 281996.8 245671.79 251216.12 262113.65 269569.83 263643.1 252936.8 264790.22 260201.81 264790.22 267849.18
Henderson Land HK.Properties HK Properties 84502.23 87610.36 86056.29 88678.78 91398.39 104802.19 103442.39 110727.06 105093.58 119760.06 134038.02 133358.12 157678.22 143187.71 132883.36 118714.85 127731.17 116460.77 104331.68 104761.03 101970.26 72989.24 58176.72 56459.32 61611.51 64724.28 56244.65 63328.9 78356.1 100467.54 95422.7 109913.21 97784.11 109483.86 119788.22 117426.81 125369.76 105512.39 112596.64 117426.81 107015.1 103879.0625 100743.025 104694.79 103070.78 119640.51 122290.44 119135.44 115327.47 117612.28 107385.17 117285.95 126705.25 124013.3 117248.44 117011.58 107655.39 83968.83 96059.095 88360.16 91439.73 99730.9 115365.68 101507.58 104705.6 92624.18 101033.8 108835.665 114538.58 133988.52 132152.26 133299.31 132091.89 134748.21 130280.76 128228.14 135714.15 130479.98 125245.81 130823.24 122101.69 128542.22 124086.345 122399.47 119430.58 112818.04 117406.33 122129.58 124693.62 130371.6325 136049.645 143996.805 154046.58 150896.65 156467.685 156017.64 162918.42 166218.8 159017.98 163368.47 186921.13 184220.825 181520.52 168398.645 157822.09 159967.3275 162112.565 157896.48 157069.79 138882.76 138882.76 157565.81 160376.52 158089.3633 155802.2067 168048.15 164956.34 167320.66 167138.8
Hutchison HK.Properties HK Properties 337019.47 330837.57 316981.61 320392.32 322950.34 321244.98 331050.75 358549.48 330624.42 354499.29 411841.61 393082.77 377095.13 324868.84 316342.1 313997.26 325082.02 359615.32 335100.94 313144.57 311012.89 250686.2 174798.2 165845.13 165631.95 170534.83 174798.2 162008.09 196115.06 231714.2 215939.74 247488.67 232353.71 238535.6 235977.57 223400.64 227664.01 226598.16 237469.76 242159.46 230435.19 206560.32 205920.81 218710.92 245143.82 308668.05 325721.53 331263.9 341069.66 387540.41 390951.09 392656.44 378160.98 383703.37 358123.15 387327.23 318260.64 249194.03 308028.54 278184.94 277332.28 314423.6 328705.88 330837.57 318260.64 272216.22 283514.16 298009.62 289269.7 320605.47 325082.02 339790.64 344906.7 369634.23 356204.64 344906.7 359402.17 352580.75 347677.9 373258.12 383277.04 396067.15 411841.61 420368.35 449359.29 410775.77 445948.58 437848.17 451917.3 443390.56 451917.3 451917.3 429747.79 400756.85 419089.36 414399.63 380505.84 438700.86 452769.96 458738.69 486876.93
Hysan Dev HK.Properties HK Properties
Jar Matheson HK.Commerce & Industry HK Commerce & Industry
SHK Ppt HK.Properties HK Properties 222645.31 235478.25 230369.99 225261.74 228999.49 226009.28 234481.52 250678.43 259150.67 326430.17 365801.15 413370.53 424653.62 391060.84 356442.34 311310.07 350031.5 321567.41 271306.48 300027 275922.27 201043.74 167963.84 157321.85 165655.93 179503.34 156424.34 177964.74 207069.92 247458.17 248227.48 302334.91 268998.57 292846.86 306950.7 294641.91 298231.98 257202.64 276435.14 299514.14 284427.1225 269340.105 276022.21 293241.47 280134.27 344385.25 341301.21 329993.02 331792.07 334105.09 323310.94 316628.82 311745.76 311231.74 291185.45 304806.64 281933.29 232460.04 278592.25 239527.64 250193.31 281524.705 312253.14 252365.39 245225.255 229923.2 238424.34 253595.6 263143.04 297147.61 282237.92 296624.47 309646.455 341277.85 318831.51 277914.8 302084.285 275641.89 267361.95 276443.8 268698.43 281786.13 271369.69 265894.24 263895.37 256390.28 268560.71 256931.18 268480.105 288857.3 289687.42 321309.38 320523.98 300441.42 315551.55 318212.425 333983.53 357792.98 344718.31 340839.238 369513.97 377743.59 361196.34 347032.295 282492.47 289110.97 298896.01 282467.4367 270820.89 242465.78 251290.7 274438.59 283859.49 264607.42 269384.25 321359.13 316151.06 339050.9 335287.71
New World Dev HK.Properties HK Properties
Oriental Press HK.Commerce & Industry HK Commerce & Industry
Swire Pacific A UK.Commerce & Industry UK Commerce & Industry 77732.87 83408.15 82245.19 81144.24 83016.18 81038.79 79681.83 81759.91 78921.66 86291.95 100620.54 95951.16 98423.18 97049.84 89290.43 89290.43 89290.43 81531.02 73016.27 76778.57 71794.14 61642.36 48483.04 47090.08 48312.61 46184.5 43648.88 46818.41 55104.45 70182.33 70816.24 78830.61 73216.02 82498.2 86935.54 80551.2 85124.38 76838.33 78468.38 84581.03 79645.63 77834.47 80596.49 85486.61 84897.98 96806.34 99613.64 108307.19 115732.94 111023.92 98526.94 103235.95 107401.61 108578.86 103507.63 99432.52 94089.61 72899.07 82000.14 83856.57 84897.98 78106.15 79872.02 78830.61 82996.27 75796.92 81230.39 84264.08 82996.27 86029.96 83267.94 86029.96 86799.7 90150.34 90648.41 89606.99 89335.32 89380.6 85033.82 82860.43 80505.93 84128.24 81094.56 84897.98 82317.09 75887.48 78921.17 81909.57 81049.28 83449.06 86392.19 90512.57 94451.84 90557.85 92097.33 96534.67 91463.43 94270.72 95991.32 95719.64 94995.19 94451.84 88248.62 89932.21 76987.77 78255.06 81468.54 76580.43 78933.96 67890.45 68614.62 75584.7 76354.12 75856.27 79296.04 83912.59 77576.15 75629.96 73004.87
Wheelock HK.Properties HK Properties
Bank of E Asia HK.Finance HK Finance 68283.76 69563.56 69357.06 70585.08 75831.35 71478.84 69009.09 74352.04 68245.56 68592.05 82136.29 74530.19 83992.49 73036.34 70723.13 64551.14 74170.18 79357.51 70755.6 63490.19 52047.58 40162.02 25268.6 28113.41 27109.36 26239.19 27209.77 26414.895 34543.21 43181.87 46107.65857 46411.74 46167.60333 51461.85778 51701.49286 60707.63182 59108.36455 56602.86 54981.495 58518.43769 58400.76375 56020.3475 57598.91 61967.08 60045.51 67174.805 68743.535 69121.445 66466.85 69019.34 68917.24 66378.78667 67089.68 67674.45 65619.095 61965.01 63200.2 54910.225 59788.83 56988.42 61036.78 65707.96 64877.53 61317.78 60794.24 54494.32 58169.28 56807.94 59332.6 61339.085 60810.3 63243.01 66308.72 71044.6 70599.18 69297.44 69887.585 68757.63 63216.31 65817.34 69336.565 74149.36 76792.61 78866.4 74809.755 67426.09 73621.27 70203.72 72931.275 73455.59 74852.53 77180.76 77324.425 75568.67 76038.04 76272.72 73339.16 75568.67 76665.68667 77762.70333 88085.07 89767.825 88687.5 82147.12 72878.385 69258.35 76718.97 73153.72 76190.78 59817.03 65362.98 77811.46 75799.09 76872.35 79957.98 85995.07 86319.7825 86644.495 84460.67
Galaxy Ent Macau.Commerce & Industry HK Commerce & Industry 159997.66 172148.92 198977.27 229415.87 244021.98 256077.37 289461.63 336998.525 317949.02 285346.71 278733.29 262966.5 263023.5 279809.56 247784.97 202821.025 211970.055 224766.91 185289.44 173776.55 175168.62 174385.165 173601.71 157890.16 131523.95 151984.11 105800.39 91657.285 113488.6 97109.99 104175.02 102684.56 111206.31 112584.8625 113963.415 111326.52 98110.96 110130.84 115107.1125 120083.385 136030.42
Great Eagle Hldgs HK.Properties HK Properties
HK Aircraft HK.Commerce & Industry HK Commerce & Industry
HK & S Hotels HK.Commerce & Industry HK Commerce & Industry
Hopewell Hldgs HK.Properties HK Properties
Kln Motor Bus HK.Commerce & Industry HK Commerce & Industry
MTR Corporation HK.Commerce & Industry HK Commerce & Industry 108530.89 114585.81 114587.3 108539.47 106987.28 105657.05 103499.75 110208.81 106073.67 129391.22 149803.79 147285.5 161037.34 167774.64 164688.75 149820.37 156564.43 147609.08 138582.43 143945.09 142820.14 127860.95 95104.45 97484.44 101674.13 106430.97 98392.04 105526.73 111529.37 124188.61 136847.85 147220.185 155934.52 154732.895 160235.6767 152071.68 154649.98 147925.415 154085.49 165447.824 163861.05 152411.1 153693.6 157449.45 161405.4 169310.87 172743.7933 165371.67 163794.625 164522.08 165388.94 167701.7 166051.7525 163753.145 159636.19 152986.65 150755.0725 141575.835 146349.8 145773.165 144476.245 149541.82 159668.12 160844.92 159701.42 144948.91 153052.97 156816.64 160890.51 170192.88 173844.865 175461.68 178559.13 185414.21 185433.83 178798.76 179688.1375 180577.515 165808.33 167264.86 169585.3 177996.43 174232.77 174818.76 170187.2 159172.36 163232.98 166433.29 169635.41 170223.83 172541.8675 174859.905 178596.27 180864.1 182835.435 182452.25 185283.79 200821.63 209908.46 214093.245 224796.815 216982.55 210883.29 204404.36 202083.14 196550.7 204322.39 210838.94 218930.995 205652.62 210647.53 224221.68 223128.6175 224385.855 230543.45 251576.06 250174.66 251971.96 252236.875
Shangri-La Asia HK.Commerce & Industry HK Commerce & Industry
Miramar HK.Commerce & Industry HK Commerce & Industry
Sino Land HK.Properties HK Properties 85610.795 84070.81333 76065.51 78341.32167 80617.13 75057.1 81531.81 83973.43 89037.62 115735.11 132096.83 134581.47 114165.13 97051.06 81604.5 95684.97 97012.18 75619.89 76575.47 67394.87 41354.8 31487.35 27548.88 38769.34 35917.32714 31869.268 36336.46 45650.65333 49837.02 61072.71571 66452.82222 72777.00571 67330.56667 69277.11143 70863.83 72450.54857 70031.85857 71907.88 74350.4 71733.07 63056.55333 65135.53267 69761.73333 66555.45 78709.91 79298.03 81965.22 76481.34 77533.36 74272.12 71427.85 72297.12 70240.114 66021.62211 66882.805 67348.82 58000.87111 55735.55875 58146.57 63717.835 76084.52 81502.3 73022.29 78347.24 67448.232 65561.745 78508.56 79452.8175 80397.075 82052.31 82726.475 83400.64 86133.14 83757.06 78173.25 75880.785 73662.01667 66377.72 65188.16 61976.33 67924.15 64712.33 64118.49 63524.65 61606.295 65793.13 68185.61 70094.1 72320.27 76772.6 78093.845 82425.71 78870.85333 75315.99667 76519.01 75235.32333 78832.77 76892.27 79213.548 81534.826 84597.75 80025.5 74029.27333 70089.5 71428.01 73131.57 72000.9375 70870.305 61267.82667 66077.67 75132.76 76210.345 73374.03 78047.45 85322.01 81862.08 84574.38 81368.93
Henderson Inv HK.Properties HK Properties
Winsor Ind HK.Commerce & Industry HK Commerce & Industry
Hang Lung Ppt HK.Properties HK Properties 80777.48 88233.86 85542.31 90513.29 96727.02 101914.96 111652.36 120976.32 118283.35 144178.13 152706.12 146292.47 146293.53 125793.25 119167.39 114193.44 131395 123109.85 103627.82 103006.05 103627.82 74115.51 76270.99 69224.22 69804.54 73783.89 62094.53 75444.69 91404.69 108615.19 106335.89 117736.42 100120.89 118369.23 124001.84 117366.29 126911.93 109908.98 122973.63 129818.9 118210.27 115062.9533 120613.77 134758.66 143581.695 153004.21 158248.19 160168.7475 162423.96 154642.855 148398.85 152198.55 154668.59 143295.895 139364.47 128788.24 129023.71 104654 128361.53 101976.35 98512.765 119201.77 131287.57 127266.81 128393.64 110723.23 117210.05 123473.18 118561.16 118564.08 120578.13 127090.11 137878.23 130939.56 134532.2 129852.11 135240.35 122262.46 121143.49 112634.34 108603.69 118240.42 114433.94 116675.23 109732.94 96524.25 96524.51 99885.88 103939.815 110333.16 107196.46 107869.24 114822.09 99124.42 108544.21 104507.43 97555.49 102489.33 98676.81 97779.75 104453.015 111126.28 103390.21 99353.28 88305.1475 77257.015 85536.28 81668.71 79330.18 64129.73 61341.48 66648.14 69616.28 66738.09 70245.88 75552.55 79510.07 78437.72 76998.5
Kunlun Energy Mainland.Commerce & Industry Mainland Commerce & Industry 130271.79 129788.71 129466.64 132848.24 122227.97 123263.885 111002.04 97959.26 91106.14 87397.4 102232.38 115616.11 110133.62 103844.88 111746.11 104456.725 97675.93 102035.02 103165.15 106878.45 103326.6 90410.77 82984.17 67727.36 59170.62 65144.19 61592.34 60785.1 74508.16 67969.53 63691.16 59654.96 44236.7 44721.04 51178.96 54811.53 55699.49 46739.14 44882.49 54407.91 54569.36 51340.4 51582.57 47304.21 46093.35 47950 47384.93
First Pacific HK.Commerce & Industry HK Commerce & Industry
China Mer Port Mainland.Commerce & Industry Mainland Commerce & Industry
Want Want China Mainland.Commerce & Industry Mainland Commerce & Industry 38565.425 40950.91 44674.79 39651.56 39915.9 46127.98 36990.92 38168.35 41602.18 42394.6 40941.83 40545.62 46824.31 51381.26 50324.57 57853.45 61023.5 54419.22 60230.98 60627.24 71590.34 71854.51 65778.58 67171.94 74843.64 77066.62667 81119.58 87196.94 80326.88 82506.87 95124.01 94463.43 88386.06 89971.46 85611.61 76891.91 82373.63667 87855.36333 98487.63 99809.62 91877.72 85267.81 93596.3 96240.27 104172.16 102453.58 95050.48 102056.98 111148.5675 120240.155 117594.61 125663.52 124605.31 126986.3 130822.35 140214.04 149738.01 141272.26 136245.72 143917.81 157410.09 162701.2 151854.44 144425.08 138849.26 152073 155775.65 157626.97 151808.52 148105.88 138521.315 155903.86 152997.17 160660.24 142955.9 147003.74 140405.72 126813.81 127737.54 139613.96 134335.55 134863.39 122986.96 112935.19 108297.36 111762.21 112533.755 107680.57 105448.17 82073.61 84972.63 82841.45667 80788.12333 73418.965 64746.3875 67061.88 73239.47 76169.05 70055.15 70026.24 62562.58333 64849.23 60915.13
Johnson Elec H HK.Commerce & Industry HK Commerce & Industry
Lai Sun Int'l HK.Commerce & Industry HK Commerce & Industry
Denway Motors Mainland.Commerce & Industry Mainland Commerce & Industry
Jar Strategic HK.Commerce & Industry HK Commerce & Industry
Dao Heng Bank HK.Finance HK Finance
Shun Tak Hldgs HK.Commerce & Industry HK Commerce & Industry
CITIC Mainland.Commerce & Industry Mainland Commerce & Industry 58951.97 60167.9 57806 63660.43 65165.23 71782.46 86698.98 90135.49 94307.86 109703.5 107415.87 97108 96338.14 84910.7 94357.42 72499.88 80189.99 73599.04 63081.79 65824.47 60009.98 48907.22 13290.48 11448.24 30555.78 33655.11 29571.28 31941.36 41640.45 64903.68 58413.31 69544.8925 80676.475 77994.37 74734.655 74798.11 76257.58 60422.27 63195.28 67719.65 62830.41 51884.35 53197.87 58306.04 58014.14 64581.78 75345.41 71003.47 73703.5 76440.02 74068.37 80504.95 86941.53 81838.79 70872.21 61675.6 57442.25 40654.81 52260.04 51165.21 51092.22 54230.74 53281.89 47734.73 46639.9 43647.35 42698.5 41019.75 34633.22 33976.33 36056.51 35728.06 42187.58 45545.06 43501.37 36786.4 34268.28 33538.39 30363.37 30728.32 32735.52 36713.41 40289.86 40800.79 43282.41 35399.61 40800.79 50216.35 49632.44 49413.47 49559.45 56493.39 378530.515 322747.08 338187.13 336692.95 329221.95 331712.26 339183.26 330716.13 386997.65 372553.72 346156.19 345658.13 401929.85 410172.71 421808.81 395627.58 399118.41 318247.46 307774.98 343265.1 330465.37 328138.15 328138.15 340937.89 355483.02 321738.32 324065.54
Guangdong Inv Mainland.Commerce & Industry Mainland Commerce & Industry
China Res Beer Mainland.Commerce & Industry Mainland Commerce & Industry 52710.94 57546.72 54546.54 61803.19 63348.59 68014.36 69861.84 75264.08 75562.65 78561.85 80033.52 77734.77 79888.86 61805.64 67414.79 59664.7 68279.19 61717.27 53133.51 47769.14 50993.56 44379.13 35832.65 28618.91 32297.81 27880.225 26327.9 28669.37 32826.7 40759.31 38108.935 46308.32 43449.76 53628 62247.275 61161.08333 64319.95333 66782.49 65606.46 69263.13 66750.88 64000.44 69394.31 70714.45 75037.55 81158.335 77875.445 79100.41667 76385.1 73267.33 68111.04 74773.525 74962.47 74492.71 76293 81211.26 75813.18 62858.73 69782.39667 62865.07 63945.61 64186.2 69705.59 65028.68 67678.09 58925.65 55091.14 51613.01 55333.95 62177.23 60500.54 66401.17 67126.09 66777.24 60777.155 55255.41 63907.65 60904.82 58628.49 57547.23 53102.04 59229.24 65957.11 65733.08 61890.21 55524.92 52520.32 52641.12 53001.85 53429.39 51687.08 54339.645 50304.78 44362.54 44507.36 40025.17 39322.97 41163.21 39177.69 36804.75 57628.49 56417.81 60534.13 58820.98 59246.78 34988.45 35718.39 36691.64 40390 30073.52 30657.47 35134.43
Cathay Pac Air HK.Commerce & Industry HK Commerce & Industry 75486.68 79118.68 76688.04 78271.19 80142.93 81917.4 76648.14 81138.53 80561.19 83714.51 90412.92 80573.52 80376.51 68165.52 63989.07 63961.355 63933.64 64487.16 58432.43 59218.88 57254.14 51515.99 36690.81 29573.24 34293.55 35945.3 31938.59 30290.6 35404.6 42721.55 42013.46 47442.17 44216.41 48150.26 50117.18 52084.1 56962.07 50353.21 56726.04 64357.7 64672.41 60659.88 60974.59 68055.51 75451.14 82807.43 82020.66 89101.58 84380.97 77260.7 71202.59 73326.86 76237.9 73326.86 70887.88 71045.23 61682.68 50353.21 56253.98 53342.93 52398.81 60423.85 60581.2 56568.69 51769.39 47127.46 49015.7 50510.56 49723.8 49645.12 55231.18 53578.96 55939.27 59243.7 56962.07 52241.45 53657.64 56962.07 53342.93 56490.01 52320.13 59794.44 60502.53 64593.73 64515.05 63334.9 62154.74 56883.39 57591.49 55545.88 56962.07 57906.19 56647.36 56253.98 57198.1 67190.06 66481.97 71202.59 68448.89 70573.17 78598.21 78126.16 74979.08 72146.71 55073.82 57119.42 60738.56 53814.99 52792.19 47914.23 48779.67 52792.19 48779.67 47835.55 44531.12 49566.44 43901.7 42485.52 40203.89
SmarTone Telecom HK.Commerce & Industry HK Commerce & Industry
Tingyi Mainland.Commerce & Industry Mainland Commerce & Industry 131926.68 126616.88 128856.4 125525.89 115758.03 103007.87 110836.91 107593.45 128350.11 130594.16 128916.28 126679.12 120526.93 121935.19 113824.82 113276.02 119989.1 111766.07 112996.73 107298.05 107411.86 114989.6 122543.67 128708.03 125359.48 112487.75 121721.82 124522.24 120622.36 123727.68 121513.78 123491.49 121858.28 114300.04 108039.33 103332.22 99298.61 107262.08 109279.55 93476.05 91795.31 92243.63 88765.61 83610.03 68812.96 69027.37 74630.24 62864.22 61967.76 49305.27 41069.05 48576.9 50818.04 39556.27 40956.99 37595.27 40228.62 50313.78
Esprit Holdings HK.Commerce & Industry HK Commerce & Industry 106811.64 97372.74 100178.2 112800.11 117571.05 118384.73 122148.97 130578.27 139824.1 152143.41 157687.1 144599.04 144150.35 125261.69 124544.13 116092.04 119261.28 113420 100767.28 104093.48 80799.22 58859.12 53451.79 45378.44 54657.69 52043.09 52603.36 49215.42 59619.18 61363.53 53890.88 69777.79 58750.41 64831.1 65518.92 64996.15 64559.52 72480.23 70789.04 77962.38 73042.53 59129.67 54685.28 62801.11 56166.74 54234.4 53786.23 48384.41 47420.535 47646.19 49258.04 46034.35 43520.015 37745.3 31228.59 29292.94 28196.06 12323.68 14710.99 13859.3 12930.19 14762.61 22453.62 20130.83 21159.1 16137.2 12767.75 12173.91 15310.98 15388.44 19179.125 23860.03 20816.96 21426.77 19623.43 18110.95 21097.13 23074.98 22415.7
Dairy Farm Int'l HK.Commerce & Industry HK Commerce & Industry
Shanghai Ind Hldgs Mainland.Properties Mainland Properties
Sinopec Corp Mainland.Commerce & Industry Mainland Commerce & Industry
HKEx HK.Finance HK Finance
Mandarin Oriental HK.Commerce & Industry HK Commerce & Industry
Li & Fung HK.Commerce & Industry HK Commerce & Industry 82511.77 83047.47 84597.38 83769.57 83973.69 89446.3 96210.76 94647.27 99055 113754.15 125543.36 106956.95 108697.24 100117.4 100134.28 99636.26 111397.32 101952.58 81356.74 92329.18 83347.76 67520.05 55237.9 51603.83 48261.21 53206.555 62583.29 65747.685 75373.93667 79035.926 78027.63 83899.595 98396.785 110076.24 125749.74 123280.01 123661.74 130194.145 133935.4333 150591.465 145989.89 135307.96 133760.4 138467.7333 147021.425 166596.7267 161779.32 181979.4667 180759.2375 196525.17 192018.765 173382.7775 160520.1133 147822.7633 124958.1 105002.76 113754.09 107110.33 123156.46 125430.33 117453.1 133451.76 146056.13 142028.3175 138000.505 118920.44 123842.7 128023.38 105304.39 100457.77 108648.94 106643.12 114351.79 91123.19 86948.14 89456.26 83938.4 90626.72 89121.84 85777.69 95308.54 94305.29 91629.97 88285.81 83603.98 90292.3 84941.65 95810.16 94138.09 94138.09 95977.37 86948.14 80427.03 73738.71 79005.76 72066.63 60696.49 64291.46 66297.96 63288.22 66130.75 59076.44 51755 50492.68 43002.94 49735.29 53017.32 44938.49 44349.41 37364.59 36943.81 38626.9 40478.3 33325.17 31473.77 32651.94 33577.63 33409.33 32147.01
TVB HK.Commerce & Industry HK Commerce & Industry
Yue Yuen Ind HK.Commerce & Industry HK Commerce & Industry 41091.64 43670.26 44917.98 44086.17 45666.62 42921.63 40343 40925.27 39178.46 38679.37 39511.19 41258 46581.61 37681.2 38762.55 40592.55 39428.01 37265.29 30810.41 33688.49 36183.93 34936.21 25203.92 23249.89 25261.58 23447.76 23942.44 29120.08 28493.49 29383.91 30109.43
SCMP (Hldgs) HK.Commerce & Industry HK Commerce & Industry
China Overseas Mainland.Properties Mainland Properties 124828.54 101928.76 119898.01 111223.61 127074.46 109725.63 95725.95 109301.08 102824.46 72219.18 66570.13 78817.12 87687.01 84156.845 80626.68 99283.08 111693.47 133411.64 146328.85 139157.555 151750.29 141305.0033 140249.91 136415.6 133645.22 113712.81 128580.43 143284.68 130719.1975 118153.715 117678.15 129039.92 135659.45 134188.45 135662.48 127409.575 117520.83 120299.48 105588.95 129289.25 122097.43 132885.16 136317.62 143019.08 135173.47 92512.91 119809.13 105425.49 106079.29 118174.63 132885.16 120626.38 137461.77 132558.25 146941.89 149884 143182.54 161162.07 165902.13 187559.32 188785.19 196549.08 192462.82 174891.91 190421.96 189196.06 166312.74 182657.97 188787.44 186744.28 196142.79 196960.05 178163.03 171216.32 170399.05 164269.59 159664.9525 155060.315 153670.73 194540.61 178192.66 163316.03 183914.45 190453.62 188410.13 183505.76 193314.52 204758.08 265245.51 280533.54 269686.9 241091.22 223835.2 230737.6 248486.66 253416.95 268207.82 220877.02 227779.43 242077.27 244049.39 230244.58 241584.24 251444.83 252923.91 284039.515 262401.04
Tencent Mainland.Commerce & Industry Mainland Commerce & Industry 108344.04 125015.15 120473.57 99819.23 98778.01 76325.04 89825.65 79661.694 82811.825 104271.715 118726.53 140358.73 156946.87 174994.645 211458.35 226362.664 249041.83 263651.28 283212.75 294929.9233 277400.08 287808.355 292014.8 271889.04 273674.42 259962.8 264315.78 310943.43 325427.22 315199.0133 324394.6175 350475.59 378296.95 349374.265 405954.52 398218.5733 380974.185 384297.33 326015.9733 306174.31 335840.89 276719.0967 281711.0967 317344.65 371721.65 400028.2 428334.75 393402.06 409941.24 427567.19 442618.92 487771.69 493784.105 468927.65 461479.97 503170.4 497237.69 456151.17 460020.3767 565352.2367 563525.15 653388.7 672665.15 731071.99 789546.04 834023.29 897179.035 1013084 1160340 1005789.54 918304.56 1017452.275 1081345.12 1211551.53 1184528.41 1081770.4 1157800.98 1161666.1 1054201.37 1237264.87 1273820.37 1379953.56 1508438.01 1459820.66 1450691.85 1351237.485 1239041.6 1215612.54 1378258.32 1450890.88 1434098.41 1362667.67 1334455.09 1489103.51 1494830.23 1630353.29 1656895.02 1765467.92 1910327.25 2016386.58 1948301.7
China Unicom Mainland.Commerce & Industry Mainland Commerce & Industry 144563.27 132939.24 125590 142860.64 145709.2 146525.54 171046.84 179766.17 198258.7 219040.12 253782.01 246445.8 244053.78 245209.2 234013.06 223666.37 230523.53 252475.16 197830.13 221098.93 168625.51 158240.14 261440.75 227215.79 221041.71 173981.22 167088.52 196798.42 210821.49 225795.29 243858.92 265725.41 259070.38 260971.81 268590.97 245517.01 242218.3 207110.79 219363.09 205932.68 231379.74 224782.36 248344.45 247401.97 252585.64 267666.32 259655.2 246460.37 262011.41 303480.84 306308.3 304423.33 372282.4 406683.18 380568.76 365724.48 388820.88 382694 379866.24 378923.62 385050.5 336506.79 329908.63 310114.11 325195.65 251201.85 229993.45 269582.47 289376.99 299745.56 298333.55 284665.83 292677.95 293620.55 263457.29 245076.53 262770.8 251941.16 243493.11 269224.02 284578.265 287964.6567 290881.49 293413.5 275868.6 243069.16 245928.76 242615.76 283157.55 276452.75 285610.78 324841.65 330320.02 304853.3 278834.48 282290.1 250173.205 280658.53 312748.89 282575.56 348669.51 313227.82 292154.38 261981.06 243781.29 234920.88 229173.56 229891.99 226299.91 204747.55 212171.13 245218.1 219355.26 200916.02 192055.6 198042.37 210494.84 222947.33 217678.97
Link REIT HK.Properties HK Properties 111336.91 116135.455 113442.63 109546.62 110348.74 103129.66 104197.61 105265.56 96196.16667 96630.885 104627.15 106203.88 104369.78 99758.61 98633.93 101895 105764.44 107110.32 118438.22 127894.535 126539.55 127817.02 123393.17
China Res Power Mainland.Utilities Mainland Utilities 88735.05 86683.43333 84270.42 76355.8 73974.5 72312.18 72613.2925 72914.405 78633.665 74754.81 69637.84 77618.515 79797.58 80779.87 78572.53 73704.975 64221.93 66450.58 64417.42 61698.21 70819.69 67655.68 73975.88 71905.23 71923.06 62378.56 56229.94 66108.98 72861.39 71081.48 71879.41 72458.44 68292.7 65926.505 66707.45 75558.57 77791 78851.48 80392.22 79001.09 82718.8 94209.43 97782.555 99916.07 103672.815 121336.92 97774.18 88380.5 86375.46 85152.55 88323 97252.39 89884.78 88066.97 88261.5 89796.75 96796.14 93459.01 97545.1 105472.74 104289.61 112444.99 100489.81 108164.9 108413.66 95946.88 105061.83 98593.13 93382.66 112538.36 103426.25 103906.19 95700.68 91097.65 84865.87 80095.925 75325.98 72492.63 62878.22 60474.62 69704.45 63167.34 58648.52 55571.88 59417.68 64422.68 64230.37 63365
PetroChina Mainland.Commerce & Industry Mainland Commerce & Industry 249810.98 243270.32 243270.32 236729.66 228290.1 219850.54 170057.135 170057.135 120263.73 134821.97 143261.53 122795.6 116676.92 130391.2 144738.46 187569.23 181450.55 194320.87 180606.59 184826.37 202549.45 202549.45 196641.74 185670.32 182927.46 191578.01 192000 179973.61 185037.36 185881.32 178074.71 190523.06 199595.59 203604.38 214364.82 228290.09 223648.35 248545.04 235463.72 237995.59 240105.48 232931.86 211832.96 204026.36 216474.72 201705.49 204026.36 239261.53 247701.08 231665.91 248123.07 207191.19 209934.05 205081.31 197274.72 214364.82 223226.36 219006.58 231665.91 233353.84 224914.27 214786.81 208246.14 190734.06 174065.93 191367.02 178074.71 180606.59 187358.23 193476.91 179340.65 158452.74 172589.01 178285.7 189468.11 195164.83 206558.23 214786.81 232087.9 209934.05 204870.32 177441.75 181450.55 177019.78 189890.1 181028.56 210145.04 193898.88 182505.48 162250.54 135876.92 113301.09 127859.33 116254.94 107182.41 100219.78 105283.51 108870.32 120474.72 112668.13 111613.18 110980.22 109292.3 107393.4 112668.13
CNOOC Mainland.Commerce & Industry Mainland Commerce & Industry
China Netcom Mainland.Commerce & Industry Mainland Commerce & Industry
CCB Mainland.Finance Mainland Finance
China Mobile Mainland.Commerce & Industry Mainland Commerce & Industry
Lenovo Group Mainland.Commerce & Industry Mainland Commerce & Industry 80485.86 74024.07 83422.71 72286.4 73209.057 77931.2 84295.21 86291.75 95589.67 98091 104662.43 86145.46 89182.63 91794.57 99912.46 110111.85 110944.45 123225.36 124413.24 125601.12 120862.16 113308.28 111530.89 132859.51 125749.97 148855.97 136636.46 119306.95 93423.78 70651.05 72539.52 80426.66 91090.97 87425.11 76427.55 72095.17 67096.27 68540.4 52988.28 51877.42 55765.45 58098.26 57098.48 55321.1
CKI Holdings HK.Utilities HK Utilities 54439.17 63681.43 61765.35 61314.51 63343.3 62554.33 65033.96 63343.3 205824.985 194427.08 192704.14 176800.08 181836.37 172691.55 176800.08 168450.46
Hengan Int'l HK.Commerce & Industry HK Commerce & Industry 85450.47 83999.8 81726.35 77363.52 83694.06 87566.8 89287.41 85231.68 86583.59 96477.89 100963.81 91255.31 92115.62 90456.44 95864.16 90087.74 86769.36 86031.94 85970.49 95618.36 96724.48 93344.65 97805.575 102266.5 104052.01 104913.97 104606.13 111686.59 116919.98 120306.28 112794.84 103251.61 103744.16 98941.76 100478.88 101022.22 100106.81 102131.04 101394.96 93666.12 100093.45 102909.54 99236.39 112950.92 108910.89 113992.87 117298.79 109095.22 112768.46 106095.41 93113.21 91782.19 102258.08 94888.68 89164.49 84057.15 74764.71 81749.23 84786.5 85032.61 78482.79 79089.31 79635.17 77998.07 74904.83
China Shenhua Mainland.Commerce & Industry Mainland Commerce & Industry 167040.34 156844.59 158373.94 148518.05 138662.16 130165.705 121669.25 118270.67 105016.2 105016.2 91761.73 62873.78 56076.615 49279.45 55736.75 57775.9 52338.17 59339.25 73919.17 87513.5 97029.53 107565.13 106205.7 115042.01 121329.4 128806.28 129146.14 113512.66 113512.66 114022.44 115551.81 106715.49 96859.6 101617.62 96349.82 109094.49 117251.1 110963.72 110793.78 107565.13 109774.21 124558.05 123198.62 131355.22 126087.41 133054.51 122688.82 105525.98 123028.69 110963.72 114532.23 115891.66 121839.18 111303.58 117081.17 92951.23 91931.65 98898.75 96009.96 102297.33 112153.22 107904.99 115381.88 113342.72 99918.32 95840.03 93291.09 86493.93 67291.93 76128.25 81905.84 80206.55 80206.55 89382.72 83095.34 68141.58 71710.09 76128.25 71370.23 72219.88 76128.25 78167.4 75958.32 73579.31 74259.03 74938.74 77997.47 72219.88 68991.22 67291.93 68481.44 64776.98 60086.94 50163.08 45676.95 40239.22 44589.4 41122.85 41394.74 39491.53 37112.52 41462.71 44589.4 41938.51 48463.79 50366.99 47376.24 51522.51 54853.12
China Res Land HK.Properties HK Properties 84985.67 72910.22 74136.3 74539.22 83016.99 74957.09 79507.19 79750.5775 79993.965 76498.81 75744.6 68094.72 78443.9 72194.25 75323.34 75862.13 82327.65 68426.78 45745.69 52377.26 67120.63 72714.33 79822.62 86472.22 78207.05 87054.91 85306.83 92071.16 91721.52 87292.78 99531.97 103144.96 120627.16 122958.12 137526.61 131990.58 126454.56 136978.53 139018.64 123581.24 124164.17 123581.24 128536.14 130897.62 124483.93 112064.68 106588.83 102390.58 99243.94 93063.06 91546.99 82683.85 106128.19 103445.82 93299.5 107527.68 114291.89 119248.43 134469.47 134534.78 143027.57 184499.04 176392.415 174313.13 150747.94 134044.37 125865.86 140351.53 144510.09 156639.24 131272 128638.23 137925.69 132796.8 128776.86 125450.01 133628.52 151441.03 149708.3 134044.37
CK Property HK.Properties HK Properties 267089.755 249335.23 209580.54 217492.88 210352.48 195106.75 194527.8 160755.62 153615.2 192790.94 199711 187114.89 185256.87 213040.6 209579.64 217655.18 220923.86
COSCO Pacific Mainland.Commerce & Industry Mainland Commerce & Industry 40695.78 43545.38 46778.11 43343.23 42767.49 45911.5 45933.72 46506.3 48528.11 55185.95 53755.9 48488.36 46693.53 34976.71 38523.78 34078.79 33090.99 33181.53 28691.47 30712 26850.55 19666.46 12347.66 12796.67 17758.18 15894.81 12796.67 17174.47 16725.47 23572.81 19599.1 23982.56 26380.81 25159.15 24706.65 24435.28 22466.88 25702.29 27376.56 26607.3 24118.52 26111.99 25244.3 28742.17 27766.02 31670.62 32809.46 33351.77 36714.06 39372.8 40676.75 39917.45 43605.48 41815.7 37097.2 34331.18 28907.61 23700.99 29883.86 23728.11 24595.88 29233.03 31890.58 31782.1 30643.15 25816.18 28473.73 28985.28 26292.81 29782.03 32067.455 30479.41 30758.01 35050.72 34604.93 31205.73 28642.4 31762.98 28085.16 30289.765 32005.01 33384.79333 32733.41 33782.98 30987.14 28919.39 30288.18 28832.02 30229.94 29822.21 31278.38 33384.545 31915.15 30269.44 29963.065 30992.21 32403.63
AIA HK.Finance HK Finance 324585.81 345060.6 329403.4 268581.19 290260.4 283636.19 292067 311939.6 354093.6 342651.81 332414.4 304713.19 319166 328199 320972.6 348071.6 369750.81 363126.6 364331 371557.4 404678.38 409496 414915.81 416120.19 395645.38 442617 410098.19 439003.81 473931.38 473329.19 468511.62 430573 457069.81 443219.19 452882.76 467938.71 469144.88 504082.08 509507.23 483611.47 520951.32 539621.24 519746.83 545041.55 549861.4 587843.02 625850.005 615014.51 611404.44 608393.63 516244.63 482511.04 549404.02 557838.56 561453.06 516271.75 478319.48 529527.79 562665.07 542225.19 558494.03 578979.16 591272.6 621464.64 590159.66
ICBC Mainland.Finance Mainland Finance 384551.61 460133.02 450166.25 512458.62 477574.885 442691.15 490033.37 449335.66 380398.77 294020.01 315614.7 338870.52 278239.27 264119.68 334717.72 370432 405315.74 448505.12 463455.27 439368.89 485049.98 522425.39 544020.1 534883.88 473422.05 455980.18 491694.5 479236.01 479236.01 475083.17 492525.04 469269.24 480066.6 518272.55 524236.03 497763.835 503405.47 519028.39 560689.53 570236.89 565897.17 512952.79 514688.67 444385.5 331553.24 428762.59 374082.33 400120.56 471291.65 493858.12 434838.18 449593.14 409667.87 372346.45 386233.48 364534.97 397516.72 445253.46 453932.85 477367.25 506877.23 483442.84 472159.61 473895.49 474763.41 424422.87 442649.62 441781.7 469555.77 471291.65 483442.84 454800.77 417479.35 403592.32 414007.59 400988.48 437441.98 425290.83 462612.25 446121.38 420083.19 445253.46 456536.69 491254.28 484310.76 491254.28 496461.92 584991.84 585859.8 534651.3 463480.21 397516.72 387101.44 429630.5 407064.07 406196.11 349780.02 333289.12 376686.17 365402.93 357591.45 372346.45 381025.84 427894.62 420951.11 405328.19
Belle Int'l Mainland.Commerce & Industry Mainland Commerce & Industry 131405.35 118079.26 119091.37 110825.82 112512.67 114030.83 120272.16 127862.97 138658.8 138321.42 143888.01 134947.73 114705.57 130224.55 120609.53 114199.51 106271.34 108126.86 117573.2 128369.03 105090.54 110657.14 121115.58 118079.26 118416.63 121790.32 137309.32 141863.8 145406.17 120440.84 108801.6 106777.39 101042.11 89908.92 94463.41 90414.98 94969.47 92270.51 80462.58 75655.07 70678.87 80715.61 65196.62 67726.89 64859.25 72534.41 81727.71 83583.25 73630.85 83245.88 74305.6 73546.51 74136.91 70763.22 76161.12 84089.31 83498.9 75317.7 67979.92 59798.71 56509.36 63594.12 57184.1 49087.24 43858.01 42677.22 37869.7 40146.95 38460.1 38291.42 43267.62 42508.53 44870.12 39640.89
China Coal Mainland.Commerce & Industry Mainland Commerce & Industry 41641.56 45830.36 53961.55 58478.88 48869.29 50840.49 49772.76 49444.22 43859.16 40614.9 44516.23 45009.03 52729.55 55029.28 50429.82 49854.89 46733.83 45583.96 43530.63 44434.09 43202.1 43037.83 46158.89 42873.56 29034.11 40614.9 35933.3 34413.84 39998.9 40861.3 35769.03 36590.37 29526.91 26036.24 29362.64 26529.04 29075.17 31621.3 32114.11 34578.1 35522.63 31580.24 28418.11 24516.78 20779.71 16673.05 17001.58 18767.45 19054.92 19547.72 21354.65 17905.05 15933.85 16303.45 17946.12
Sands China Ltd Macau.Commerce & Industry Macau Commerce & Industry 197253.16 184774.83 220602.62 235926.585 234727.14 249839.5029 273481.32 314966.69 297655.39 324256.08 327896.57 331943.64 294500.34 338013.55 352964.1733 379895.65 444252.01 472894.89 510803.32 482585.08 499148.25 467319.83 456436.07 454587.6967 472255.71 464996.46 407331.95 326689.81 389620.72 374708.24 309194.67 306979.13 285615.85 258997.8 256173.85 241660.05 210598.83 276765.31 217059.78 188012.3 227147.92 211412.99 214239.93 216257.26 218681.34 255003.93 224338.89 240484.19 209419.99 238875.98 246141.16 271569.26 272376.29
AAC Tech Mainland.Commerce & Industry Mainland Commerce & Industry 95722.6 90872
FIH HK.Commerce & Industry HK Commerce & Industry 177894.37 163346.64 144607.79 167035.35 166193.29 170115.9 157183.03 160100.17 143059.21 149826.22 150709.79 136425.42 123418.04 90715.99 87757.75 74083.56 85390.96 74963.83 53373.61 52738.56 41380.14 24008.96 19419.01 14122.92 18147.95 20478.23 16241.35 23161.58 34106.84 39049.86 35872.29 38273.19 33612.62 35942.9 42102.19 48261.48 57717.31 72235.234 58763.87 58478.935 59835.19 47286.39429 36501.88 39002.01 36930.47 40716.38 40859.24 39151.615 40112.1525 41072.69 39668.8 33621.29 32973.34 31605.45 24622.02
Ping An Mainland.Finance Mainland Finance 141365.06 173987.77 207506 275310.06 274286.6 219915.42 214158.47 138678.49 139893.845 141109.2 189211.69 166439.78 148401.33 139574.01 147633.74 112452.39 81876.6 74840.33 95949.14 87761.48 95437.41 118337.27 124094.22 137527.1 134200.86 176034.69 148401.33 157356.59 178081.6 184989.95 173987.77 155565.53 151471.71 171173.27 174819.3325 178465.395 183895.08 183895.08 183895.08 226332.4 238477.76 256052.82 248336.95 220759.83 228332.83 225332.2 241335.5 238763.56 242084.8 237390.2 195138.81 138334.18 183715.3 160085.82 160242.3 192165.58 212352.34 183715.3 203119.64 178864.21 193104.49 190444.22 175265.02 183402.32 192165.58 183558.81 203119.64 217672.9 203119.64 188409.9 192322.06 180898.53 163372.04 157112.57 170100.95 180429.08 191070.16 226279.67 217359.91 196860.18 197329.63 201241.81 179490.15 187627.46 187783.95 208127.21 197486.11 182463.4 198268.55 243663.815 289059.08 307584.92 321176.75 347057.07 414830.04 424884.26 389880.64 341657.59 305723.04 285614.56 325086.74 316149.65 320245.81 260292.82 245025.29 276305.09 272953.71 258430.92 254334.76 269602.29 299020.22 299392.6 304978.28
Mengniu Dairy Mainland.Commerce & Industry Mainland Commerce & Industry 76332.86 78030.23 74505.66 70205.99 73830.91 70403.75 62669.75 67076.24 61592.66 62674.91 69273.02 68587.15 80769.86 76960.43 86785.29 75803.95 68743.3 53151.02 53347.15 59527.82667 48421.83 49599.08 41951.59 43833.53 48381.56 52085.825 50401.76 52834.54 50803.33 57735.24 56487.76 57664.59
BOC Hong Kong Mainland.Finance Mainland Finance 223085.67 215684.71 199825.54 200248.46 204477.57 196442.26 196865.18 214627.43 197922.44 208283.78 229957.97 215156.08 231015.25 203631.75 206169.22 198133.9 213041.52 210821.24 218327.91 209552.5 185023.65 143789.82 90714.45 94309.2 92829.01 84899.42 82679.14 83842.15 116934.95 130468.11 143578.36 174662.33 164301 179737.26 192847.51 187984.04 186080.94 172336.31 185023.65 195807.9 199825.54 185869.48 188829.86 210821.24 216213.36 260090.4 256918.55 282293.24 279650.05 265905.42 255332.64 268019.98 257975.83 253746.73 238944.84 246345.77 225728.86 176565.44 198556.82 180583.09 194539.15 216742 229957.97 226786.14 254275.36 225728.86 249517.62 252160.81 259561.75 260619.03 252160.81 251632.16 254804.01 282821.87 276478.2 273835 282293.24 273835 252160.81 257447.2 258504.49 263262.22 267491.33 277006.85 262733.59 249517.62 248988.97 233658.45 240002.12 246874.42 237358.93 258504.49 275420.92 261676.31 272777.72 289694.18 274363.66 288108.26 289165.54 292337.37 318769.32 337271.69 341500.79 330399.38 277006.85 240530.75 263262.22 251103.53 250574.9 216742 213570.17 244759.86 245817.14 252689.44 245288.51 269077.27 287050.98 277006.85 292866.02
CHALCO Mainland.Commerce & Industry Mainland Commerce & Industry 16091.38 14198.28 14592.67 17550.65 23466.6 29303.67 28948.71 35574.57 32419.4 33365.95 34430.82 33839.23 33720.91 30920.69 29619.19 31630.61 30526.3 26227.37 23742.68 27134.49 24373.71 28869.83 29027.59 27410.56 27962.72 30053.02 30329.1 29185.35 28751.51 27055.61 25872.42 26306.25 20508.62 13725 17116.81 13961.64 13330.61 14908.19 16919.61 14750.43 14868.75 13251.73 13015.09 12620.69 11713.58 12660.13 13370.05 13015.09 14001.08 14750.43 13212.29 11792.46 11555.82
China Life Mainland.Finance Mainland Finance 167054.38 181936.73 179704.37 209097.02 251883.76 280160.25 332248.48 382848.46 315505.83 300251.4 208352.9 234024.96 199051.43 251511.71 233280.84 203144.07 221374.96 222119.08 212445.54 151427.91 148377.03 175239.67 154776.43 162217.61 191238.2 203516.14 210213.19 212073.49 255604.35 243326.43 251139.66 271974.94 288717.58 285369.05 257836.73 256348.48 276811.72 266022.01 255232.3 257836.73 256720.54 221002.9 228072.01 252627.9 248163.17 236257.31 225467.6 220630.84 217282.32 205376.43 203888.19 197935.26 193470.55 145549.38 139894.08 154404.38 143317.03 142870.57 170030.85 180076.44 149939.67 156264.68 135578.2 148525.85 159613.21 154404.38 166682.32 170402.9 170030.85 188261.72 193470.55 173379.37 149567.62 157752.92 149195.55 136917.62 138405.86 141679.98 149567.62 153288.21 186029.38 180448.49 157752.92 168914.68 163333.8 148674.67 158497.02 151055.85 173751.44 165566.14 160357.32 172635.27 200539.67 226583.78 227699.96 247419.07 252627.9 280904.36 277183.77 251139.66 212445.54 199423.48 199423.48 208724.95 199051.43 186401.43 139745.27 125904.68 142424.08 134387.62 129327.62 123672.33 131559.98 137959.39 148823.5 143317.03
Bankcomm Mainland.Finance Mainland Finance 216344.71 323363.85 284615.54 250941.42 199507.64 220265.68 209656.02 258783.34 235718.87 210578.6 229030.18 209194.72 159836.76 101944.95 117167.5 128930.38 119473.94 108633.65 124086.84 145536.79 164680.3 200430.22 220035.03 210809.25 217728.57 218881.8 213115.68 207810.86 181978.65 196970.56 213346.33 208272.14 190512.51 218824.145 224526.835 218824.14 222537.53 224659.46 215110.75 207684 197074.34 199196.29 227046.64 218293.65 214845.53 208665.4 202485.27 179435.8 136838.03 158720.45 141798.05 158428.67 181478.15 187021.7 171266.36 175059.31 147049.82 151426.31 150259.25 179260.74 184162.41 193965.72 198867.37 204469.28 230378.05 214972.83 203418.92 216023.2 208320.58 175059.31 176809.91 179260.73 199567.61 198517.26 202718.68 191514.88 176809.91 174359.08 177510.15 168757.18 181711.57 187313.46 208670.7 198167.14 189414.17 203418.92 225126.27 253485.88 228277.34 234229.36 232828.89 279044.54 258387.55 282895.85 238780.91 204469.28 188013.7 200968.08 189064.06 191164.77 164905.87 155452.67 178560.5 171908.24 168407.06 171208 183112.04 209721.05 206920.1 206920.1
Bank of China Mainland.Finance Mainland Finance 324606.47 293438.16 284315.74 295718.79 294958.58 291157.56 294958.58 316244.23 304841.22 316244.23 384662.47 307882.03 287356.55 240984.2 253907.63 252387.23 302560.6 302560.6 263790.27 272152.49 257708.66 224259.74 168004.76 186249.62 161162.92 157361.92 164963.95 195372.04 220458.74 264550.48 280514.73 293438.16 286596.35 310162.62 348172.75 332208.49 319285.04 285075.94 286596.35 314723.83 310162.62 294958.58 301800.4 311683.02 297239.19 309402.44 357485.235 405568.03 345359.995 338670.24 343687.57 362084.45 358739.56 360412.01 316928.42 300203.97 269263.73 204874.58 235814.81 201529.69 239159.7 278462.17 282643.3 261737.73 271772.4 250030.61 245849.5 248358.16 235814.81 246685.72 266755.07 273444.84 289333.08 319437.09 306057.54 301040.19 303548.87 307729.98 266755.07 271772.4 272608.62 296022.86 303548.87 313583.54 298531.52 275117.29 272608.62 287660.64 285151.97 308566.2 290169.3 311074.87 301040.19 291005.52 310238.65 334489.11 365429.34 362920.69 372955.36 374627.8 445706.73 430654.73 421456.27 354558.43 296022.86 278462.17 306893.76 287660.64 289333.08 254211.72 243340.83 269263.73 265082.62 264246.4 258392.83 266755.07 291841.75 296022.86 291005.52
<!DOCTYPE html>
<meta charset="utf-8">
<style>
body {
transform: scale(0.5);
transform-origin: 10% 10%;
}
#mychart {
position: relative;
margin-top: -100px;
margin-left: 200px;
}
#controlpanel {
position: absolute;
left: 50px;
top: 100px;
display: inline-block;
}
circle {
fill: rgb(31, 119, 180);
fill-opacity: 0;
stroke: rgb(31, 119, 180);
stroke-width: 0px;
}
.leaf circle {
fill-opacity: 1;
}
.region circle {
fill-opacity: 0.15;
}
.industries circle {
stroke-width: 1px;
}
text {
font: 10px sans-serif;
text-anchor: middle;
}
.region text{
font: 100px sans-serif;
text-anchor: middle;
opacity: 0.5;
}
.legendCells text{
font: 24px;
}
/* drop down list for years*/
.dropbtn {
background-color: #f9f9f9;
color: #2c3e50;
padding: 16px;
font-size: 32px;
border: none;
cursor: pointer;
letter-spacing:2px;
}
.dropdown {
position: relative;
display: inline-block;
}
.dropdown-content {
display: none;
position: absolute;
background-color: #f9f9f9;
min-width: 120px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}
.dropdown-content a {
color: #2c3e50;
padding: 12px 30px;
text-decoration: none;
display: block;
text-align: center;
}
.dropdown-content a:hover {background-color: #f1f1f1}
.dropdown:hover .dropdown-content {
display: block;
}
.dropdown:hover .dropbtn {
background-color: #f9f9f9;
}
/* play button */
.button-container {
display: flex;
margin: 60px auto;
flex-wrap: wrap;
justify-content: center;
}
#play {
display: flex;
overflow: hidden;
margin: 10px 0;
padding: 10px 15px;
cursor: pointer;
user-select: none;
transition: all 60ms ease-in-out;
text-align: center;
white-space: nowrap;
text-decoration: none !important;
text-transform: none;
text-transform: capitalize;
color: #f4f7f7;
border: 0 none;
border-radius: 4px;
background: #79a8a9;
font: 30px sans-serif;
font-weight: 500;
line-height: 1.3;
letter-spacing:2px;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
justify-content: center;
align-items: center;
flex: 0 0 160px;
&:hover {
transition: all 60ms ease;
opacity: .85;
}
&:active {
transition: all 60ms ease;
opacity: .75;
}
&:focus {
outline: 1px dotted #959595;
outline-offset: -4px;
}
}
</style>
<div id="mycontainer" width="1200" height="1200" style="z-index:1;">
<div id="controlpanel">
<div class="dropdown">
<button class="dropbtn">2006</button>
<div class="dropdown-content">
<a class="seleted-time" href="#">2006</a>
<a class="seleted-time" href="#">2007</a>
<a class="seleted-time" href="#">2008</a>
<a class="seleted-time" href="#">2009</a>
<a class="seleted-time" href="#">2010</a>
<a class="seleted-time" href="#">2011</a>
<a class="seleted-time" href="#">2012</a>
<a class="seleted-time" href="#">2013</a>
<a class="seleted-time" href="#">2014</a>
<a class="seleted-time" href="#">2015</a>
<a class="seleted-time" href="#">2016</a>
</div>
</div>
<div id='play'>PLAY</div>
</div>
<div id="mychart" width="1200" height="1200" style="z-index:1;">
<svg width="1200" height="1200"></svg>
</div>
</div>
<script src="https://d3js.org/d3.v4.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3-legend/2.17.0/d3-legend.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script>
// global variables for animation
var isPlaying = false;
var loop;
var time = 0;
var duration = 400;
var loop_duration = duration + 100;
var svg = d3.select("svg"),
diameter = +svg.attr("width"),
g = svg.append("g").attr("transform", "translate(2,2)"),
format = d3.format(",d");
// hierarchy defined by region
var stratify = d3.stratify()
.id(function(d) { return d.name; })
.parentId(function(d) { return d.parent; });
var pack = d3.pack()
.size([diameter - 4, diameter - 4])
.padding(4);
// set industry-color mapping
var color = d3.scaleOrdinal()
.domain(["Finance", "Utilities", "Properties", "Commerce & Industry"])
.range(["#b3cde3","#fbb4ae","#decbe4","#ccebc5"]);
d3.csv("HSI_Hierarchy.csv", function(error, data) {
if (error) throw error;
// without 2017-03 to 2017-05
var date = ['2006-12','2007-01','2007-02','2007-06','2007-07','2007-08','2007-09','2007-10','2007-11','2007-12','2008-01','2008-02','2008-03','2008-04','2008-05','2008-06','2008-07','2008-08','2008-09','2008-10','2008-11','2008-12','2009-01','2009-02','2009-03','2009-04','2009-05','2009-06','2009-07','2009-08','2009-09','2009-10','2009-11','2009-12','2010-01','2010-02','2010-03','2010-04','2010-05','2010-06','2010-07','2010-08','2010-09','2010-10','2010-11','2010-12','2011-01','2011-02','2011-03','2011-04','2011-05','2011-06','2011-07','2011-08','2011-09','2011-10','2011-11','2011-12','2012-01','2012-02','2012-03','2012-04','2012-05','2012-06','2012-07','2012-08','2012-09','2012-10','2012-11','2012-12','2013-01','2013-02','2013-03','2013-04','2013-05','2013-06','2013-07','2013-08','2013-09','2013-10','2013-11','2013-12','2014-01','2014-02','2014-03','2014-04','2014-05','2014-06','2014-07','2014-08','2014-09','2014-10','2014-11','2014-12','2015-01','2015-02','2015-03','2015-04','2015-05','2015-06','2015-07','2015-08','2015-09','2015-10','2015-11','2015-12','2016-01','2016-02','2016-03','2016-04','2016-05','2016-06','2016-07','2016-08','2016-09','2016-10'];
// yearly
//var date = ['2006-12','2007-12','2008-12','2009-12','2010-12','2011-12','2012-12','2013-12','2014-12','2015-12','2016-10'];
// convert csv to d3.hierarchy data, d.r automatically generated by marketcap
// sum(): define the value of each node (value returned by the specified function + the combined value of all descendants)
var root = stratify(data)
.sum(function(d) { return d[date[0]]; })
.sort(function(a, b) { return b.value - a.value; });
// Add legend
var svg = d3.select("svg");
svg.append("g")
.attr("class", "legendOrdinal")
.attr("transform", "translate(30,900)");
var legendOrdinal = d3.legendColor()
.shape("path", d3.symbol().type(d3.symbolCircle).size(700)())
.shapePadding(12)
.scale(color);
svg.select(".legendOrdinal")
.call(legendOrdinal);
svg.selectAll(".label")
.style("font-size", function(d) {return "24px";})
.style("text-anchor", "right")
.attr("transform", function(d) { if(d=="Utilities") return "translate(75, 10)"; else return d.length > 9 ? d.length > 10? "translate(150, 10)" : "translate(90, 10)" : "translate(80, 10)";});
// pack(root): invoke Pack layout
// descendants(): Returns the array of descendant nodes, starting with this node, then followed by each child in topological order.
var node = g.selectAll(".node")
.data(pack(root).descendants())
.enter().append("g")
.attr("class", function(d) { return d.children ? "node" : "leaf node"; }) // apply class for styling
.attr("transform", function(d) { return "translate(" + d.x + "," + d.y + ")"; }); // locate circles
// add title for tooltip
var title = node.append("title")
.text(function(d) { return d.data.name + "\n" + format(d.value); });
// fill: set color by industry
var circle = node.append("circle")
.attr("r", function(d) { return d.r; })
.style("fill", function(d) { return color(d.data.industry); });
// add leaf node label: filter and only apply to leaf nodes
var label = node.filter(function(d) { return !d.children; }).append("text")
.attr("dy", "0.3em")
.text(function(d) { return d.data.name.substring(0, d.r / 3); });
// Helper function: Move region svg to front (should be defined before called)
d3.selection.prototype.moveToFront=function(){
return this.each(function(){
this.parentNode.appendChild(this);
});
};
// add region node label and move to front
var region = node.filter(function(d){return d.depth === 1;})
.attr("class", function(d) { return "region";})
.moveToFront()
.append("text")
.attr("dy", "0.3em")
.style("font-size", function(d) { if (d.value === 0) {return "0px";} else {return d.r > 150 ? "100px" : "50px";}; }) // do not show label if no value
.text(function(d){return d.data.name; });
var industries = node.filter(function(d){return d.depth === 2;})
.attr('class', function(d) {return "industries";})
.selectAll("circle")
.style("stroke", function(d) { return color(d.data.industry); });
// play animation from start
$("#play").on("click", function() {
if (!isPlaying){
play(time);
}else{
time = date.indexOf($(".dropbtn").text());
pause();
}
});
$(".seleted-time").on("click", function(){
selected = $(this).text();
$(".dropbtn").html(selected);
time = getDate(selected);
update(date[time]);
});
function getDate(year) {
for (var i =0; i<date.length; i++){
if(date[i].substring(0, 4)==year){
return i;
}
}
}
function play(start_time){
$("#play").html('PAUSE');
isPlaying = true;
time = start_time;
loop = setInterval(function(){
time ++;
if(time<date.length){
update(date[time]);
$(".dropbtn").html(date[time]);
} else if(time==date.length) { // when animation is finished
reset();
clearInterval(loop);
}
}, loop_duration);
}
function pause(){
$("#play").html('PLAY');
clearInterval(loop);
isPlaying = false;
}
function reset(){
$("#play").html('PLAY');
isPlaying = false;
time = 0;
}
function update(column){
// update value
root
.sum(function(d) { return d[column]; })
.sort(function(a, b) { return b.value - a.value; });
// update Pack layout
node.selectAll("g")
.data(pack(root).descendants());
// relocate circles
node.transition()
.duration(duration)
.attr("transform", function(d) { return "translate(" + d.x + "," + d.y + ")"; });
// update tooltip
title.text(function(d) { return d.data.name + "\n" + format(d.value); });
// update region label
region.text(function(d){return d.data.name; })
.style("font-size", function(d) {if (d.value === 0) {return "0px";} else {return d.r > 150 ? "100px" : "50px";};});
// update leaf node label
label.text(function(d) { return d.data.name.substring(0, d.r / 3); });
// resize circles
circle.transition()
.duration(duration)
.attr("r", function(d) { return d.r; })
.style("fill", function(d) { return color(d.data.industry); });
}
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment