{"size":{"Width":720,"Height":505},"appearance":{"background":null,"padding":14,"font":{"family":"Courier New","size":10.0,"bold":false,"italic":false,"underline":false,"strikeout":false,"color":"rgb(0,72,168)"},"border":{"on":true,"size":0.0,"style":"solid","color":"#666"},"text":{"wrap":false,"hAlign":"left","vAlign":"top"}},"outputType":"WIDGET","widgetState":null,"wikiPageTitle":"Visualization - Sankey Diagram","outputs":{"warning":"Some categories do not appear in the data: Work status (q2), Occupation (q3). This may be because they are empty in the raw data, or because they are empty after any weights, filters/subsets, or missing data settings are applied. This may cause an error. It is recommended that you merge categories prior to estimating the model, use an alternative missing data method, filter the data, or make the data numeric.","htmlwidgets":"<div id=\"htmlwidget_container\">\n <div id=\"htmlwidget-16b37f5a2b7edf765ef7\" style=\"width:960px;height:500px;\" class=\"sankeyNetwork html-widget\"></div>\n</div>\n<script type=\"application/json\" data-for=\"htmlwidget-16b37f5a2b7edf765ef7\">{\"x\":{\"links\":{\"source\":[0,0,0,0,0,0,0,1,2,2,2,2,3,4,5,6,6,6,6,6,6,6,7,7,7,7,7,7,7,8],\"target\":[2,3,4,5,6,7,8,8,9,11,13,16,16,16,16,9,10,11,12,13,15,16,9,10,11,12,13,14,15,16],\"value\":[211,62,29,20,84,294,15,6,1,2,3,205,62,29,20,2,3,3,1,19,1,55,30,82,43,32,63,23,21,21],\"group\":[\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"1\",\"2\",\"2\",\"2\",\"2\",\"3\",\"4\",\"5\",\"6\",\"6\",\"6\",\"6\",\"6\",\"6\",\"6\",\"7\",\"7\",\"7\",\"7\",\"7\",\"7\",\"7\",\"8\"]},\"nodes\":{\"name\":[\"q1: Yes\",\"q1: No\",\"q2: Student\",\"q2: Home maker\",\"q2: Retired\",\"q2: Not working\",\"q2: Part-time worker\",\"q2: Fulltime worker\",\"q2: NA\",\"q3: manager/administrator\",\"q3: professional\",\"q3: Associate professional\",\"q3: Tradesperson and related\",\"q3: clerical, sales and services\",\"q3: production/transport worker\",\"q3: Labourer and related worker\",\"q3: NA\"],\"group\":[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\",\"10\",\"11\",\"12\",\"13\",\"14\",\"15\",\"16\"]},\"options\":{\"NodeID\":\"name\",\"NodeGroup\":\"group\",\"LinkGroup\":\"group\",\"colourScale\":\"d3.scaleOrdinal() .domain(['0','1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16']) .range(['#5C9AD3','#ED7D31','#A5A5A5','#FFC000','#4473C5','#70AD46','#255F91','#9E480D','#636365','#987300','#26408B','#42682B','#5C9AD3','#ED7D31','#A5A5A5','#FFC000','#4473C5']);\",\"fontSize\":12,\"fontFamily\":\"Arial\",\"nodeWidth\":30,\"nodePadding\":10,\"units\":\"\",\"margin\":{\"top\":null,\"right\":null,\"bottom\":null,\"left\":null},\"iterations\":32,\"sinksRight\":true}},\"evals\":[],\"jsHooks\":[]}</script>\n<script type=\"application/htmlwidget-sizing\" data-for=\"htmlwidget-16b37f5a2b7edf765ef7\">{\"viewer\":{\"width\":450,\"height\":350,\"padding\":10,\"fill\":true},\"browser\":{\"width\":960,\"height\":500,\"padding\":10,\"fill\":true}}</script>","htmlwidget-head":"{\"stylesheets\":[],\"javascript\":[\"https://widget-cdn.displayr.com/htmlwidgets-917a66c6e5036eb1bfd1fb672a82635a.js\",\"https://widget-cdn.displayr.com/d3.min-8cb4245fbe0fd43eed62462352223240.js\",\"https://widget-cdn.displayr.com/sankey-58c4ed3855c134f68a086bd1e43cb1e0.js\",\"https://widget-cdn.displayr.com/sankeyNetwork-37d0407b37150c41005a94bf4a70645b.js\"],\"attachments\":[],\"widget-cannot-re-render\":false,\"package\":\"networkD3\",\"package_version\":\"0.4\"}"},"secondsTaken":1.224,"updated":"2019-08-26T00:48:06.2478353Z","lastUpdatedMessage":null,"executedCode":null,"lastSavedCode":null,"highlightedCodeSpans":[{"start":466,"length":17,"index":6},{"start":541,"length":13,"index":4},{"start":567,"length":13,"index":4},{"start":693,"length":14,"index":4},{"start":828,"length":7,"index":6},{"start":953,"length":17,"index":4},{"start":985,"length":14,"index":4},{"start":1050,"length":4,"index":1},{"start":1218,"length":20,"index":4},{"start":1284,"length":14,"index":4},{"start":1325,"length":19,"index":4},{"start":1391,"length":11,"index":4},{"start":1423,"length":15,"index":4},{"start":1604,"length":14,"index":4},{"start":2376,"length":11,"index":4},{"start":2472,"length":11,"index":4},{"start":3124,"length":13,"index":4},{"start":3515,"length":13,"index":4},{"start":3545,"length":11,"index":4}],"tableTransformations":"<TabularTransformer>\r\n <TabularTransform type=\"Truncation\" truncationHeaderType=\"Column\" />\r\n <TabularTransform />\r\n</TabularTransformer>","tabularFilteringOptions":null,"hasGuiControls":true,"calculating":"Idle","showDebug":false,"layout":"OutputOnly","vSplit":0.25,"hSplit":0.45,"updateWarnings":true,"updateMode":"Manual","warnSlow":false,"Options":{"debugconsole":false,"codeposition":"OutputOnly","splitH":0.45,"splitV":0.25,"update warnings":true,"updating":"Manual","warn slow":false}}