(function () { var highcharts = document.createElement('script'); var cdn = 'https://code.highcharts.com/'; var loaded = 0; var encodedUrl = encodeURI('https://app.everviz.com//show/dBiP1uH5X'); var scripts = [ "highcharts.js", "modules/stock.js", "highcharts-more.js", "highcharts-3d.js", "modules/data.js", "modules/exporting.js", "modules/funnel.js", "modules/solid-gauge.js", "modules/annotations.js", "modules/export-data.js", "modules/accessibility.js" /* "modules/series-label.js" */ ]; var options = {"title":{"text":"Trade Policy Uncertainty Index","align":"left"},"subtitle":{"text":"Higher value = greater uncertainty","align":"left"},"yAxis":[{"title":{"text":""},"plotLines":[{"color":"#222222","value":100,"width":3,"zIndex":2}]}],"series":[{"data":[[1356998400000,24.02830689],[1359676800000,45.99130947],[1362096000000,73.47431258],[1364774400000,32.36666668],[1367366400000,19.35613611],[1370044800000,34.8647607],[1372636800000,54.2807735],[1375315200000,40.94855916],[1377993600000,60.039905],[1380585600000,52.86227517],[1383264000000,15.79492397],[1385856000000,13.77124179],[1388534400000,33.09905276],[1391212800000,189.0607716],[1393632000000,145.3894998],[1396310400000,17.94304974],[1398902400000,22.717341],[1401580800000,13.67467687],[1404172800000,29.84595603],[1406851200000,16.17801261],[1409529600000,15.83901564],[1412121600000,12.23216313],[1414800000000,5.419718111],[1417392000000,5.46676264],[1420070400000,15.63057927],[1422748800000,5.541646652],[1425168000000,15.05317739],[1427846400000,37.39838197],[1430438400000,77.77746483],[1433116800000,52.97830824],[1435708800000,47.21729255],[1438387200000,19.66183076],[1441065600000,27.50099832],[1443657600000,68.01325058],[1446336000000,28.75403663],[1448928000000,35.34198609],[1451606400000,39.55859594],[1454284800000,30.52218672],[1456790400000,43.23675186],[1459468800000,20.13268243],[1462060800000,48.52835079],[1464739200000,143.0128682],[1467331200000,84.40420359],[1470009600000,156.7701453],[1472688000000,62.75802678],[1475280000000,71.25772402],[1477958400000,325.7920892],[1480550400000,105.5274358],[1483228800000,302.1828963],[1485907200000,185.7916067],[1488326400000,140.2157438],[1491004800000,125.1344807],[1493596800000,94.14300822],[1496275200000,86.49372413],[1498867200000,63.71994242],[1501545600000,96.25647202],[1504224000000,82.30178118],[1506816000000,114.5538301],[1509494400000,47.22042094],[1512086400000,148.0492744],[1514764800000,271.5186527],[1517443200000,51.24519884],[1519862400000,342.1266632],[1522540800000,279.5527418],[1525132800000,197.9750138],[1527811200000,318.9378033],[1530403200000,535.4803936],[1533081600000,315.5681303],[1535760000000,193.1279884]],"name":"US","marker":{"symbol":"circle"}},{"data":[[1356998400000,128.6300641],[1359676800000,204.4827691],[1362096000000,306.7604609],[1364774400000,160.088489],[1367366400000,148.5372107],[1370044800000,155.9079801],[1372636800000,285.9820849],[1375315200000,124.6241614],[1377993600000,69.71516291],[1380585600000,265.6678334],[1383264000000,77.39826893],[1385856000000,100.5555216],[1388534400000,123.8180125],[1391212800000,130.673297],[1393632000000,118.811791],[1396310400000,306.2806043],[1398902400000,87.44562032],[1401580800000,46.38600384],[1404172800000,81.4941676],[1406851200000,75.36007498],[1409529600000,119.5230323],[1412121600000,47.84777595],[1414800000000,75.61828066],[1417392000000,133.8666334],[1420070400000,95.61358037],[1422748800000,88.20345319],[1425168000000,75.27232143],[1427846400000,127.4406593],[1430438400000,139.7363981],[1433116800000,114.0743904],[1435708800000,101.3051222],[1438387200000,95.53940128],[1441065600000,108.0953833],[1443657600000,376.7366982],[1446336000000,263.3404468],[1448928000000,148.9392479],[1451606400000,458.8563571],[1454284800000,238.4085883],[1456790400000,174.6569802],[1459468800000,195.1693723],[1462060800000,216.7001112],[1464739200000,409.3818507],[1467331200000,370.5306652],[1470009600000,157.7215054],[1472688000000,241.4494969],[1475280000000,261.3826352],[1477958400000,641.1364993],[1480550400000,308.9751742],[1483228800000,712.0353245],[1485907200000,444.5412234],[1488326400000,264.2278112],[1491004800000,152.586855],[1493596800000,154.735447],[1496275200000,136.7415987],[1498867200000,151.0129389],[1501545600000,179.5293715],[1504224000000,107.4478623],[1506816000000,142.9368066],[1509494400000,200.3542688],[1512086400000,97.35058298],[1514764800000,165.0244733],[1517443200000,65.84932287],[1519862400000,241.3861505],[1522540800000,322.1444888],[1525132800000,278.6915257],[1527811200000,319.1710867],[1530403200000,458.7096297],[1533081600000,350.178378],[1535760000000,386.7962665]],"name":"Japan","marker":{"symbol":"circle"}}],"plotOptions":{"line":{"marker":{"radius":2},"lineWidth":4}},"chart":{"backgroundColor":"#f7f6f7","spacingBottom":25},"colors":["#40425b","#56c5d0","#90ed7d","#f7a35c","#8085e9","#f15c80","#e4d354","#2b908f","#f45b5b","#91e8e1"],"xAxis":[{}],"legend":{"verticalAlign":"bottom","align":"center","y":0},"tooltip":{"shared":true,"valueDecimals":2},"credits":{"text":"Baker et al., 2016; Arbatli et al., 2017; policyuncertainty.com","href":""},"pane":{"background":[]},"responsive":{"rules":[]},"data":{"csv":"\"Month\";\"US\";\"Japan\"\n\"1/1/13\";24.02830689;128.6300641\n\"2/1/13\";45.99130947;204.4827691\n\"3/1/13\";73.47431258;306.7604609\n\"4/1/13\";32.36666668;160.088489\n\"5/1/13\";19.35613611;148.5372107\n\"6/1/13\";34.8647607;155.9079801\n\"7/1/13\";54.2807735;285.9820849\n\"8/1/13\";40.94855916;124.6241614\n\"9/1/13\";60.039905;69.71516291\n\"10/1/13\";52.86227517;265.6678334\n\"11/1/13\";15.79492397;77.39826893\n\"12/1/13\";13.77124179;100.5555216\n\"1/1/14\";33.09905276;123.8180125\n\"2/1/14\";189.0607716;130.673297\n\"3/1/14\";145.3894998;118.811791\n\"4/1/14\";17.94304974;306.2806043\n\"5/1/14\";22.717341;87.44562032\n\"6/1/14\";13.67467687;46.38600384\n\"7/1/14\";29.84595603;81.4941676\n\"8/1/14\";16.17801261;75.36007498\n\"9/1/14\";15.83901564;119.5230323\n\"10/1/14\";12.23216313;47.84777595\n\"11/1/14\";5.419718111;75.61828066\n\"12/1/14\";5.46676264;133.8666334\n\"1/1/15\";15.63057927;95.61358037\n\"2/1/15\";5.541646652;88.20345319\n\"3/1/15\";15.05317739;75.27232143\n\"4/1/15\";37.39838197;127.4406593\n\"5/1/15\";77.77746483;139.7363981\n\"6/1/15\";52.97830824;114.0743904\n\"7/1/15\";47.21729255;101.3051222\n\"8/1/15\";19.66183076;95.53940128\n\"9/1/15\";27.50099832;108.0953833\n\"10/1/15\";68.01325058;376.7366982\n\"11/1/15\";28.75403663;263.3404468\n\"12/1/15\";35.34198609;148.9392479\n\"1/1/16\";39.55859594;458.8563571\n\"2/1/16\";30.52218672;238.4085883\n\"3/1/16\";43.23675186;174.6569802\n\"4/1/16\";20.13268243;195.1693723\n\"5/1/16\";48.52835079;216.7001112\n\"6/1/16\";143.0128682;409.3818507\n\"7/1/16\";84.40420359;370.5306652\n\"8/1/16\";156.7701453;157.7215054\n\"9/1/16\";62.75802678;241.4494969\n\"10/1/16\";71.25772402;261.3826352\n\"11/1/16\";325.7920892;641.1364993\n\"12/1/16\";105.5274358;308.9751742\n\"1/1/17\";302.1828963;712.0353245\n\"2/1/17\";185.7916067;444.5412234\n\"3/1/17\";140.2157438;264.2278112\n\"4/1/17\";125.1344807;152.586855\n\"5/1/17\";94.14300822;154.735447\n\"6/1/17\";86.49372413;136.7415987\n\"7/1/17\";63.71994242;151.0129389\n\"8/1/17\";96.25647202;179.5293715\n\"9/1/17\";82.30178118;107.4478623\n\"10/1/17\";114.5538301;142.9368066\n\"11/1/17\";47.22042094;200.3542688\n\"12/1/17\";148.0492744;97.35058298\n\"1/1/18\";271.5186527;165.0244733\n\"2/1/18\";51.24519884;65.84932287\n\"3/1/18\";342.1266632;241.3861505\n\"4/1/18\";279.5527418;322.1444888\n\"5/1/18\";197.9750138;278.6915257\n\"6/1/18\";318.9378033;319.1710867\n\"7/1/18\";535.4803936;458.7096297\n\"8/1/18\";315.5681303;350.178378\n\"9/1/18\";193.1279884;386.7962665"}}; function isScriptAlreadyIncluded(src){ var scripts = document.getElementsByTagName("script"); for (var i = 0; i < scripts.length; i++) { if (scripts[i].hasAttribute('src')) { const scriptTag = scripts[i].getAttribute('src') || ''; if ((scriptTag.indexOf(src) >= 0) || (scriptTag.indexOf('highcharts.src.js') > -1 && src === 'highcharts.js') || ((scriptTag.indexOf('stock/highstock.js') > -1) && src === 'modules/highstock.js')) { return true; } } } return false; } function createChart() { if (typeof window['Highcharts'] !== 'undefined') { if (options.yAxis && options.yAxis.length === 1) options.yAxis = options.yAxis[0]; if (options.xAxis && options.xAxis.length === 1) options.xAxis = options.xAxis[0]; if (options.zAxis && options.zAxis.length === 1) options.zAxis = options.zAxis[0]; Highcharts.merge(true, options, { chart: {style: {fontFamily: "'Fort', sans-serif", fontWeight: "500",}}, credits: {style: {fontSize: 12, fontWeight: "500", color: "#222222",}}, legend: {itemStyle: {fontSize: 14, fontWeight: "700",}}, plotOptions: {series: {dataLabels: {style: {fontSize: 14,}}}}, subtitle: {style: {fontFamily: "'Fort', sans-serif", fontSize: 17, lineHeight: 22, fontWeight: "400", color: "#222222",}}, title: {style: {fontFamily: "'Fort', sans-serif", fontSize: 18, lineHeight: 23, fontWeight: "700", color: "#222222",}}, tooltip: {style: {fontSize: 14, fontWeight: "500", color: "#222222",}}, xAxis: {labels: {style: {fontSize: 14, fontWeight: "700", color: "#222222",}}, title: {style: {fontFamily: "'Fort', sans-serif", fontSize: 15, fontWeight: "700", color: "#222222",}}}, yAxis: {labels: {style: {fontSize: 14, fontWeight: "700", color: "#222222",}}, title: {style: {fontFamily: "'Fort', sans-serif", fontSize: 15, fontWeight: "700", color: "#222222",}}}, }); if (options && (options.lang || options.global)) { Highcharts.setOptions({ global: options.global || {}, lang: options.lang || {} }); } new Highcharts.Chart('highcharts-dBiP1uH5X', options); } } function check() { if (loaded === scripts.length) { for (var i = 0; i < window.HighchartsCloud.ondone.length; i++) { try { window.HighchartsCloud.ondone[i](); } catch(e) { console.error(e); } } } window.HighchartsCloud.hasLoaded = true; } function loadScript(s) { function next() { ++loaded; if (loaded < scripts.length) { loadScript(scripts[loaded]); } check(); } if (isScriptAlreadyIncluded(s)) { return next(); } var n = document.createElement('script'); n.onload = function () { next(); }; if (s.indexOf('https') >= 0) { n.src = s; } else { n.src = cdn + s; } document.body.appendChild(n); } if (typeof window['HighchartsCloud'] === 'undefined') { window.HighchartsCloud = { ondone: [createChart], hasWrapped: false, hasLoaded: false }; loadScript(scripts[0]); } else { if (window.HighchartsCloud.hasLoaded) { createChart(); } else { window.HighchartsCloud.ondone.push(createChart); } } try { var r = new XMLHttpRequest(); r.open('POST', 'https://api.everviz.com:443/chart/190441/1/view', true); r.setRequestHeader('Content-Type', 'application/json'); r.send(); } catch (e) { } }());