{"size":{"Width":580,"Height":316},"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":null,"outputs":{"htmlwidgets":"<div id=\"htmlwidget_container\">\n <div id=\"htmlwidget-3c32bb72897e1f23f42e\" style=\"width:100%;height:400px;\" class=\"plotly html-widget\"></div>\n</div>\n<script type=\"application/json\" data-for=\"htmlwidget-3c32bb72897e1f23f42e\">{\"x\":{\"visdat\":{\"2e2c70dc0ece\":[\"function () \",\"plotlyVisDat\"]},\"cur_data\":\"2e2c70dc0ece\",\"attrs\":{\"2e2c70dc0ece\":{\"alpha_stroke\":1,\"sizes\":[10,100],\"spans\":[1,20],\"x\":[\"Justice\",\"Military\",\"Self-employed\",\"Church\",\"Education\",\"Farmer\",\"Administration\",\"Lawyer\"],\"y\":[-179,-179,-179,-179,-179,-179,-179,-179],\"type\":\"scatter\",\"mode\":\"lines\",\"hoverinfo\":\"none\",\"showlegend\":false,\"opacity\":0,\"inherit\":true},\"2e2c70dc0ece.1\":{\"alpha_stroke\":1,\"sizes\":[10,100],\"spans\":[1,20],\"type\":\"bar\",\"x\":[\"Justice\",\"Military\",\"Self-employed\",\"Church\",\"Education\",\"Farmer\",\"Administration\",\"Lawyer\"],\"y\":[-179,-14,-6,-4,25,31,68,79],\"orientation\":\"v\",\"legendgroup\":\"group 1\",\"hoverinfo\":\"x+y\",\"marker\":{\"size\":6,\"color\":\"rgba(92,154,211,1)\",\"line\":{\"color\":\"rgba(92,154,211,1)\",\"width\":1}},\"inherit\":true}},\"layout\":{\"margin\":{\"b\":50,\"l\":80,\"t\":40,\"r\":60,\"pad\":0},\"title\":\"Net inflow by profession\",\"showlegend\":false,\"legend\":{\"bgcolor\":\"rgba(255,255,255,0)\",\"bordercolor\":\"#2C2C2C\",\"borderwidth\":0,\"font\":{\"color\":\"#2C2C2C\",\"family\":\"Arial\",\"size\":10},\"xanchor\":\"left\",\"yanchor\":\"auto\",\"y\":1,\"x\":1.02,\"traceorder\":\"normal\"},\"yaxis\":{\"domain\":[0,1],\"automargin\":true,\"title\":\"\",\"type\":\"linear\",\"titlefont\":{\"color\":\"#2C2C2C\",\"family\":\"Arial\",\"size\":12},\"tickfont\":{\"color\":\"#2C2C2C\",\"family\":\"Arial\",\"size\":10},\"showline\":false,\"linecolor\":\"#000000\",\"linewidth\":[],\"tickmode\":\"auto\",\"tickvals\":[],\"ticktext\":[],\"range\":[],\"rangemode\":\"tozero\",\"ticks\":\"\",\"tickangle\":[],\"ticklen\":0,\"tickcolor\":\"#000000\",\"dtick\":[],\"zeroline\":false,\"zerolinewidth\":0,\"zerolinecolor\":\"#2C2C2C\",\"tickformat\":\".0f\",\"tickprefix\":\"\",\"ticksuffix\":\"\",\"autorange\":true,\"side\":\"left\",\"gridwidth\":1,\"gridcolor\":\"#E1E1E1\",\"showgrid\":true,\"hoverformat\":\".2f\",\"showexponent\":\"all\",\"showtickprefix\":true,\"showticksuffix\":true,\"showticklabels\":true},\"xaxis\":{\"domain\":[0,1],\"automargin\":true,\"title\":\"\",\"type\":\"category\",\"titlefont\":{\"color\":\"#2C2C2C\",\"family\":\"Arial\",\"size\":12},\"tickfont\":{\"color\":\"#2C2C2C\",\"family\":\"Arial\",\"size\":10},\"showline\":false,\"linecolor\":\"#000000\",\"linewidth\":[],\"tickmode\":\"auto\",\"tickvals\":[],\"ticktext\":[],\"range\":[],\"ticks\":\"\",\"tickangle\":0,\"ticklen\":5,\"tickcolor\":\"#000000\",\"dtick\":[],\"zeroline\":false,\"zerolinewidth\":0,\"zerolinecolor\":\"#2C2C2C\",\"tickformat\":\".f\",\"tickprefix\":\"\",\"ticksuffix\":\"\",\"autorange\":true,\"side\":\"bottom\",\"gridwidth\":0,\"gridcolor\":\"#E1E1E1\",\"showgrid\":false,\"hoverformat\":\".2f\",\"showexponent\":\"all\",\"showtickprefix\":true,\"showticksuffix\":true,\"showticklabels\":true},\"plot_bgcolor\":\"rgba(255,255,255,0)\",\"paper_bgcolor\":\"rgba(255,255,255,0)\",\"hovermode\":\"closest\",\"titlefont\":{\"family\":\"Arial\",\"color\":\"#2C2C2C\",\"size\":16},\"font\":{\"family\":\"Arial\",\"color\":\"#2C2C2C\",\"size\":10},\"bargap\":0.15,\"barmode\":\"\"},\"source\":\"A\",\"config\":{\"modeBarButtonsToAdd\":[{\"name\":\"Collaborate\",\"icon\":{\"width\":1000,\"ascent\":500,\"descent\":-50,\"path\":\"M487 375c7-10 9-23 5-36l-79-259c-3-12-11-23-22-31-11-8-22-12-35-12l-263 0c-15 0-29 5-43 15-13 10-23 23-28 37-5 13-5 25-1 37 0 0 0 3 1 7 1 5 1 8 1 11 0 2 0 4-1 6 0 3-1 5-1 6 1 2 2 4 3 6 1 2 2 4 4 6 2 3 4 5 5 7 5 7 9 16 13 26 4 10 7 19 9 26 0 2 0 5 0 9-1 4-1 6 0 8 0 2 2 5 4 8 3 3 5 5 5 7 4 6 8 15 12 26 4 11 7 19 7 26 1 1 0 4 0 9-1 4-1 7 0 8 1 2 3 5 6 8 4 4 6 6 6 7 4 5 8 13 13 24 4 11 7 20 7 28 1 1 0 4 0 7-1 3-1 6-1 7 0 2 1 4 3 6 1 1 3 4 5 6 2 3 3 5 5 6 1 2 3 5 4 9 2 3 3 7 5 10 1 3 2 6 4 10 2 4 4 7 6 9 2 3 4 5 7 7 3 2 7 3 11 3 3 0 8 0 13-1l0-1c7 2 12 2 14 2l218 0c14 0 25-5 32-16 8-10 10-23 6-37l-79-259c-7-22-13-37-20-43-7-7-19-10-37-10l-248 0c-5 0-9-2-11-5-2-3-2-7 0-12 4-13 18-20 41-20l264 0c5 0 10 2 16 5 5 3 8 6 10 11l85 282c2 5 2 10 2 17 7-3 13-7 17-13z m-304 0c-1-3-1-5 0-7 1-1 3-2 6-2l174 0c2 0 4 1 7 2 2 2 4 4 5 7l6 18c0 3 0 5-1 7-1 1-3 2-6 2l-173 0c-3 0-5-1-8-2-2-2-4-4-4-7z m-24-73c-1-3-1-5 0-7 2-2 3-2 6-2l174 0c2 0 5 0 7 2 3 2 4 4 5 7l6 18c1 2 0 5-1 6-1 2-3 3-5 3l-174 0c-3 0-5-1-7-3-3-1-4-4-5-6z\"},\"click\":\"function(gd) { \\n // is this being viewed in RStudio?\\n if (location.search == '?viewer_pane=1') {\\n alert('To learn about plotly for collaboration, visit:\\\\n https://cpsievert.github.io/plotly_book/plot-ly-for-collaboration.html');\\n } else {\\n window.open('https://cpsievert.github.io/plotly_book/plot-ly-for-collaboration.html', '_blank');\\n }\\n }\"}],\"cloud\":false,\"displayModeBar\":false},\"data\":[{\"x\":[\"Justice\",\"Military\",\"Self-employed\",\"Church\",\"Education\",\"Farmer\",\"Administration\",\"Lawyer\"],\"y\":[-179,-179,-179,-179,-179,-179,-179,-179],\"type\":\"scatter\",\"mode\":\"lines\",\"hoverinfo\":[\"none\",\"none\",\"none\",\"none\",\"none\",\"none\",\"none\",\"none\"],\"showlegend\":false,\"opacity\":0,\"marker\":{\"color\":\"rgba(31,119,180,1)\",\"line\":{\"color\":\"rgba(31,119,180,1)\"}},\"error_y\":{\"color\":\"rgba(31,119,180,1)\"},\"error_x\":{\"color\":\"rgba(31,119,180,1)\"},\"line\":{\"color\":\"rgba(31,119,180,1)\"},\"xaxis\":\"x\",\"yaxis\":\"y\",\"frame\":null},{\"type\":\"bar\",\"x\":[\"Justice\",\"Military\",\"Self-employed\",\"Church\",\"Education\",\"Farmer\",\"Administration\",\"Lawyer\"],\"y\":[-179,-14,-6,-4,25,31,68,79],\"orientation\":\"v\",\"legendgroup\":\"group 1\",\"hoverinfo\":[\"x+y\",\"x+y\",\"x+y\",\"x+y\",\"x+y\",\"x+y\",\"x+y\",\"x+y\"],\"marker\":{\"color\":\"rgba(92,154,211,1)\",\"size\":6,\"line\":{\"color\":\"rgba(92,154,211,1)\",\"width\":1}},\"error_y\":{\"color\":\"rgba(255,127,14,1)\"},\"error_x\":{\"color\":\"rgba(255,127,14,1)\"},\"xaxis\":\"x\",\"yaxis\":\"y\",\"frame\":null}],\"highlight\":{\"on\":\"plotly_click\",\"persistent\":false,\"dynamic\":false,\"selectize\":false,\"opacityDim\":0.2,\"selected\":{\"opacity\":1},\"debounce\":0},\"base_url\":\"https://plot.ly\"},\"evals\":[\"config.modeBarButtonsToAdd.0.click\"],\"jsHooks\":[]}</script>\n<script type=\"application/htmlwidget-sizing\" data-for=\"htmlwidget-3c32bb72897e1f23f42e\">{\"viewer\":{\"width\":\"100%\",\"height\":400,\"padding\":15,\"fill\":true},\"browser\":{\"width\":\"100%\",\"height\":400,\"padding\":0,\"fill\":true}}</script>","htmlwidget-head":"{\"stylesheets\":[\"https://rserverhtmlwidgetasset.azureedge.net/crosstalk-b25ccf47e9892cf2654d5ded8a45d9b7.css\",\"https://rserverhtmlwidgetasset.azureedge.net/plotly-htmlwidgets-ef6d87e1454c6f9f50a1a5a3e8b42646.css\"],\"javascript\":[\"https://rserverhtmlwidgetasset.azureedge.net/htmlwidgets-917a66c6e5036eb1bfd1fb672a82635a.js\",\"https://rserverhtmlwidgetasset.azureedge.net/plotly-c1d49eded87001936f93debf9b25b2d0.js\",\"https://rserverhtmlwidgetasset.azureedge.net/typedarray.min-830ee97537deb99885d830da3312e14d.js\",\"https://rserverhtmlwidgetasset.azureedge.net/jquery.min-91a24ea414e8c447d647cecab86866c2.js\",\"https://rserverhtmlwidgetasset.azureedge.net/crosstalk.min-b1936a0f8f135773de79f3a54af76d20.js\",\"https://rserverhtmlwidgetasset.azureedge.net/plotly-latest.min-a03b8e00ce1a91ef1a582ba5349a6a60.js\"],\"attachments\":[],\"widget-cannot-re-render\":false}","warning":""},"secondsTaken":2.7676738,"updated":"2018-08-26T01:28:16.5227561Z","lastUpdatedMessage":null,"executedCode":null,"lastSavedCode":null,"highlightedCodeSpans":[{"start":66,"length":12,"index":4},{"start":113,"length":9,"index":4},{"start":296,"length":8,"index":4},{"start":322,"length":13,"index":4},{"start":349,"length":9,"index":4},{"start":441,"length":17,"index":4},{"start":473,"length":11,"index":4},{"start":1275,"length":10,"index":4},{"start":1495,"length":18,"index":4},{"start":1901,"length":12,"index":4},{"start":1917,"length":8,"index":4},{"start":2070,"length":9,"index":4},{"start":2101,"length":10,"index":4},{"start":2133,"length":10,"index":4},{"start":2415,"length":17,"index":4},{"start":2480,"length":10,"index":4},{"start":2677,"length":18,"index":4},{"start":3085,"length":12,"index":4},{"start":3101,"length":8,"index":4},{"start":3341,"length":9,"index":4},{"start":3382,"length":10,"index":4},{"start":3414,"length":10,"index":4},{"start":3621,"length":14,"index":4},{"start":3811,"length":17,"index":4},{"start":3934,"length":17,"index":4},{"start":3992,"length":8,"index":4},{"start":4404,"length":8,"index":4},{"start":4617,"length":8,"index":4},{"start":4651,"length":13,"index":4},{"start":4687,"length":14,"index":4},{"start":4724,"length":17,"index":4},{"start":4785,"length":18,"index":4},{"start":5086,"length":10,"index":4},{"start":5122,"length":10,"index":4},{"start":5518,"length":8,"index":4},{"start":5742,"length":14,"index":4},{"start":5771,"length":14,"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":"Automatic","warnSlow":true,"Options":{"debugconsole":false,"codeposition":"OutputOnly","splitH":0.45,"splitV":0.25,"update warnings":true,"updating":"Automatic","warn slow":true}}