index.htm 39 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982
  1. <!DOCTYPE HTML>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  5. <title>Highcharts Example</title>
  6. <script type="text/javascript" src="http://cdn.hcharts.cn/jquery/jquery-1.8.3.min.js"></script>
  7. <style type="text/css">
  8. #container {
  9. min-width: 300px;
  10. max-width: 600px;
  11. margin: 0 auto;
  12. }
  13. </style>
  14. <script type="text/javascript">
  15. $(function () {
  16. var data = {
  17. 'South-East Asia': {
  18. 'Sri Lanka': {
  19. 'Communicable & other Group I': '75.5',
  20. 'Injuries': '89.0',
  21. 'Noncommunicable diseases': '501.2'
  22. },
  23. 'Bangladesh': {
  24. 'Noncommunicable diseases': '548.9',
  25. 'Injuries': '64.0',
  26. 'Communicable & other Group I': '234.6'
  27. },
  28. 'Myanmar': {
  29. 'Communicable & other Group I': '316.4',
  30. 'Injuries': '102.0',
  31. 'Noncommunicable diseases': '708.7'
  32. },
  33. 'Maldives': {
  34. 'Injuries': '35.0',
  35. 'Noncommunicable diseases': '487.2',
  36. 'Communicable & other Group I': '59.2'
  37. },
  38. 'Democratic People\'s Republic of Korea': {
  39. 'Injuries': '91.9',
  40. 'Noncommunicable diseases': '751.4',
  41. 'Communicable & other Group I': '117.3'
  42. },
  43. 'Bhutan': {
  44. 'Injuries': '142.2',
  45. 'Noncommunicable diseases': '572.8',
  46. 'Communicable & other Group I': '186.9'
  47. },
  48. 'Thailand': {
  49. 'Injuries': '72.8',
  50. 'Communicable & other Group I': '123.3',
  51. 'Noncommunicable diseases': '449.1'
  52. },
  53. 'Nepal': {
  54. 'Noncommunicable diseases': '678.1',
  55. 'Injuries': '88.7',
  56. 'Communicable & other Group I': '251.8'
  57. },
  58. 'Timor-Leste': {
  59. 'Injuries': '69.2',
  60. 'Noncommunicable diseases': '670.5',
  61. 'Communicable & other Group I': '343.5'
  62. },
  63. 'India': {
  64. 'Communicable & other Group I': '253.0',
  65. 'Injuries': '115.9',
  66. 'Noncommunicable diseases': '682.3'
  67. },
  68. 'Indonesia': {
  69. 'Injuries': '49.3',
  70. 'Noncommunicable diseases': '680.1',
  71. 'Communicable & other Group I': '162.4'
  72. }
  73. },
  74. 'Europe': {
  75. 'Hungary': {
  76. 'Communicable & other Group I': '16.8',
  77. 'Noncommunicable diseases': '602.8',
  78. 'Injuries': '44.3'
  79. },
  80. 'Poland': {
  81. 'Communicable & other Group I': '22.6',
  82. 'Noncommunicable diseases': '494.5',
  83. 'Injuries': '48.9'
  84. },
  85. 'Israel': {
  86. 'Communicable & other Group I': '31.2',
  87. 'Noncommunicable diseases': '311.2',
  88. 'Injuries': '20.8'
  89. },
  90. 'France': {
  91. 'Communicable & other Group I': '21.4',
  92. 'Noncommunicable diseases': '313.2',
  93. 'Injuries': '34.6'
  94. },
  95. 'Turkey': {
  96. 'Injuries': '39.1',
  97. 'Communicable & other Group I': '43.9',
  98. 'Noncommunicable diseases': '555.2'
  99. },
  100. 'Kyrgyzstan': {
  101. 'Communicable & other Group I': '65.8',
  102. 'Injuries': '65.1',
  103. 'Noncommunicable diseases': '835.4'
  104. },
  105. 'Croatia': {
  106. 'Communicable & other Group I': '12.2',
  107. 'Noncommunicable diseases': '495.8',
  108. 'Injuries': '40.1'
  109. },
  110. 'Portugal': {
  111. 'Injuries': '25.2',
  112. 'Communicable & other Group I': '39.9',
  113. 'Noncommunicable diseases': '343.3'
  114. },
  115. 'Greece': {
  116. 'Injuries': '26.5',
  117. 'Noncommunicable diseases': '365.0',
  118. 'Communicable & other Group I': '24.1'
  119. },
  120. 'Italy': {
  121. 'Injuries': '20.1',
  122. 'Communicable & other Group I': '15.5',
  123. 'Noncommunicable diseases': '303.6'
  124. },
  125. 'Belgium': {
  126. 'Communicable & other Group I': '27.8',
  127. 'Injuries': '38.9',
  128. 'Noncommunicable diseases': '356.8'
  129. },
  130. 'Lithuania': {
  131. 'Noncommunicable diseases': '580.6',
  132. 'Communicable & other Group I': '25.5',
  133. 'Injuries': '76.4'
  134. },
  135. 'Uzbekistan': {
  136. 'Communicable & other Group I': '85.8',
  137. 'Injuries': '47.4',
  138. 'Noncommunicable diseases': '810.9'
  139. },
  140. 'Serbia': {
  141. 'Communicable & other Group I': '19.4',
  142. 'Injuries': '32.0',
  143. 'Noncommunicable diseases': '657.7'
  144. },
  145. 'Austria': {
  146. 'Noncommunicable diseases': '359.5',
  147. 'Injuries': '30.6',
  148. 'Communicable & other Group I': '12.6'
  149. },
  150. 'Bosnia and Herzegovina': {
  151. 'Injuries': '42.4',
  152. 'Noncommunicable diseases': '512.5',
  153. 'Communicable & other Group I': '20.0'
  154. },
  155. 'Slovakia': {
  156. 'Injuries': '39.1',
  157. 'Communicable & other Group I': '35.3',
  158. 'Noncommunicable diseases': '532.5'
  159. },
  160. 'The former Yugoslav republic of Macedonia': {
  161. 'Injuries': '24.0',
  162. 'Communicable & other Group I': '16.9',
  163. 'Noncommunicable diseases': '636.5'
  164. },
  165. 'Sweden': {
  166. 'Communicable & other Group I': '19.3',
  167. 'Noncommunicable diseases': '333.5',
  168. 'Injuries': '26.1'
  169. },
  170. 'Russian Federation': {
  171. 'Noncommunicable diseases': '790.3',
  172. 'Communicable & other Group I': '73.8',
  173. 'Injuries': '102.8'
  174. },
  175. 'Republic of Moldova': {
  176. 'Noncommunicable diseases': '787.6',
  177. 'Injuries': '75.7',
  178. 'Communicable & other Group I': '44.5'
  179. },
  180. 'Ireland': {
  181. 'Injuries': '31.8',
  182. 'Communicable & other Group I': '21.5',
  183. 'Noncommunicable diseases': '343.9'
  184. },
  185. 'Estonia': {
  186. 'Injuries': '47.0',
  187. 'Communicable & other Group I': '18.5',
  188. 'Noncommunicable diseases': '510.7'
  189. },
  190. 'Cyprus': {
  191. 'Noncommunicable diseases': '333.0',
  192. 'Injuries': '26.6',
  193. 'Communicable & other Group I': '16.2'
  194. },
  195. 'Kazakhstan': {
  196. 'Noncommunicable diseases': '949.7',
  197. 'Injuries': '101.6',
  198. 'Communicable & other Group I': '55.3'
  199. },
  200. 'Netherlands': {
  201. 'Noncommunicable diseases': '355.2',
  202. 'Injuries': '22.3',
  203. 'Communicable & other Group I': '25.5'
  204. },
  205. 'Finland': {
  206. 'Noncommunicable diseases': '366.6',
  207. 'Injuries': '38.7',
  208. 'Communicable & other Group I': '9.0'
  209. },
  210. 'Romania': {
  211. 'Noncommunicable diseases': '612.2',
  212. 'Injuries': '40.7',
  213. 'Communicable & other Group I': '38.5'
  214. },
  215. 'Albania': {
  216. 'Noncommunicable diseases': '671.6',
  217. 'Injuries': '48.0',
  218. 'Communicable & other Group I': '46.5'
  219. },
  220. 'Iceland': {
  221. 'Injuries': '29.0',
  222. 'Noncommunicable diseases': '311.7',
  223. 'Communicable & other Group I': '14.0'
  224. },
  225. 'Azerbaijan': {
  226. 'Noncommunicable diseases': '664.3',
  227. 'Injuries': '33.6',
  228. 'Communicable & other Group I': '70.8'
  229. },
  230. 'Tajikistan': {
  231. 'Injuries': '51.6',
  232. 'Communicable & other Group I': '147.7',
  233. 'Noncommunicable diseases': '752.6'
  234. },
  235. 'Bulgaria': {
  236. 'Communicable & other Group I': '33.4',
  237. 'Injuries': '36.4',
  238. 'Noncommunicable diseases': '638.2'
  239. },
  240. 'United Kingdom of Great Britain and Northern Ireland': {
  241. 'Communicable & other Group I': '28.5',
  242. 'Injuries': '21.5',
  243. 'Noncommunicable diseases': '358.8'
  244. },
  245. 'Spain': {
  246. 'Communicable & other Group I': '19.1',
  247. 'Injuries': '17.8',
  248. 'Noncommunicable diseases': '323.1'
  249. },
  250. 'Ukraine': {
  251. 'Communicable & other Group I': '69.3',
  252. 'Injuries': '67.3',
  253. 'Noncommunicable diseases': '749.0'
  254. },
  255. 'Norway': {
  256. 'Noncommunicable diseases': '336.6',
  257. 'Communicable & other Group I': '25.2',
  258. 'Injuries': '25.6'
  259. },
  260. 'Denmark': {
  261. 'Injuries': '22.5',
  262. 'Communicable & other Group I': '29.5',
  263. 'Noncommunicable diseases': '406.1'
  264. },
  265. 'Belarus': {
  266. 'Noncommunicable diseases': '682.5',
  267. 'Communicable & other Group I': '28.3',
  268. 'Injuries': '91.3'
  269. },
  270. 'Malta': {
  271. 'Noncommunicable diseases': '364.5',
  272. 'Injuries': '19.0',
  273. 'Communicable & other Group I': '23.6'
  274. },
  275. 'Latvia': {
  276. 'Noncommunicable diseases': '623.7',
  277. 'Injuries': '54.5',
  278. 'Communicable & other Group I': '26.0'
  279. },
  280. 'Turkmenistan': {
  281. 'Injuries': '93.0',
  282. 'Communicable & other Group I': '115.8',
  283. 'Noncommunicable diseases': '1025.1'
  284. },
  285. 'Switzerland': {
  286. 'Communicable & other Group I': '14.5',
  287. 'Noncommunicable diseases': '291.6',
  288. 'Injuries': '25.4'
  289. },
  290. 'Luxembourg': {
  291. 'Injuries': '31.1',
  292. 'Noncommunicable diseases': '317.8',
  293. 'Communicable & other Group I': '20.5'
  294. },
  295. 'Georgia': {
  296. 'Injuries': '32.2',
  297. 'Communicable & other Group I': '39.3',
  298. 'Noncommunicable diseases': '615.2'
  299. },
  300. 'Slovenia': {
  301. 'Noncommunicable diseases': '369.2',
  302. 'Communicable & other Group I': '15.4',
  303. 'Injuries': '44.2'
  304. },
  305. 'Montenegro': {
  306. 'Communicable & other Group I': '18.7',
  307. 'Noncommunicable diseases': '571.5',
  308. 'Injuries': '41.2'
  309. },
  310. 'Armenia': {
  311. 'Noncommunicable diseases': '847.5',
  312. 'Communicable & other Group I': '45.0',
  313. 'Injuries': '49.2'
  314. },
  315. 'Germany': {
  316. 'Injuries': '23.0',
  317. 'Communicable & other Group I': '21.6',
  318. 'Noncommunicable diseases': '365.1'
  319. },
  320. 'Czech Republic': {
  321. 'Injuries': '39.1',
  322. 'Noncommunicable diseases': '460.7',
  323. 'Communicable & other Group I': '27.0'
  324. }
  325. },
  326. 'Africa': {
  327. 'Equatorial Guinea': {
  328. 'Communicable & other Group I': '756.8',
  329. 'Injuries': '133.6',
  330. 'Noncommunicable diseases': '729.0'
  331. },
  332. 'Madagascar': {
  333. 'Noncommunicable diseases': '648.6',
  334. 'Communicable & other Group I': '429.9',
  335. 'Injuries': '89.0'
  336. },
  337. 'Swaziland': {
  338. 'Communicable & other Group I': '884.3',
  339. 'Injuries': '119.5',
  340. 'Noncommunicable diseases': '702.4'
  341. },
  342. 'Congo': {
  343. 'Noncommunicable diseases': '632.3',
  344. 'Communicable & other Group I': '666.9',
  345. 'Injuries': '89.0'
  346. },
  347. 'Burkina Faso': {
  348. 'Communicable & other Group I': '648.2',
  349. 'Noncommunicable diseases': '784.0',
  350. 'Injuries': '119.3'
  351. },
  352. 'Guinea-Bissau': {
  353. 'Communicable & other Group I': '869.8',
  354. 'Noncommunicable diseases': '764.7',
  355. 'Injuries': '111.6'
  356. },
  357. 'Democratic Republic of the Congo': {
  358. 'Noncommunicable diseases': '724.4',
  359. 'Injuries': '137.1',
  360. 'Communicable & other Group I': '920.7'
  361. },
  362. 'Mozambique': {
  363. 'Injuries': '175.3',
  364. 'Noncommunicable diseases': '593.7',
  365. 'Communicable & other Group I': '998.1'
  366. },
  367. 'Central African Republic': {
  368. 'Communicable & other Group I': '1212.1',
  369. 'Injuries': '107.9',
  370. 'Noncommunicable diseases': '550.8'
  371. },
  372. 'United Republic of Tanzania': {
  373. 'Noncommunicable diseases': '569.8',
  374. 'Communicable & other Group I': '584.2',
  375. 'Injuries': '129.2'
  376. },
  377. 'Cameroon': {
  378. 'Communicable & other Group I': '768.8',
  379. 'Injuries': '106.0',
  380. 'Noncommunicable diseases': '675.2'
  381. },
  382. 'Togo': {
  383. 'Noncommunicable diseases': '679.0',
  384. 'Communicable & other Group I': '681.8',
  385. 'Injuries': '93.0'
  386. },
  387. 'Eritrea': {
  388. 'Injuries': '118.7',
  389. 'Communicable & other Group I': '506.0',
  390. 'Noncommunicable diseases': '671.9'
  391. },
  392. 'Namibia': {
  393. 'Injuries': '76.4',
  394. 'Noncommunicable diseases': '580.2',
  395. 'Communicable & other Group I': '356.6'
  396. },
  397. 'Senegal': {
  398. 'Noncommunicable diseases': '558.1',
  399. 'Injuries': '89.3',
  400. 'Communicable & other Group I': '587.7'
  401. },
  402. 'Chad': {
  403. 'Communicable & other Group I': '1070.9',
  404. 'Injuries': '114.5',
  405. 'Noncommunicable diseases': '712.6'
  406. },
  407. 'Benin': {
  408. 'Injuries': '98.0',
  409. 'Noncommunicable diseases': '761.5',
  410. 'Communicable & other Group I': '577.3'
  411. },
  412. 'Zimbabwe': {
  413. 'Communicable & other Group I': '711.3',
  414. 'Injuries': '82.5',
  415. 'Noncommunicable diseases': '598.9'
  416. },
  417. 'Rwanda': {
  418. 'Noncommunicable diseases': '585.3',
  419. 'Injuries': '106.3',
  420. 'Communicable & other Group I': '401.7'
  421. },
  422. 'Zambia': {
  423. 'Noncommunicable diseases': '587.4',
  424. 'Injuries': '156.4',
  425. 'Communicable & other Group I': '764.3'
  426. },
  427. 'Mali': {
  428. 'Injuries': '119.5',
  429. 'Communicable & other Group I': '588.3',
  430. 'Noncommunicable diseases': '866.1'
  431. },
  432. 'Ethiopia': {
  433. 'Injuries': '94.5',
  434. 'Communicable & other Group I': '558.9',
  435. 'Noncommunicable diseases': '476.3'
  436. },
  437. 'South Africa': {
  438. 'Communicable & other Group I': '611.6',
  439. 'Injuries': '103.5',
  440. 'Noncommunicable diseases': '710.9'
  441. },
  442. 'Burundi': {
  443. 'Injuries': '146.6',
  444. 'Communicable & other Group I': '704.8',
  445. 'Noncommunicable diseases': '729.5'
  446. },
  447. 'Cabo Verde': {
  448. 'Injuries': '54.4',
  449. 'Noncommunicable diseases': '482.1',
  450. 'Communicable & other Group I': '141.9'
  451. },
  452. 'Liberia': {
  453. 'Noncommunicable diseases': '656.9',
  454. 'Injuries': '83.3',
  455. 'Communicable & other Group I': '609.1'
  456. },
  457. 'Uganda': {
  458. 'Noncommunicable diseases': '664.4',
  459. 'Communicable & other Group I': '696.7',
  460. 'Injuries': '166.8'
  461. },
  462. 'Mauritius': {
  463. 'Noncommunicable diseases': '576.5',
  464. 'Injuries': '44.1',
  465. 'Communicable & other Group I': '61.8'
  466. },
  467. 'Algeria': {
  468. 'Noncommunicable diseases': '710.4',
  469. 'Injuries': '53.8',
  470. 'Communicable & other Group I': '97.8'
  471. },
  472. 'C\u00f4te d\'Ivoire': {
  473. 'Noncommunicable diseases': '794.0',
  474. 'Injuries': '124.0',
  475. 'Communicable & other Group I': '861.3'
  476. },
  477. 'Malawi': {
  478. 'Injuries': '97.7',
  479. 'Communicable & other Group I': '777.6',
  480. 'Noncommunicable diseases': '655.0'
  481. },
  482. 'Botswana': {
  483. 'Injuries': '87.9',
  484. 'Noncommunicable diseases': '612.2',
  485. 'Communicable & other Group I': '555.3'
  486. },
  487. 'Guinea': {
  488. 'Injuries': '96.0',
  489. 'Noncommunicable diseases': '681.1',
  490. 'Communicable & other Group I': '679.6'
  491. },
  492. 'Ghana': {
  493. 'Injuries': '76.1',
  494. 'Noncommunicable diseases': '669.9',
  495. 'Communicable & other Group I': '476.0'
  496. },
  497. 'Kenya': {
  498. 'Noncommunicable diseases': '514.7',
  499. 'Injuries': '101.1',
  500. 'Communicable & other Group I': '657.5'
  501. },
  502. 'Gambia': {
  503. 'Noncommunicable diseases': '629.6',
  504. 'Injuries': '96.0',
  505. 'Communicable & other Group I': '590.5'
  506. },
  507. 'Angola': {
  508. 'Injuries': '137.8',
  509. 'Noncommunicable diseases': '768.4',
  510. 'Communicable & other Group I': '873.3'
  511. },
  512. 'Sierra Leone': {
  513. 'Communicable & other Group I': '1327.4',
  514. 'Noncommunicable diseases': '963.5',
  515. 'Injuries': '149.5'
  516. },
  517. 'Mauritania': {
  518. 'Communicable & other Group I': '619.1',
  519. 'Injuries': '83.4',
  520. 'Noncommunicable diseases': '555.1'
  521. },
  522. 'Comoros': {
  523. 'Communicable & other Group I': '494.6',
  524. 'Injuries': '132.4',
  525. 'Noncommunicable diseases': '695.5'
  526. },
  527. 'Gabon': {
  528. 'Noncommunicable diseases': '504.6',
  529. 'Injuries': '77.4',
  530. 'Communicable & other Group I': '589.4'
  531. },
  532. 'Niger': {
  533. 'Injuries': '97.6',
  534. 'Communicable & other Group I': '740.0',
  535. 'Noncommunicable diseases': '649.1'
  536. },
  537. 'Lesotho': {
  538. 'Communicable & other Group I': '1110.5',
  539. 'Injuries': '142.5',
  540. 'Noncommunicable diseases': '671.8'
  541. },
  542. 'Nigeria': {
  543. 'Noncommunicable diseases': '673.7',
  544. 'Communicable & other Group I': '866.2',
  545. 'Injuries': '145.6'
  546. }
  547. },
  548. 'Americas': {
  549. 'Canada': {
  550. 'Noncommunicable diseases': '318.0',
  551. 'Injuries': '31.3',
  552. 'Communicable & other Group I': '22.6'
  553. },
  554. 'Bolivia (Plurinational State of)': {
  555. 'Communicable & other Group I': '226.2',
  556. 'Noncommunicable diseases': '635.3',
  557. 'Injuries': '100.0'
  558. },
  559. 'Haiti': {
  560. 'Communicable & other Group I': '405.4',
  561. 'Noncommunicable diseases': '724.6',
  562. 'Injuries': '89.3'
  563. },
  564. 'Belize': {
  565. 'Noncommunicable diseases': '470.7',
  566. 'Injuries': '82.0',
  567. 'Communicable & other Group I': '104.6'
  568. },
  569. 'Suriname': {
  570. 'Injuries': '70.5',
  571. 'Communicable & other Group I': '83.7',
  572. 'Noncommunicable diseases': '374.8'
  573. },
  574. 'Argentina': {
  575. 'Communicable & other Group I': '68.7',
  576. 'Injuries': '50.7',
  577. 'Noncommunicable diseases': '467.3'
  578. },
  579. 'Mexico': {
  580. 'Injuries': '63.2',
  581. 'Communicable & other Group I': '57.0',
  582. 'Noncommunicable diseases': '468.3'
  583. },
  584. 'Jamaica': {
  585. 'Injuries': '51.5',
  586. 'Communicable & other Group I': '97.0',
  587. 'Noncommunicable diseases': '519.1'
  588. },
  589. 'Peru': {
  590. 'Noncommunicable diseases': '363.5',
  591. 'Injuries': '47.9',
  592. 'Communicable & other Group I': '121.3'
  593. },
  594. 'Brazil': {
  595. 'Injuries': '80.2',
  596. 'Communicable & other Group I': '92.8',
  597. 'Noncommunicable diseases': '513.8'
  598. },
  599. 'Venezuela (Bolivarian Republic of)': {
  600. 'Communicable & other Group I': '58.2',
  601. 'Injuries': '103.2',
  602. 'Noncommunicable diseases': '410.6'
  603. },
  604. 'Paraguay': {
  605. 'Noncommunicable diseases': '485.5',
  606. 'Communicable & other Group I': '77.3',
  607. 'Injuries': '67.6'
  608. },
  609. 'Chile': {
  610. 'Noncommunicable diseases': '366.5',
  611. 'Communicable & other Group I': '36.3',
  612. 'Injuries': '41.2'
  613. },
  614. 'Trinidad and Tobago': {
  615. 'Noncommunicable diseases': '705.3',
  616. 'Communicable & other Group I': '80.4',
  617. 'Injuries': '98.4'
  618. },
  619. 'Colombia': {
  620. 'Noncommunicable diseases': '377.3',
  621. 'Communicable & other Group I': '55.0',
  622. 'Injuries': '72.6'
  623. },
  624. 'Cuba': {
  625. 'Injuries': '45.3',
  626. 'Noncommunicable diseases': '421.8',
  627. 'Communicable & other Group I': '33.2'
  628. },
  629. 'El Salvador': {
  630. 'Noncommunicable diseases': '474.9',
  631. 'Injuries': '157.7',
  632. 'Communicable & other Group I': '96.2'
  633. },
  634. 'Honduras': {
  635. 'Injuries': '80.8',
  636. 'Communicable & other Group I': '117.5',
  637. 'Noncommunicable diseases': '441.5'
  638. },
  639. 'Ecuador': {
  640. 'Noncommunicable diseases': '409.7',
  641. 'Injuries': '83.7',
  642. 'Communicable & other Group I': '97.3'
  643. },
  644. 'Costa Rica': {
  645. 'Communicable & other Group I': '30.5',
  646. 'Noncommunicable diseases': '391.8',
  647. 'Injuries': '46.5'
  648. },
  649. 'Dominican Republic': {
  650. 'Noncommunicable diseases': '396.0',
  651. 'Injuries': '66.4',
  652. 'Communicable & other Group I': '76.8'
  653. },
  654. 'Nicaragua': {
  655. 'Communicable & other Group I': '75.2',
  656. 'Injuries': '64.4',
  657. 'Noncommunicable diseases': '546.6'
  658. },
  659. 'Barbados': {
  660. 'Noncommunicable diseases': '404.5',
  661. 'Injuries': '28.0',
  662. 'Communicable & other Group I': '60.8'
  663. },
  664. 'Uruguay': {
  665. 'Noncommunicable diseases': '446.0',
  666. 'Injuries': '53.8',
  667. 'Communicable & other Group I': '46.2'
  668. },
  669. 'Panama': {
  670. 'Communicable & other Group I': '86.1',
  671. 'Injuries': '67.4',
  672. 'Noncommunicable diseases': '372.9'
  673. },
  674. 'Bahamas': {
  675. 'Noncommunicable diseases': '465.2',
  676. 'Injuries': '45.7',
  677. 'Communicable & other Group I': '122.0'
  678. },
  679. 'Guyana': {
  680. 'Communicable & other Group I': '177.2',
  681. 'Noncommunicable diseases': '1024.2',
  682. 'Injuries': '150.0'
  683. },
  684. 'United States of America': {
  685. 'Noncommunicable diseases': '412.8',
  686. 'Injuries': '44.2',
  687. 'Communicable & other Group I': '31.3'
  688. },
  689. 'Guatemala': {
  690. 'Communicable & other Group I': '212.7',
  691. 'Noncommunicable diseases': '409.4',
  692. 'Injuries': '111.0'
  693. }
  694. },
  695. 'Eastern Mediterranean': {
  696. 'Egypt': {
  697. 'Communicable & other Group I': '74.3',
  698. 'Noncommunicable diseases': '781.7',
  699. 'Injuries': '33.5'
  700. },
  701. 'South Sudan': {
  702. 'Injuries': '143.4',
  703. 'Communicable & other Group I': '831.3',
  704. 'Noncommunicable diseases': '623.4'
  705. },
  706. 'Sudan': {
  707. 'Injuries': '133.6',
  708. 'Noncommunicable diseases': '551.0',
  709. 'Communicable & other Group I': '495.0'
  710. },
  711. 'Libya': {
  712. 'Injuries': '62.8',
  713. 'Noncommunicable diseases': '550.0',
  714. 'Communicable & other Group I': '52.6'
  715. },
  716. 'Jordan': {
  717. 'Noncommunicable diseases': '640.3',
  718. 'Injuries': '53.5',
  719. 'Communicable & other Group I': '52.5'
  720. },
  721. 'Pakistan': {
  722. 'Communicable & other Group I': '296.0',
  723. 'Noncommunicable diseases': '669.3',
  724. 'Injuries': '98.7'
  725. },
  726. 'Djibouti': {
  727. 'Noncommunicable diseases': '631.1',
  728. 'Communicable & other Group I': '626.0',
  729. 'Injuries': '106.0'
  730. },
  731. 'Syrian Arab Republic': {
  732. 'Communicable & other Group I': '41.0',
  733. 'Injuries': '308.0',
  734. 'Noncommunicable diseases': '572.7'
  735. },
  736. 'Morocco': {
  737. 'Noncommunicable diseases': '707.7',
  738. 'Communicable & other Group I': '131.5',
  739. 'Injuries': '47.0'
  740. },
  741. 'Yemen': {
  742. 'Communicable & other Group I': '515.0',
  743. 'Noncommunicable diseases': '626.9',
  744. 'Injuries': '84.3'
  745. },
  746. 'Bahrain': {
  747. 'Injuries': '33.5',
  748. 'Noncommunicable diseases': '505.7',
  749. 'Communicable & other Group I': '48.5'
  750. },
  751. 'United Arab Emirates': {
  752. 'Noncommunicable diseases': '546.8',
  753. 'Injuries': '31.5',
  754. 'Communicable & other Group I': '35.6'
  755. },
  756. 'Lebanon': {
  757. 'Noncommunicable diseases': '384.6',
  758. 'Injuries': '40.6',
  759. 'Communicable & other Group I': '30.5'
  760. },
  761. 'Saudi Arabia': {
  762. 'Noncommunicable diseases': '549.4',
  763. 'Injuries': '41.1',
  764. 'Communicable & other Group I': '71.3'
  765. },
  766. 'Iran (Islamic Republic of)': {
  767. 'Injuries': '74.9',
  768. 'Communicable & other Group I': '56.2',
  769. 'Noncommunicable diseases': '569.3'
  770. },
  771. 'Iraq': {
  772. 'Communicable & other Group I': '87.0',
  773. 'Noncommunicable diseases': '715.5',
  774. 'Injuries': '128.5'
  775. },
  776. 'Qatar': {
  777. 'Communicable & other Group I': '28.3',
  778. 'Injuries': '41.0',
  779. 'Noncommunicable diseases': '407.0'
  780. },
  781. 'Afghanistan': {
  782. 'Communicable & other Group I': '362.7',
  783. 'Injuries': '169.2',
  784. 'Noncommunicable diseases': '846.3'
  785. },
  786. 'Somalia': {
  787. 'Noncommunicable diseases': '550.7',
  788. 'Communicable & other Group I': '927.2',
  789. 'Injuries': '188.5'
  790. },
  791. 'Kuwait': {
  792. 'Communicable & other Group I': '82.5',
  793. 'Injuries': '25.4',
  794. 'Noncommunicable diseases': '406.3'
  795. },
  796. 'Oman': {
  797. 'Injuries': '52.8',
  798. 'Noncommunicable diseases': '478.2',
  799. 'Communicable & other Group I': '84.2'
  800. },
  801. 'Tunisia': {
  802. 'Noncommunicable diseases': '509.3',
  803. 'Communicable & other Group I': '65.0',
  804. 'Injuries': '39.1'
  805. }
  806. },
  807. 'Western Pacific': {
  808. 'Mongolia': {
  809. 'Injuries': '69.4',
  810. 'Noncommunicable diseases': '966.5',
  811. 'Communicable & other Group I': '82.8'
  812. },
  813. 'Cambodia': {
  814. 'Injuries': '62.2',
  815. 'Communicable & other Group I': '227.5',
  816. 'Noncommunicable diseases': '394.0'
  817. },
  818. 'Japan': {
  819. 'Injuries': '40.5',
  820. 'Noncommunicable diseases': '244.2',
  821. 'Communicable & other Group I': '33.9'
  822. },
  823. 'Brunei Darussalam': {
  824. 'Injuries': '44.6',
  825. 'Noncommunicable diseases': '475.3',
  826. 'Communicable & other Group I': '56.1'
  827. },
  828. 'Solomon Islands': {
  829. 'Communicable & other Group I': '230.6',
  830. 'Injuries': '75.1',
  831. 'Noncommunicable diseases': '709.7'
  832. },
  833. 'Viet Nam': {
  834. 'Communicable & other Group I': '96.0',
  835. 'Injuries': '59.0',
  836. 'Noncommunicable diseases': '435.4'
  837. },
  838. 'Lao People\'s Democratic Republic': {
  839. 'Communicable & other Group I': '328.7',
  840. 'Injuries': '75.2',
  841. 'Noncommunicable diseases': '680.0'
  842. },
  843. 'China': {
  844. 'Communicable & other Group I': '41.4',
  845. 'Noncommunicable diseases': '576.3',
  846. 'Injuries': '50.4'
  847. },
  848. 'New Zealand': {
  849. 'Injuries': '32.9',
  850. 'Noncommunicable diseases': '313.6',
  851. 'Communicable & other Group I': '18.0'
  852. },
  853. 'Papua New Guinea': {
  854. 'Injuries': '100.1',
  855. 'Communicable & other Group I': '554.3',
  856. 'Noncommunicable diseases': '693.2'
  857. },
  858. 'Philippines': {
  859. 'Communicable & other Group I': '226.4',
  860. 'Noncommunicable diseases': '720.0',
  861. 'Injuries': '53.8'
  862. },
  863. 'Malaysia': {
  864. 'Injuries': '62.8',
  865. 'Noncommunicable diseases': '563.2',
  866. 'Communicable & other Group I': '117.4'
  867. },
  868. 'Australia': {
  869. 'Communicable & other Group I': '13.7',
  870. 'Noncommunicable diseases': '302.9',
  871. 'Injuries': '28.2'
  872. },
  873. 'Fiji': {
  874. 'Noncommunicable diseases': '804.0',
  875. 'Injuries': '64.0',
  876. 'Communicable & other Group I': '105.2'
  877. },
  878. 'Singapore': {
  879. 'Communicable & other Group I': '66.2',
  880. 'Noncommunicable diseases': '264.8',
  881. 'Injuries': '17.5'
  882. },
  883. 'Republic of Korea': {
  884. 'Injuries': '53.1',
  885. 'Communicable & other Group I': '33.8',
  886. 'Noncommunicable diseases': '302.1'
  887. }
  888. }
  889. },
  890. points = [],
  891. regionP,
  892. regionVal,
  893. regionI = 0,
  894. countryP,
  895. countryI,
  896. causeP,
  897. causeI,
  898. region,
  899. country,
  900. cause,
  901. causeName = {
  902. 'Communicable & other Group I': 'Communicable diseases',
  903. 'Noncommunicable diseases': 'Non-communicable diseases',
  904. 'Injuries': 'Injuries'
  905. };
  906. for (region in data) {
  907. if (data.hasOwnProperty(region)) {
  908. regionVal = 0;
  909. regionP = {
  910. id: 'id_' + regionI,
  911. name: region,
  912. color: Highcharts.getOptions().colors[regionI]
  913. };
  914. countryI = 0;
  915. for (country in data[region]) {
  916. if (data[region].hasOwnProperty(country)) {
  917. countryP = {
  918. id: regionP.id + '_' + countryI,
  919. name: country,
  920. parent: regionP.id
  921. };
  922. points.push(countryP);
  923. causeI = 0;
  924. for (cause in data[region][country]) {
  925. if (data[region][country].hasOwnProperty(cause)) {
  926. causeP = {
  927. id: countryP.id + '_' + causeI,
  928. name: causeName[cause],
  929. parent: countryP.id,
  930. value: Math.round(+data[region][country][cause])
  931. };
  932. regionVal += causeP.value;
  933. points.push(causeP);
  934. causeI = causeI + 1;
  935. }
  936. }
  937. countryI = countryI + 1;
  938. }
  939. }
  940. regionP.value = Math.round(regionVal / countryI);
  941. points.push(regionP);
  942. regionI = regionI + 1;
  943. }
  944. }
  945. $('#container').highcharts({
  946. series: [{
  947. type: 'treemap',
  948. layoutAlgorithm: 'squarified',
  949. allowDrillToNode: true,
  950. animationLimit: 1000,
  951. dataLabels: {
  952. enabled: false
  953. },
  954. levelIsConstant: false,
  955. levels: [{
  956. level: 1,
  957. dataLabels: {
  958. enabled: true
  959. },
  960. borderWidth: 3
  961. }],
  962. data: points
  963. }],
  964. subtitle: {
  965. text: 'Click points to drill down. Source: <a href="http://apps.who.int/gho/data/node.main.12?lang=en">WHO</a>.'
  966. },
  967. title: {
  968. text: 'Global Mortality Rate 2012, per 100 000 population'
  969. }
  970. });
  971. });
  972. </script>
  973. </head>
  974. <body>
  975. <script src="http://cdn.hcharts.cn/highcharts/highcharts.js"></script>
  976. <script src="http://cdn.hcharts.cn/highcharts/modules/heatmap.js"></script>
  977. <script src="http://cdn.hcharts.cn/highcharts/modules/treemap.js"></script>
  978. <div id="container"></div>
  979. </body>
  980. </html>