(function () { var highcharts = document.createElement('script'); var cdn = 'https://code.highcharts.com/'; var loaded = 0; var encodedUrl = encodeURI('https://app.everviz.com//show/uMtJXyqal'); var scripts = [ "stock/highstock.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":"Work was the most common reason to move to the UK last year"},"subtitle":{"text":"Source: ONS"},"exporting":{},"yAxis":[{"title":{"text":"Thousand, in the previous 12 months"}}],"series":[{"data":[[1212278400000,161],[1228089600000,137],[1243814400000,122],[1259625600000,124],[1267401600000,125],[1275350400000,123],[1283299200000,123],[1291161600000,114],[1298937600000,108],[1306886400000,110],[1314835200000,106],[1322697600000,110],[1330560000000,109],[1338508800000,104],[1346457600000,104],[1354320000000,108],[1362096000000,110],[1370044800000,120],[1377993600000,135],[1385856000000,128],[1393632000000,135],[1401580800000,142],[1409529600000,160],[1417392000000,171],[1425168000000,174],[1433116800000,179],[1441065600000,162],[1448928000000,171],[1456790400000,170],[1464739200000,176],[1472688000000,182],[1480550400000,172],[1488326400000,179],[1496275200000,174],[1504224000000,185],[1512086400000,189]],"name":"Definite job","_colorIndex":0,"_symbolIndex":0},{"data":[[1212278400000,71],[1228089600000,70],[1243814400000,66],[1259625600000,63],[1267401600000,62],[1275350400000,65],[1283299200000,73],[1291161600000,78],[1298937600000,75],[1306886400000,73],[1314835200000,66],[1322697600000,66],[1330560000000,60],[1338508800000,61],[1346457600000,65],[1354320000000,67],[1362096000000,73],[1370044800000,77],[1377993600000,75],[1385856000000,77],[1393632000000,83],[1401580800000,89],[1409529600000,95],[1417392000000,96],[1425168000000,100],[1433116800000,100],[1441065600000,113],[1448928000000,123],[1456790400000,120],[1464739200000,123],[1472688000000,101],[1480550400000,91],[1488326400000,83],[1496275200000,68],[1504224000000,73],[1512086400000,75]],"name":"Looking for work","_colorIndex":1,"_symbolIndex":1},{"data":[[1212278400000,81],[1228089600000,87],[1243814400000,87],[1259625600000,76],[1267401600000,76],[1275350400000,71],[1283299200000,74],[1291161600000,78],[1298937600000,79],[1306886400000,85],[1314835200000,81],[1322697600000,75],[1330560000000,74],[1338508800000,68],[1346457600000,61],[1354320000000,61],[1362096000000,59],[1370044800000,59],[1377993600000,64],[1385856000000,69],[1393632000000,77],[1401580800000,80],[1409529600000,85],[1417392000000,86],[1425168000000,81],[1433116800000,77],[1441065600000,74],[1448928000000,71],[1456790400000,78],[1464739200000,78],[1472688000000,72],[1480550400000,83],[1488326400000,78],[1496275200000,77],[1504224000000,86],[1512086400000,80]],"name":"Accompany/join","_colorIndex":2,"_symbolIndex":2},{"data":[[1212278400000,141],[1228089600000,172],[1243814400000,169],[1259625600000,209],[1267401600000,234],[1275350400000,234],[1283299200000,243],[1291161600000,234],[1298937600000,227],[1306886400000,235],[1314835200000,241],[1322697600000,226],[1330560000000,208],[1338508800000,193],[1346457600000,181],[1354320000000,175],[1362096000000,170],[1370044800000,169],[1377993600000,170],[1385856000000,171],[1393632000000,171],[1401580800000,169],[1409529600000,184],[1417392000000,187],[1425168000000,186],[1433116800000,184],[1441065600000,165],[1448928000000,157],[1456790400000,156],[1464739200000,155],[1472688000000,127],[1480550400000,132],[1488326400000,135],[1496275200000,133],[1504224000000,189],[1512086400000,189]],"name":"Formal study","_colorIndex":3,"_symbolIndex":3}],"plotOptions":{"series":{"animation":false}},"credits":{"enabled":true,"text":"Powered by Highcharts Cloud","href":"https://app.everviz.com","style":{"font-size":"16px"}},"data":{"csv":"\"null\";\"Definite job\";\"Looking for work\";\"Accompany/join\";\"Formal study\"\n\"June 2008\";161;71;81;141\n\"December 2008\";137;70;87;172\n\"June 2009\";122;66;87;169\n\"December 2009\";124;63;76;209\n\"March 2010\";125;62;76;234\n\"June 2010\";123;65;71;234\n\"September 2010\";123;73;74;243\n\"December 2010\";114;78;78;234\n\"March 2011\";108;75;79;227\n\"June 2011\";110;73;85;235\n\"September 2011\";106;66;81;241\n\"December 2011\";110;66;75;226\n\"March 2012\";109;60;74;208\n\"June 2012\";104;61;68;193\n\"September 2012\";104;65;61;181\n\"December 2012\";108;67;61;175\n\"March 2013\";110;73;59;170\n\"June 2013\";120;77;59;169\n\"September 2013\";135;75;64;170\n\"December 2013\";128;77;69;171\n\"March 2014\";135;83;77;171\n\"June 2014\";142;89;80;169\n\"September 2014\";160;95;85;184\n\"December 2014\";171;96;86;187\n\"March 2015\";174;100;81;186\n\"June 2015\";179;100;77;184\n\"September 2015\";162;113;74;165\n\"December 2015\";171;123;71;157\n\"March 2016\";170;120;78;156\n\"June 2016\";176;123;78;155\n\"September 2016\";182;101;72;127\n\"December 2016\";172;91;83;132\n\"March 2017\";179;83;78;135\n\"June 2017\";174;68;77;133\n\"September 2017\";185;73;86;189\n\"December 2017\";189;75;80;189"}}; function isScriptAlreadyIncluded(src){ var scripts = document.getElementsByTagName("script"); for (var i = 0; i < scripts.length; i++) { if (scripts[i].hasAttribute('src')) { if ((scripts[i].getAttribute('src') || '').indexOf(src) >= 0) { 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]; /* // Sample of extending options: Highcharts.merge(true, options, { chart: { backgroundColor: "#bada55" }, plotOptions: { series: { cursor: "pointer", events: { click: function(event) { alert(this.name + " clicked\n" + "Alt: " + event.altKey + "\n" + "Control: " + event.ctrlKey + "\n" + "Shift: " + event.shiftKey + "\n"); } } } } }); */ if (options && (options.lang || options.global)) { Highcharts.setOptions({ global: options.global || {}, lang: options.lang || {} }); } new Highcharts.Chart('highcharts-uMtJXyqal', 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/171509/1/view', true); r.setRequestHeader('Content-Type', 'application/json'); r.send(); } catch (e) { } }());