176 строки
35 KiB
JavaScript
176 строки
35 KiB
JavaScript
var medal_data = [
|
|
{ Country: "US", GameName: "Swimming", GoldMedals: 16, SilverMedals: 9, BronzeMedals: 6, TotalMedals: 31,scale:2,size:"106", GameImage:"images/treemap/Swimming.png", GameImgSource: "M36.614902,12.934C38.21653,14.854298 40.130559,14.957187 42.667001,15.198062 41.349379,17.453024 38.422233,17.525916 36.614902,16.218955 36.614902,16.218955 32.552335,18.691294 30.534001,15.281452 35.547185,17.525916 36.614902,12.934 36.614902,12.934z M30.355751,0.27499962C33.169468,0.27499962 35.435002,2.5524158 35.435002,5.3543787 35.435002,8.1683025 33.169468,10.434 30.355751,10.434 27.553633,10.434 25.283,8.1683025 25.283,5.3543787 25.283,2.5524158 27.553633,0.27499962 30.355751,0.27499962z M15.288996,0L29.005001,15.638152C27.546711,17.301079 24.460732,18.916905 22.369647,15.333547 20.282461,18.910505 16.752485,17.612184 15.520794,15.268446 13.878805,17.731986 10.554628,18.427297 8.7460308,15.46635 6.8411427,18.049691 2.7343616,18.672201 1.4765511,14.412932L15.467294,7.4102798 13.494707,4.8438282 0,7.9700985 0.66796494,5.4661484z" },
|
|
{ Country: "US", GameName: "Track and Field", GoldMedals: 9, SilverMedals: 13, BronzeMedals: 7, TotalMedals: 29,scale:1.5,size:"106",GameImage:"images/treemap/TrackAndField.png", GameImgSource: "M0.24926972,29.857C12.491581,35.179555 57.758176,33.109428 57.758176,33.109428 59.89359,33.109428 61.601999,32.222702 61.601999,32.222702L61.423497,34.920476C59.466485,37.137693,52.598043,36.879814,52.598043,36.879814L25.978667,36.879814C4.4127485,36.657133,0,33.256416,0,33.256416z M56.29059,6.1702098C56.381871,6.1685809 56.476064,6.1763707 56.573152,6.1948419 56.573152,6.1948419 61.37914,12.701559 60.269746,27.121316L40.157197,27.121316 40.15043,27.121992 31.396173,13.713 28.306998,15.335399 36.247338,27.510948 32.49949,27.884435 25.129827,16.597999 22.096,18.387087 28.585576,28.274473 24.745053,28.657194 18.863361,19.648 15.717999,21.353855 20.812688,29.045408 20.762744,29.04626C19.491595,29.067247 5.8087747,29.246517 0.52250596,27.343921 0.52250636,27.343921 0.079147995,21.796947 6.5121142,20.096294 6.5121147,20.096294 9.6969797,18.991912 10.155732,18.549068L10.184791,18.515684 10.179689,18.487023C10.173944,18.438524 10.171001,18.389309 10.171001,18.3395 10.171001,17.543945 10.924367,16.897999 11.85355,16.897999 12.318092,16.897999 12.738704,17.059486 13.043182,17.320416L13.077654,17.352919 13.267695,17.276835C13.697025,17.104328,14.16164,16.915734,14.65496,16.712817L14.91344,16.606156 14.912687,16.601924C14.906943,16.553483 14.904,16.504335 14.904,16.4546 14.904,15.658945 15.657166,15.012999 16.586,15.012999 16.992364,15.012999 17.365106,15.136637 17.655864,15.342358L17.741206,15.408854 18.40907,15.117934C18.708841,14.986282,19.012138,14.851975,19.318097,14.715243L19.852275,14.473518 19.829688,14.346792C19.823943,14.298359 19.821,14.249221 19.821,14.1995 19.821,13.403744 20.57439,12.757999 21.503501,12.757999 21.910031,12.757999 22.282888,12.881599 22.573724,13.087285L22.668685,13.161243 23.062326,12.972832C23.480298,12.769582,23.896877,12.563663,24.310016,12.355622L24.612378,12.201501 24.575193,12.135359C24.490071,11.962926 24.443,11.773388 24.443,11.574499 24.443,10.778744 25.196143,10.133 26.125049,10.133 26.647504,10.133 27.114377,10.337317 27.422889,10.657723L27.448274,10.686815 28.103576,10.311203C28.577443,10.034708,29.034965,9.7576087,29.471852,9.4810517L29.514789,9.4534912 29.455554,9.3610721C29.347419,9.1723909 29.286,8.9561746 29.286,8.7263744 29.286,7.9922447 29.914922,7.3959997 30.691051,7.3959993 31.078765,7.3959997 31.430003,7.5450609 31.684312,7.7858884L31.766626,7.8716462 31.924695,7.7458919C32.323844,7.420898 32.6797,7.1002337 32.984719,6.7859208 32.984719,6.7859207 34.537416,6.6376059 36.090112,8.0439016 36.090112,8.043901 42.375291,15.88146 45.036687,14.920429 45.036687,14.920429 53.46766,13.957998 54.207261,8.3382192 54.207261,8.3382199 54.921369,6.1946403 56.29059,6.1702098z M42.874902,0C51.282678,4.589761 44.135343,11.038999 44.135343,11.038999 43.43612,10.170591 36.569997,4.7134222 36.569997,4.7134223z" },
|
|
{ Country: "US", GameName: "Gymnastics", GoldMedals: 3, SilverMedals: 1, BronzeMedals: 2, TotalMedals: 6,size:"80",scale:1.2,GameImage:"images/treemap/Gymnastics.png", GameImgSource: "M37.697999,60.087L40.716,60.087 40.716,66.668001 37.697999,66.668001z M6.5809994,60.087L9.5959988,60.087 9.5959988,66.668001 6.5809994,66.668001z M0,54.603003L47.57,54.603003 47.57,58.990999 0,58.990999z M17.059524,32.00001C19.121032,31.995249 20.890248,33.550051 21.107481,35.646019 21.341895,37.879118 19.719493,39.877909 17.484951,40.109718 15.25298,40.342829 13.252854,38.720356 13.021029,36.485857 12.789325,34.251358 14.411747,32.253868 16.643698,32.022058 16.783357,32.007576 16.92209,32.000327 17.059524,32.00001z M24.706491,14.764674L25.92599,26.483109 32.273646,21.152262 24.769731,14.802777z M10.305297,1.335144E-05C10.802235,-0.001537323,11.306123,0.12894249,11.763537,0.40467644L18.590769,4.5175867 18.518184,3.8195658C18.377572,2.44065 19.377656,1.2050457 20.755273,1.061615 20.841548,1.0526657 20.927264,1.048193 21.012187,1.048008 22.286031,1.0452309 23.381487,2.0073004 23.513404,3.3000336L23.977839,7.7629032 40.939978,17.981355 41.0009,18.006477C41.3997,18.183563,41.773176,18.413715,42.110849,18.696768L42.252626,18.822779 42.327505,18.88526C42.396151,18.948638,42.461124,19.014967,42.522343,19.083926L42.603912,19.180496 42.677725,19.263363C44.539892,21.480714,43.972073,25.019637,41.412077,27.173289L30.825789,36.063696C28.263196,38.214649 24.677064,38.160151 22.815097,35.9426 22.523742,35.596138 22.291772,35.217346 22.117518,34.81658L22.117351,34.816164 22.035269,34.708132C21.805967,34.374027,21.654398,33.979731,21.609644,33.548791L19.318774,11.518487 8.8626022,5.2184744C7.5345058,4.4163408 7.1073914,2.6910915 7.9069347,1.3605003 8.4332352,0.48714256 9.3565989,0.0029773712 10.305297,1.335144E-05z" },
|
|
{ Country: "US", GameName: "Boxing", GoldMedals: 1, SilverMedals: 0, BronzeMedals: 1, TotalMedals: 2,size:"38",scale:0.5,GameImage:"images/treemap/Boxing.png", GameImgSource: "M16.569584,15.641L37.814152,25.655761 37.622078,25.94354C28.614645,39.259997 21.343117,38.998635 21.343117,38.998635 19.958994,39.274531 21.066412,40.936 21.066412,40.936 31.60787,40.706283 36.645149,29.662182 38.065308,25.872559L38.096336,25.788784 44.287304,28.707227C44.287304,28.707227 46.46513,48.503964 34.981895,58.40363 34.981895,58.40363 25.479086,68.303197 12.214033,61.769288 12.214033,61.769288 -0.2594615,57.019349 1.7210317,39.597779 1.7210317,39.597779 10.036308,43.358033 14.590361,35.438838 14.590361,35.438838 15.728474,33.483165 12.75904,33.705859 12.75904,33.705859 8.0068845,40.759366 2.2900083,36.379022 2.290008,36.379022 -3.0551439,32.666772 2.5870111,25.763165 2.5870113,25.763165 11.620326,18.213865 16.569584,15.641z M25.281002,0L50.820999,11.679653 44.287098,25.340999 18.747,13.859445z" },
|
|
{ Country: "US", GameName: "Cycling", GoldMedals: 1, SilverMedals: 2, BronzeMedals: 1, TotalMedals: 4,size:"58",scale:0.8,GameImage:"images/treemap/Cycling.png", GameImgSource: "M13.134401,30.397141C7.8660908,30.397141 3.5886755,34.67849 3.5886755,39.94805 3.584775,45.22801 7.8660908,49.506758 13.134401,49.506758 18.415781,49.506758 22.700946,45.22801 22.700945,39.94805 22.700946,34.67849 18.413081,30.397141 13.134401,30.397141z M50.860853,30.39444C45.588812,30.39444 41.306261,34.671888 41.306261,39.94805 41.306261,45.232012 45.588812,49.506758 50.860853,49.506758 56.130293,49.506758 60.42074,45.232012 60.42074,39.94805 60.42074,34.671888 56.130293,30.39444 50.860853,30.39444z M50.866152,26.809999C58.112169,26.809999 64.000002,32.682365 64.000002,39.950651 64.000002,47.216333 58.112169,53.094 50.866152,53.094 43.613535,53.094 37.723003,47.218931 37.723003,39.950651 37.723003,32.682365 43.610935,26.809999 50.866152,26.809999z M13.134401,26.809999C20.397511,26.809999 26.283,32.684866 26.283,39.950651 26.283,47.216333 20.397511,53.094 13.134401,53.094 5.8946199,53.094 0,47.216333 0,39.950651 0,32.687567 5.8946199,26.809999 13.134401,26.809999z M30.469283,7.4000494C30.654819,7.3990553 30.765408,7.4132987 30.765408,7.4132978 32.897127,7.4132987 34.020834,9.2765409 34.020834,9.276541L39.308575,17.57195 47.352934,17.556251C50.238356,17.556251,50.238356,21.325874,47.352934,21.325874L38.037962,21.325874C37.338558,21.343973,36.579451,20.99368,36.031248,20.120098L32.902227,15.222999 26.442575,21.618668 32.428422,24.772303C34.893337,25.953278,34.524736,28.118534,34.524736,28.118534L34.524736,41.678259C34.524736,43.212023 33.281227,44.462 31.744816,44.462 30.206905,44.462 28.968695,43.212023 28.968695,41.678259L28.968695,30.819078 18.588418,25.049698C17.348708,24.362211 16.509001,23.035338 16.509001,21.52627 16.509001,20.487291 16.887904,19.53541 17.544109,18.825926L27.738186,8.6164038C28.681542,7.5431535,29.912676,7.403032,30.469283,7.4000494z M37.8319,0C40.495756,-4.7683716E-07 42.656002,2.1629319 42.656002,4.8192949 42.656002,7.4822482 40.495756,9.6319997 37.8319,9.6320002 35.172745,9.6319997 33.013899,7.4822482 33.009998,4.8192949 33.009998,2.1656218 35.172745,-4.7683716E-07 37.8319,0z" },
|
|
{ Country: "US", GameName: "Shooting", GoldMedals: 3, SilverMedals: 0, BronzeMedals: 1, TotalMedals: 4,size:"46", scale:0.8,GameImage:"images/treemap/Shooting.png",GameImgSource: "M11.448,24.984L9.5519998,25.695004 10.895921,27.039z M47.740997,18.511999L53.656997,18.511999 53.656997,21.803 47.740997,21.803z M17.03659,14.323001L42.859409,14.323001C44.724003,14.322999 46.236999,15.836066 46.236999,17.700749 46.236999,19.565532 44.724003,21.076 42.859409,21.076L24.064657,21.076 24.065279,21.080895C24.076998,21.196447,24.083,21.31369,24.083,21.432338L24.083,36.854333 32.725975,61.898253C33.364067,63.744521,32.384781,65.754882,30.541103,66.392768L30.309408,66.470965C28.465633,67.109054,26.452659,66.129874,25.817266,64.286208L18.49288,43.066745 18.455305,43.094848C17.92083,43.456048 17.276596,43.667001 16.583299,43.667001 15.889028,43.667001 15.244184,43.456048 14.709329,43.094848L14.476679,42.920943 7.1038835,64.286208C6.4684989,66.129874,4.4554241,67.109054,2.6116605,66.470965L2.3799686,66.392768C0.53620338,65.754882,-0.44305193,63.744521,0.19501537,61.898253L9.2097795,35.777408 9.1559961,35.765889 9.1559961,34.463872 2.7627022,27.855366 2.7179694,27.821926C2.5628545,27.693963,2.4202363,27.551415,2.2922215,27.396393L2.2018757,27.275661 2.1270001,27.198263 2.1292462,27.1786 2.1114137,27.15477C1.7727559,26.653869 1.5749997,26.050207 1.575,25.400799 1.5749997,24.533572 1.9265664,23.748372 2.4949329,23.179979L2.5966918,23.087489 2.6010213,23.049602 11.486799,16.1017C11.486799,16.101699 13.815703,14.831585 15.005105,14.80541 15.090062,14.80354 15.169205,14.808017 15.241272,14.819757L15.269189,14.82606 15.425875,14.730838C15.90448,14.47076,16.453123,14.322999,17.03659,14.323001z M47.740997,13.720001L61.073997,13.720001 61.073997,17.012 47.740997,17.012z M16.349001,0C19.880411,0 22.745001,2.86203 22.745001,6.3960099 22.745001,9.9273105 19.880411,12.792 16.349001,12.792 12.81769,12.792 9.9529998,9.9273105 9.9529998,6.3960099 9.9529998,2.86203 12.81769,0 16.349001,0z" },
|
|
{ Country: "US", GameName: "Wrestling", GoldMedals: 2, SilverMedals: 0, BronzeMedals: 2, TotalMedals: 4,size:"64",scale:1,GameImage:"images/treemap/Wrestling.png", GameImgSource: "M0,32.409L63.307999,32.409 63.307999,35.768 0,35.768z M14.206561,11.278331C14.861805,11.285397,15.514531,11.405818,16.144468,11.650936L16.19647,11.671735C17.351732,12.12022,18.280522,12.929351,18.937762,13.963412L19.098727,14.231707 26.213818,21.37253 29.003161,16.191111C29.698582,14.901102,30.960119,14.152335,32.16317,14.190383L32.29583,14.201933 32.428391,14.190383C33.630644,14.152335,34.892586,14.901102,35.58701,16.191111L38.377102,21.372689 45.493145,14.232104 45.654255,13.963411C46.311135,12.92935,47.239609,12.120219,48.394898,11.671733L48.448097,11.650935C49.078217,11.405818 49.730995,11.285396 50.3862,11.278331 53.225426,11.247711 56.110241,13.345665 57.394535,16.64958L61.00647,25.937181C61.598732,27.462551,61.766205,29.028395,61.566906,30.458714L61.523136,30.729 48.80008,30.729 48.782791,30.68713 45.651612,22.63127 40.31889,27.89197 40.215893,28.102253C39.970505,28.543674 39.614693,28.910891 39.158539,29.156298 37.69907,29.942602 35.766583,29.184797 34.838351,27.466085L32.296149,22.740871 29.753184,27.466085C28.826054,29.184797 26.893896,29.942602 25.432652,29.156298 24.97695,28.910891 24.621184,28.543674 24.375685,28.102253L24.273226,27.893198 18.940394,22.632272 15.808352,30.68713 15.791065,30.729 3.0685919,30.729 3.0248708,30.458714C2.8258268,29.028395,2.993639,27.462551,3.5864716,25.937181L7.1960251,16.64958C8.4804957,13.345666,11.36717,11.247712,14.206561,11.278331z M46.516701,0C49.544091,0 52.001,2.4544477 52.001,5.4844489 52.001,8.5142019 49.544091,10.969999 46.516701,10.969998 43.48571,10.969999 41.029999,8.5142019 41.029999,5.4844489 41.029999,2.4544477 43.48571,0 46.516701,0z M18.076451,0C21.107668,0 23.562001,2.4544477 23.562001,5.4844489 23.562001,8.5142019 21.107668,10.969999 18.076451,10.969999 15.047933,10.969999 12.591,8.5142019 12.591,5.4844489 12.591,2.4544477 15.047933,0 18.076451,0z" },
|
|
{ Country: "US", GameName: "Archery", GoldMedals: 0, SilverMedals: 1, BronzeMedals: 0, TotalMedals: 1,size:"38",scale:0.6,GameImage:"images/treemap/Archery.png", GameImgSource: "M47.625999,20.921999L59.348999,20.921999 59.348999,22.498999 47.625999,22.498999z M3.0036761,15.251013C3.5800111,15.252653,4.1620998,15.420445,4.674786,15.768608L11.553337,20.443788 11.580756,20.441315C11.628727,20.438452,11.677434,20.436999,11.726874,20.437L36.95211,20.437C38.534004,20.436999,40.267002,21.924943,40.267002,23.491179L40.267002,23.547274C40.267002,25.11481,38.534004,26.167999,36.95211,26.167999L20.778,26.167999 20.778,39.14724 27.962221,59.962467C28.502003,61.526161,27.67193,63.228058,26.110681,63.768456L25.914789,63.834854C24.35294,64.375256,22.649197,63.545757,22.109613,61.983261L15.907251,44.011904 15.875461,44.035654C15.422389,44.34145 14.876186,44.52 14.288199,44.52 13.700512,44.52 13.154468,44.34145 12.70148,44.035654L12.505816,43.889454 6.2604174,61.983261C5.7219667,63.545757,4.0182371,64.375256,2.4563481,63.834854L2.2604186,63.768456C0.69853729,63.228058,-0.13081362,61.526161,0.4087379,59.962467L8.1680002,37.480124 8.1680002,25.378734 1.3108355,20.719308C-0.056331976,19.78957 -0.41118377,17.928796 0.51787734,16.561541 1.0985374,15.707069 2.043116,15.248277 3.0036761,15.251013z M14.091635,7.5349994C17.083181,7.5349994 19.509001,9.9607906 19.509001,12.953129 19.509001,15.943968 17.083181,18.370999 14.091635,18.370999 11.099889,18.370999 8.6739997,15.943968 8.6739997,12.953129 8.6739997,9.9607906 11.099889,7.5349994 14.091635,7.5349994z M33.64896,0.0015487671C33.936237,-0.011897087,34.211231,0.062744141,34.444717,0.20362949L34.517132,0.2521801 34.521019,0.24599934 34.591316,0.30687332 34.663288,0.36578751 34.690273,0.39256477 35.053478,0.70707893C46.035965,10.456592 44.547279,24.321564 44.547279,24.321564 44.697472,37.338486 35.139587,46.056 35.139587,46.056L33.142395,43.846296 34.043144,42.878895C43.871517,32.454277 41.464146,20.395758 41.464146,20.395757 40.367104,8.0402675 33.000999,2.6626282 33.000999,2.6626282L33.009354,2.6493454 32.978821,2.6328325C32.629005,2.4214334 32.372753,2.0613413 32.308334,1.6262856 32.194317,0.85035515 32.728207,0.13038826 33.504433,0.015713692 33.55286,0.0084781647 33.601082,0.0037899017 33.64896,0.0015487671z" },
|
|
{ Country: "US", GameName: "Soccer", GoldMedals: 1, SilverMedals: 0, BronzeMedals: 0, TotalMedals: 1,size:"38",scale:0.6,GameImage:"images/treemap/Soccer.png", GameImgSource: "M4.6186699,54.766C7.1681873,54.766 9.2360002,56.833688 9.2360002,59.382951 9.2360002,61.935014 7.1681873,64.000005 4.6186699,64.000005 2.0691524,64.000005 -4.1723251E-07,61.935014 0,59.382951 -4.1723251E-07,56.833688 2.0691524,54.766 4.6186699,54.766z M18.525272,9.3580005C19.320825,9.3793757 20.088407,9.5753764 20.756074,10.108562 24.42007,12.788264 27.959165,15.654066 31.611558,18.366366 32.752158,19.221869 33.990455,20.266068 34.193557,21.772668 33.947456,23.578671 31.783158,24.733571 30.271661,23.547369 26.244466,20.714068 22.416173,17.624267 18.451379,14.702365 20.186977,22.866369 22.244472,30.951074 23.90837,39.130681 26.983867,40.802682 30.091962,42.409379 33.12836,44.147584 34.443557,44.820783 35.706454,46.339086 34.998256,47.883283 34.502155,49.569486 32.561958,50.380689 30.98656,49.628083 27.800265,48.292184 24.896669,46.366384 21.884973,44.682782 20.783174,43.922383 19.396676,43.38598 18.674077,42.21798 17.845878,39.565579 17.44358,36.799979 16.80688,34.100778 16.045081,34.409375 15.841982,35.109876 16.232581,35.88848 17.737779,42.71008 19.384977,49.499185 20.857574,56.333886 21.189674,57.897592 21.080274,60.16969 19.154475,60.57079 17.13898,61.311791 15.259982,59.492692 15.013883,57.57079 12.759986,47.984883 10.641488,38.370276 8.4070823,28.780473 7.5920131,25.83907 7.3185832,22.725769 6.0658957,19.928968 5.4982659,21.651568 6.3783943,23.401569 6.6648938,25.09937 7.2846434,28.260873 8.2560818,31.370273 8.6701419,34.573476 9.2742702,36.591578 5.9617745,37.648879 5.0373356,35.971877 3.9982676,34.171075 3.8133377,32.046073 3.2795183,30.073474 2.4592099,26.272672 1.3002814,22.538269 0.74949747,18.682767 0.28990275,15.984865 1.9435905,13.198364 4.5711474,12.398863 8.1777117,11.428962 11.841987,10.702362 15.470882,9.7960622 16.433318,9.5917056 17.502414,9.3305195 18.525272,9.3580005z M9.5757439,0.0021734238C12.997393,-0.10609245 15.808484,3.8518667 14.38084,7.1019673 13.138794,10.573665 8.1024143,11.30023 5.821264,8.4444968 3.2120082,5.8076026 4.9359228,0.86704445 8.4982669,0.17160225 8.8612816,0.068087578 9.22178,0.013372421 9.5757439,0.0021734238z" },
|
|
{ Country: "US", GameName: "Diving", GoldMedals: 1, SilverMedals: 1, BronzeMedals: 2, TotalMedals: 4,size:"46",scale:0.7,GameImage:"images/treemap/Diving.png", GameImgSource: "M7.724051,56.598C9.1173697,56.598 10.453168,56.924984 11.636776,57.475655 12.794383,57.995224 14.089892,58.29591 15.441501,58.29591 16.793109,58.29591 18.089918,57.995224 19.247526,57.475655 20.429833,56.924984 21.765742,56.598 23.168151,56.598 24.55876,56.598 25.894669,56.924984 27.078377,57.475655 28.235884,57.995224 29.531492,58.29591 30.883001,58.29591 32.23461,58.29591 33.531519,57.995224 34.689026,57.475655 35.872833,56.924984 37.207243,56.598 38.609652,56.598 40.000261,56.598 41.336168,56.924984 42.519777,57.475655 43.677383,57.995224 44.973093,58.29591 46.324503,58.29591 47.676111,58.29591 48.97312,57.995224 50.130526,57.475655 51.314135,56.924984 52.648745,56.598 54.051252,56.598 55.441759,56.598 56.77767,56.924984 57.969179,57.475655 59.118784,57.995224 60.414492,58.29591 61.766001,58.29591L61.766001,63.999997C60.414492,63.999997 59.118784,63.694115 57.969179,63.17194 56.77767,62.623871 55.441759,62.30349 54.051252,62.30349 52.648745,62.30349 51.314135,62.623871 50.130526,63.17194 48.97312,63.694115 47.676111,63.999997 46.324503,63.999997 44.973093,63.999997 43.677383,63.694115 42.519777,63.17194 41.336168,62.623871 40.000261,62.30349 38.609652,62.30349 37.207243,62.30349 35.872833,62.623871 34.689026,63.17194 33.531519,63.694115 32.23461,63.999997 30.883001,63.999997 29.531492,63.999997 28.235884,63.694115 27.078377,63.17194 25.894669,62.623871 24.55876,62.30349 23.168151,62.30349 21.765742,62.30349 20.429833,62.623871 19.247526,63.17194 18.089918,63.694115 16.793109,63.999997 15.441501,63.999997 14.089892,63.999997 12.794383,63.694115 11.636776,63.17194 10.453168,62.623871 9.1173697,62.30349 7.724051,62.30349 6.3242612,62.30349 4.9974728,62.623871 3.8061752,63.17194 2.6484575,63.694115 1.3515692,63.999997 0,63.999997L0,58.29591C1.3515692,58.29591 2.6484575,57.995224 3.8061752,57.475655 4.9974728,56.924984 6.3242612,56.598 7.724051,56.598z M17.476851,26.402001C20.359734,26.402001 22.684001,28.731613 22.684001,31.606852 22.684001,34.485691 20.359734,36.818001 17.476851,36.818001 14.605668,36.818001 12.271001,34.485691 12.271001,31.606852 12.271001,28.731613 14.605668,26.402001 17.476851,26.402001z M56.421999,0.0011483914C57.009584,0.015925925 57.601511,0.17355403 58.144732,0.48809924 59.890631,1.4854362 60.496134,3.7146526 59.488333,5.460841L46.855532,26.978106C46.414133,27.750218,45.769533,28.394829,44.996134,28.837536L26.668029,40.223225 18.210929,54.840664C17.398428,56.237686 15.593828,56.710293 14.203129,55.89008 12.802128,55.069668 12.328229,53.276738 13.148429,51.874413L25.22663,31.056374C25.66933,30.285559,26.31253,29.64095,27.093829,29.199543L42.614634,19.794388 53.171934,1.8280316C53.857645,0.6275278,55.129309,-0.031360989,56.421999,0.0011483914z" }
|
|
]
|
|
var population_data = [
|
|
{ Continent: "Asia", Country: "Indonesia", Growth: 3, Population: 237641326 },
|
|
{ Continent: "Asia", Country: "Russia", Growth: 2, Population: 152518015 },
|
|
{ Continent: "Asia", Country: "Malaysia", Growth: 1, Population: 29672000 },
|
|
{ Continent: "North America", Country: "United States", Growth: 4, Population: 315645000 },
|
|
{ Continent: "North America", Country: "Mexico", Growth: 2, Population: 112336538 },
|
|
{ Continent: "North America", Country: "Canada", Growth: 1, Population: 39056064 },
|
|
{ Continent: "South America", Country: "Colombia", Growth: 1, Population: 47000000 },
|
|
{ Continent: "South America", Country: "Brazil", Growth: 3, Population: 193946886 },
|
|
{ Continent: "Africa", Country: "Nigeria", Growth: 2, Population: 170901000 },
|
|
{ Continent: "Africa", Country: "Egypt", Growth: 1, Population: 83661000 },
|
|
{ Continent: "Europe", Country: "Germany", Growth: 1, Population: 81993000 },
|
|
{ Continent: "Europe", Country: "France", Growth: 1, Population: 65605000 },
|
|
{ Continent: "Europe", Country: "UK", Growth: 1, Population: 63181775 }
|
|
]
|
|
var sales_data = [
|
|
{ Country: "United States", Name: "New York", Sales: 2353, Expense: 2000 },
|
|
{ Country: "United States", Name: "Los Angeles", Sales: 3453, Expense: 3000 },
|
|
{ Country: "United States", Name: "San Francisco", Sales: 8456, Expense: 8000 },
|
|
{ Country: "United States", Name: "Chicago", Sales: 6785, Expense: 7000 },
|
|
{ Country: "United States", Name: "Miami", Sales: 7045, Expense: 6000 },
|
|
{ Country: "Canada", Name: "Toronto", Sales: 7045, Expense: 7000 },
|
|
{ Country: "Canada", Name: "Vancouver", Sales: 4352, Expense: 4000 },
|
|
{ Country: "Canada", Name: "Winnipeg", Sales: 7843, Expense: 7500 },
|
|
{ Country: "Mexico", Name: "Mexico City", Sales: 7843, Expense: 6500 },
|
|
{ Country: "Mexico", Name: "Cancun", Sales: 6683, Expense: 6000 },
|
|
{ Country: "Mexico", Name: "Acapulco", Sales: 2454, Expense: 2000 }
|
|
]
|
|
|
|
|
|
var hierarchical_sales_data = [
|
|
{
|
|
Name: "United States", Sales: 28092, Expense: 26000, States: [
|
|
{ Name: "New York", Sales: 2353, Expense: 2000 },
|
|
{ Name: "Los Angeles", Sales: 3453, Expense: 3000 },
|
|
{ Name: "San Francisco", Sales: 8456, Expense: 8000 },
|
|
{ Name: "Chicago", Sales: 6785, Expense: 7000 },
|
|
{ Name: "Miami", Sales: 7045, Expense: 6000 },
|
|
]
|
|
},
|
|
|
|
{
|
|
Name: "Canada", Sales: 19240, Expense: 18500, States: [
|
|
{ Name: "Toronto", Sales: 7045, Expense: 7000 },
|
|
{ Name: "Vancouver", Sales: 4352, Expense: 4000 },
|
|
{ Name: "Winnipeg", Sales: 7843, Expense: 7500 }
|
|
]
|
|
},
|
|
|
|
{
|
|
Name: "Mexico",Sales: 16980, Expense: 14500, States: [
|
|
{ Name: "Mexico City", Sales: 7843, Expense: 6500 },
|
|
{ Name: "Cancun", Sales: 6683, Expense: 6000 },
|
|
{ Name: "Acapulco", Sales: 2454, Expense: 2000 }
|
|
]
|
|
},
|
|
|
|
];
|
|
|
|
var drillDownSampleData = [
|
|
{ Name: "Ontario", Continent: "North America", Country: "Canada", Population: 13210600, Area: 1076395, Density: 12 },
|
|
{ Name: "Mexico", Continent: "North America", Country: "Mexico", Population: 15174272, Area: 21355, Density: 711 },
|
|
{ Name: "California", Continent: "North America", Country: "United States", Population: 37253956, Area: 423970, Density: 88 },
|
|
{ Name: "Texas", Continent: "North America", Country: "United States", Population: 25145561, Area: 696241, Density: 36 },
|
|
{ Name: "New York", Continent: "North America", Country: "United States", Population: 19378102, Area: 141299, Density: 137 },
|
|
{ Name: "Florida", Continent: "North America", Country: "United States", Population: 18801310, Area: 170304, Density: 110 },
|
|
{ Name: "Illinois", Continent: "North America", Country: "United States", Population: 12830632, Area: 140998, Density: 91 },
|
|
{ Name: "Pennsylvania", Continent: "North America", Country: "United States", Population: 12702379, Area: 119283, Density: 106 },
|
|
{ Name: "Ohio", Continent: "North America", Country: "United States", Population: 11536504, Area: 116096, Density: 99 },
|
|
{ Name: "Buenos Aires", Continent: "South America", Country: "Argentina", Population: 15594428, Area: 307571, Density: 51 },
|
|
{ Name: "Sao Paulo", Continent: "South America", Country: "Brazil", Population: 43663672, Area: 248209, Density: 166 },
|
|
{ Name: "Minas Gerais", Continent: "South America", Country: "Brazil", Population: 20593366, Area: 586528, Density: 33 },
|
|
{ Name: "Rio de Janeiro", Continent: "South America", Country: "Brazil", Population: 16369178, Area: 43696, Density: 366 },
|
|
{ Name: "Bahia", Continent: "South America", Country: "Brazil", Population: 15044127, Area: 564692, Density: 25 },
|
|
{ Name: "Rio Grande do Sul", Continent: "South America", Country: "Brazil", Population: 11164050, Area: 281748, Density: 38 },
|
|
{ Name: "Parana", Continent: "South America", Country: "Brazil", Population: 10997462, Area: 199315, Density: 52 },
|
|
{ Name: "Dhaka", Continent: "Asia", Country: "Bangladesh", Population: 46729000, Area: 31120, Density: 1502 },
|
|
{ Name: "Chittagong", Continent: "Asia", Country: "Bangladesh", Population: 28079000, Area: 33771, Density: 831 },
|
|
{ Name: "Rajshahi", Continent: "Asia", Country: "Bangladesh", Population: 18329000, Area: 18197, Density: 1007 },
|
|
{ Name: "Rangpur", Continent: "Asia", Country: "Bangladesh", Population: 15665000, Area: 16317, Density: 960 },
|
|
{ Name: "Khulna", Continent: "Asia", Country: "Bangladesh", Population: 15563000, Area: 22272, Density: 699 },
|
|
{ Name: "Guangdong", Continent: "Asia", Country: "China", Population: 104303132, Area: 177900, Density: 618 },
|
|
{ Name: "Shandong", Continent: "Asia", Country: "China", Population: 95793065, Area: 156700, Density: 598 },
|
|
{ Name: "Henan", Continent: "Asia", Country: "China", Population: 94023567, Area: 167000, Density: 560 },
|
|
{ Name: "Sichuan", Continent: "Asia", Country: "China", Population: 80418200, Area: 485000, Density: 181 },
|
|
{ Name: "Jiangsu", Continent: "Asia", Country: "China", Population: 78659903, Area: 102600, Density: 743 },
|
|
{ Name: "Hebei", Continent: "Asia", Country: "China", Population: 71854202, Area: 187700, Density: 370 },
|
|
{ Name: "Hunan", Continent: "Asia", Country: "China", Population: 65683722, Area: 211800, Density: 323 },
|
|
{ Name: "Anhui", Continent: "Asia", Country: "China", Population: 59500510, Area: 139400, Density: 498 },
|
|
{ Name: "Hubei", Continent: "Asia", Country: "China", Population: 57237740, Area: 185900, Density: 332 },
|
|
{ Name: "Zhejiang", Continent: "Asia", Country: "China", Population: 54426891, Area: 101800, Density: 509 },
|
|
{ Name: "Guangxi", Continent: "Asia", Country: "China", Population: 46026629, Area: 236700, Density: 211 },
|
|
{ Name: "Yunnan", Continent: "Asia", Country: "China", Population: 45966239, Area: 394100, Density: 107 },
|
|
{ Name: "Jiangxi", Continent: "Asia", Country: "China", Population: 44567475, Area: 166900, Density: 257 },
|
|
{ Name: "Liaoning", Continent: "Asia", Country: "China", Population: 43746323, Area: 145900, Density: 295 },
|
|
{ Name: "Heilongjiang", Continent: "Asia", Country: "China", Population: 38312224, Area: 460000, Density: 83 },
|
|
{ Name: "Shaanxi", Continent: "Asia", Country: "China", Population: 37327378, Area: 205800, Density: 180 },
|
|
{ Name: "Fujian", Continent: "Asia", Country: "China", Population: 36894216, Area: 121400, Density: 283 },
|
|
{ Name: "Shanxi", Continent: "Asia", Country: "China", Population: 35712111, Area: 156800, Density: 214 },
|
|
{ Name: "Guizhou", Continent: "Asia", Country: "China", Population: 34746468, Area: 176100, Density: 214 },
|
|
{ Name: "Chongqing", Continent: "Asia", Country: "China", Population: 28846170, Area: 82300, Density: 393 },
|
|
{ Name: "Jilin", Continent: "Asia", Country: "China", Population: 27462297, Area: 187400, Density: 146 },
|
|
{ Name: "Gansu", Continent: "Asia", Country: "China", Population: 25575254, Area: 454000, Density: 58 },
|
|
{ Name: "Inner Mongolia", Continent: "Asia", Country: "China", Population: 24706321, Area: 1183000, Density: 21 },
|
|
{ Name: "Shanghai", Continent: "Asia", Country: "China", Population: 23019148, Area: 7037, Density: 2730 },
|
|
{ Name: "Xinjiang", Continent: "Asia", Country: "China", Population: 21813334, Area: 1660001, Density: 13 },
|
|
{ Name: "Beijing", Continent: "Asia", Country: "China", Population: 19612368, Area: 16801, Density: 1309 },
|
|
{ Name: "Tianjin", Continent: "Asia", Country: "China", Population: 12938224, Area: 11760, Density: 1044 },
|
|
{ Name: "Uttar Pradesh", Continent: "Asia", Country: "India", Population: 200581477, Area: 240928, Density: 828 },
|
|
{ Name: "Maharashtra", Continent: "Asia", Country: "India", Population: 112372972, Area: 307713, Density: 365 },
|
|
{ Name: "Bihar", Continent: "Asia", Country: "India", Population: 103804637, Area: 94163, Density: 1102 },
|
|
{ Name: "West Bengal", Continent: "Asia", Country: "India", Population: 91347736, Area: 88752, Density: 1029 },
|
|
{ Name: "Andhra Pradesh", Continent: "Asia", Country: "India", Population: 84665533, Area: 275045, Density: 308 },
|
|
{ Name: "Madhya Pradesh", Continent: "Asia", Country: "India", Population: 72597565, Area: 308245, Density: 236 },
|
|
{ Name: "Tamil Nadu", Continent: "Asia", Country: "India", Population: 72138958, Area: 130058, Density: 555 },
|
|
{ Name: "Rajasthan", Continent: "Asia", Country: "India", Population: 68621012, Area: 342239, Density: 201 },
|
|
{ Name: "Karnataka", Continent: "Asia", Country: "India", Population: 61130704, Area: 191791, Density: 319 },
|
|
{ Name: "Gujarat", Continent: "Asia", Country: "India", Population: 60383628, Area: 196024, Density: 308 },
|
|
{ Name: "Odisha", Continent: "Asia", Country: "India", Population: 41947358, Area: 155820, Density: 269 },
|
|
{ Name: "Kerala", Continent: "Asia", Country: "India", Population: 33387677, Area: 38863, Density: 859 },
|
|
{ Name: "Jharkhand", Continent: "Asia", Country: "India", Population: 32966238, Area: 74677, Density: 414 },
|
|
{ Name: "Assam", Continent: "Asia", Country: "India", Population: 31169272, Area: 78550, Density: 397 },
|
|
{ Name: "Punjab", Continent: "Asia", Country: "India", Population: 27704236, Area: 50362, Density: 550 },
|
|
{ Name: "Chattisgarh", Continent: "Asia", Country: "India", Population: 25540196, Area: 135194, Density: 189 },
|
|
{ Name: "Haryana", Continent: "Asia", Country: "India", Population: 25353081, Area: 44212, Density: 573 },
|
|
{ Name: "Delhi", Continent: "Asia", Country: "India", Population: 16753235, Area: 1483, Density: 11297 },
|
|
{ Name: "Jammu", Continent: "Asia", Country: "India", Population: 12548926, Area: 222236, Density: 56 },
|
|
{ Name: "Uttarakhand", Continent: "Asia", Country: "India", Population: 10116752, Area: 53483, Density: 189 },
|
|
{ Name: "West Java", Continent: "Asia", Country: "Indonesia", Population: 43021826, Area: 348161, Density: 1236 },
|
|
{ Name: "East Java", Continent: "Asia", Country: "Indonesia", Population: 37476011, Area: 47922, Density: 782 },
|
|
{ Name: "Central Java", Continent: "Asia", Country: "Indonesia", Population: 32380687, Area: 32548, Density: 995 },
|
|
{ Name: "North Sumatra", Continent: "Asia", Country: "Indonesia", Population: 12985075, Area: 71680, Density: 181 },
|
|
{ Name: "Banten", Continent: "Asia", Country: "Indonesia", Population: 10644030, Area: 9161, Density: 1162 },
|
|
{ Name: "Jakarta", Continent: "Asia", Country: "Indonesia", Population: 10187595, Area: 74028, Density: 15342 },
|
|
{ Name: "Tehran", Continent: "Asia", Country: "Iran", Population: 14795116, Area: 18814, Density: 786 },
|
|
{ Name: "Tokyo", Continent: "Asia", Country: "Japan", Population: 13010279, Area: 2187, Density: 5949 },
|
|
{ Name: "Punjab", Continent: "Asia", Country: "Pakistan", Population: 101000000, Area: 205344, Density: 490 },
|
|
{ Name: "Sindh", Continent: "Asia", Country: "Pakistan", Population: 34968800, Area: 140914, Density: 248 },
|
|
{ Name: "Khyber Pakhtunkhwa", Continent: "Asia", Country: "Pakistan", Population: 20468700, Area: 34084, Density: 601 },
|
|
{ Name: "Calarbarzon", Continent: "Asia", Country: "Philippines", Population: 12609803, Area: 16229, Density: 777 },
|
|
{ Name: "Metro", Continent: "Asia", Country: "Philippines", Population: 11553427, Area: 639, Density: 186415 },
|
|
{ Name: "Central Luzon", Continent: "Asia", Country: "Philippines", Population: 10137737, Area: 21740, Density: 4722 },
|
|
{ Name: "Moscow", Continent: "Asia", Country: "Russia", Population: 11503501, Area: 1081, Density: 9772 },
|
|
{ Name: "Gyeonggi", Continent: "Asia", Country: "South Korea", Population: 11571684, Area: 10131, Density: 1142 },
|
|
{ Name: "Seoul", Continent: "Asia", Country: "South Korea", Population: 10208302, Area: 605, Density: 16873 },
|
|
{ Name: "Tianjin", Continent: "Africa", Country: "Ethiopia", Population: 27158471, Area: 353632, Density: 77 },
|
|
{ Name: "Tianjin", Continent: "Africa", Country: "Ethiopia", Population: 24000200, Area: 156960, Density: 153 },
|
|
{ Name: "Tianjin", Continent: "Africa", Country: "Ethiopia", Population: 15042531, Area: 112343, Density: 234 },
|
|
{ Name: "Rift Valley", Continent: "Africa", Country: "Kenya", Population: 10006805, Area: 182413, Density: 55 },
|
|
{ Name: "Lagos", Continent: "Africa", Country: "Nigeria", Population: 10006805, Area: 182413, Density: 55 },
|
|
{ Name: "Kano", Continent: "Africa", Country: "Nigeria", Population: 10006805, Area: 182413, Density: 55 },
|
|
{ Name: "Gauteng", Continent: "Africa", Country: "South Africa", Population: 12728400, Area: 16548, Density: 632 },
|
|
{ Name: "KwaZulu-Natal", Continent: "Africa", Country: "South Africa", Population: 10456900, Area: 94361, Density: 109 },
|
|
{ Name: "Ile-de- France", Continent: "Europe", Country: "France", Population: 11694000, Area: 12012, Density: 974 },
|
|
{ Name: "Lombardy", Continent: "Europe", Country: "Italy", Population: 10006710, Area: 23861, Density: 414 },
|
|
{ Name: "North Rhine-Westphalia", Continent: "Europe", Country: "Germany", Population: 17872863, Area: 34084, Density: 524 },
|
|
{ Name: "Bavaria", Continent: "Europe", Country: "Germany", Population: 12510331, Area: 70549, Density: 177 },
|
|
{ Name: "NBaden-Wurttemberg", Continent: "Europe", Country: "Germany", Population: 10747479, Area: 35752, Density: 301 },
|
|
{ Name: "Istanbul", Continent: "Europe", Country: "Turkey", Population: 12915158, Area: 5196, Density: 2486 },
|
|
{ Name: "England", Continent: "Europe", Country: "United Kingdom", Population: 51446600, Area: 130395, Density: 395 },
|
|
{ Name: "New South Wales", Continent: "Oceania", Country: "Australia", Population: 7303700, Area: 809444, Density: 9 },
|
|
{ Name: "Victoria", Continent: "Oceania", Country: "Australia", Population: 5679600, Area: 237629, Density: 25 },
|
|
{ Name: "Queensland", Continent: "Oceania", Country: "Australia", Population: 4610900, Area: 1852642, Density: 3 },
|
|
]; |