{"size":{"Width":263,"Height":438},"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-96182af54a03\" style=\"width:100%;height:400px;\" class=\"plotly html-widget\"></div>\n</div>\n<script type=\"application/json\" data-for=\"htmlwidget-96182af54a03\">{\"x\":{\"visdat\":{\"96186f96a734\":[\"function () \",\"plotlyVisDat\"]},\"cur_data\":\"96186f96a734\",\"attrs\":{\"96186f96a734\":{\"alpha\":1,\"sizes\":[10,100],\"x\":[22.2,22.2,22.2,22.2,22.2,22.2,22.2,22.2,22.2,22.2,22.2,22.2],\"y\":[\"South Africa\",\"Egypt\",\"Nigeria\",\"Algeria\",\"Morocco\",\"Angola\",\"Libya\",\"Tunisia\",\"Kenya\",\"Ethiopia\",\"Ghana\",\"Cameroon\"],\"type\":\"scatter\",\"mode\":\"lines\",\"hoverinfo\":\"none\",\"showlegend\":false,\"opacity\":0},\"96186f96a734.1\":{\"alpha\":1,\"sizes\":[10,100],\"type\":\"bar\",\"x\":[285.4,188.4,173,140.6,91.4,75.5,62.3,39.6,29.4,28.5,26.2,22.2],\"y\":[\"South Africa\",\"Egypt\",\"Nigeria\",\"Algeria\",\"Morocco\",\"Angola\",\"Libya\",\"Tunisia\",\"Kenya\",\"Ethiopia\",\"Ghana\",\"Cameroon\"],\"orientation\":\"h\",\"legendgroup\":\"group 1\",\"hoverinfo\":\"x+y\",\"marker\":{\"size\":6,\"color\":\"rgba(92,154,211,1)\",\"line\":{\"color\":\"rgba(92,154,211,1)\",\"width\":1}}},\"96186f96a734.2\":{\"alpha\":1,\"sizes\":[10,100],\"x\":[288.032,191.032,175.632,143.232,94.032,78.132,64.932,42.232,32.032,31.132,28.832,24.832],\"y\":[0,1,2,3,4,5,6,7,8,9,10,11],\"text\":[\"285\",\"188\",\"173\",\"141\",\"91\",\"76\",\"62\",\"40\",\"29\",\"28\",\"26\",\"22\"],\"type\":\"scatter\",\"mode\":\"text\",\"yaxis\":\"y2\",\"textposition\":\"middle right\",\"textfont\":{\"family\":\"Arial\",\"color\":\"rgba(44,44,44,1)\",\"size\":10},\"legendgroup\":\"group 1\",\"hoverinfo\":\"none\",\"showlegend\":false}},\"layout\":{\"margin\":{\"b\":50,\"l\":69.8,\"t\":35,\"r\":20,\"pad\":0},\"title\":\"African Countries' GDP<br />$US Billions US\",\"showlegend\":false,\"legend\":{\"bgcolor\":\"rgba(255,255,255,1)\",\"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],\"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\":[11.5,-0.5],\"rangemode\":\"tozero\",\"ticks\":\"\",\"tickangle\":[],\"ticklen\":0,\"tickcolor\":\"#000000\",\"dtick\":[],\"zeroline\":false,\"zerolinewidth\":0,\"zerolinecolor\":\"#2C2C2C\",\"tickformat\":\".f\",\"tickprefix\":\"\",\"ticksuffix\":\"\",\"autorange\":\"reversed\",\"side\":\"left\",\"gridwidth\":0,\"gridcolor\":\"#E1E1E1\",\"showgrid\":false,\"hoverformat\":\".0f\",\"showexponent\":\"all\",\"showtickprefix\":true,\"showticksuffix\":true,\"showticklabels\":true},\"yaxis2\":{\"overlaying\":\"y\",\"visible\":false,\"range\":[11.5,-0.5]},\"xaxis\":{\"domain\":[0,1],\"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\":[0,325],\"ticks\":\"\",\"tickangle\":0,\"ticklen\":5,\"tickcolor\":\"#000000\",\"dtick\":[],\"zeroline\":false,\"zerolinewidth\":0,\"zerolinecolor\":\"#2C2C2C\",\"tickformat\":\".0f\",\"tickprefix\":\"\",\"ticksuffix\":\"\",\"autorange\":false,\"side\":\"bottom\",\"gridwidth\":0,\"gridcolor\":\"#E1E1E1\",\"showgrid\":false,\"hoverformat\":\".0f\",\"showexponent\":\"all\",\"showtickprefix\":true,\"showticksuffix\":true,\"showticklabels\":false},\"plot_bgcolor\":\"rgba(255,255,255,1)\",\"paper_bgcolor\":\"rgba(255,255,255,1)\",\"hovermode\":\"closest\",\"titlefont\":{\"family\":\"Arial\",\"color\":\"#2C2C2C\",\"size\":12},\"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\":[22.2,22.2,22.2,22.2,22.2,22.2,22.2,22.2,22.2,22.2,22.2,22.2],\"y\":[\"South Africa\",\"Egypt\",\"Nigeria\",\"Algeria\",\"Morocco\",\"Angola\",\"Libya\",\"Tunisia\",\"Kenya\",\"Ethiopia\",\"Ghana\",\"Cameroon\"],\"type\":\"scatter\",\"mode\":\"lines\",\"hoverinfo\":[\"none\",\"none\",\"none\",\"none\",\"none\",\"none\",\"none\",\"none\",\"none\",\"none\",\"none\",\"none\"],\"showlegend\":false,\"opacity\":0,\"line\":{\"fillcolor\":\"rgba(31,119,180,1)\",\"color\":\"rgba(31,119,180,1)\"},\"xaxis\":\"x\",\"yaxis\":\"y\",\"frame\":null},{\"type\":\"bar\",\"x\":[285.4,188.4,173,140.6,91.4,75.5,62.3,39.6,29.4,28.5,26.2,22.2],\"y\":[\"South Africa\",\"Egypt\",\"Nigeria\",\"Algeria\",\"Morocco\",\"Angola\",\"Libya\",\"Tunisia\",\"Kenya\",\"Ethiopia\",\"Ghana\",\"Cameroon\"],\"orientation\":\"h\",\"legendgroup\":\"group 1\",\"hoverinfo\":[\"x+y\",\"x+y\",\"x+y\",\"x+y\",\"x+y\",\"x+y\",\"x+y\",\"x+y\",\"x+y\",\"x+y\",\"x+y\",\"x+y\"],\"marker\":{\"fillcolor\":\"rgba(255,127,14,1)\",\"color\":\"rgba(92,154,211,1)\",\"size\":6,\"line\":{\"color\":\"rgba(92,154,211,1)\",\"width\":1}},\"xaxis\":\"x\",\"yaxis\":\"y\",\"frame\":null},{\"x\":[288.032,191.032,175.632,143.232,94.032,78.132,64.932,42.232,32.032,31.132,28.832,24.832],\"y\":[0,1,2,3,4,5,6,7,8,9,10,11],\"text\":[\"285\",\"188\",\"173\",\"141\",\"91\",\"76\",\"62\",\"40\",\"29\",\"28\",\"26\",\"22\"],\"type\":\"scatter\",\"mode\":\"text\",\"yaxis\":\"y2\",\"textposition\":[\"middle right\",\"middle right\",\"middle right\",\"middle right\",\"middle right\",\"middle right\",\"middle right\",\"middle right\",\"middle right\",\"middle right\",\"middle right\",\"middle right\"],\"textfont\":{\"fillcolor\":\"rgba(44,160,44,1)\",\"color\":\"rgba(44,44,44,1)\",\"family\":\"Arial\",\"size\":10},\"legendgroup\":\"group 1\",\"hoverinfo\":[\"none\",\"none\",\"none\",\"none\",\"none\",\"none\",\"none\",\"none\",\"none\",\"none\",\"none\",\"none\"],\"showlegend\":false,\"xaxis\":\"x\",\"frame\":null}],\"highlight\":{\"on\":\"plotly_click\",\"persistent\":false,\"dynamic\":false,\"selectize\":false,\"opacityDim\":0.2,\"selected\":{\"opacity\":1}},\"base_url\":\"https://plot.ly\"},\"evals\":[\"config.modeBarButtonsToAdd.0.click\"],\"jsHooks\":{\"render\":[{\"code\":\"function(el, x) { var ctConfig = crosstalk.var('plotlyCrosstalkOpts').set({\\\"on\\\":\\\"plotly_click\\\",\\\"persistent\\\":false,\\\"dynamic\\\":false,\\\"selectize\\\":false,\\\"opacityDim\\\":0.2,\\\"selected\\\":{\\\"opacity\\\":1}}); }\",\"data\":null}]}}</script>\n<script type=\"application/htmlwidget-sizing\" data-for=\"htmlwidget-96182af54a03\">{\"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-cd5c5716917807e1b69e2493221698b2.js\",\"https://rserverhtmlwidgetasset.azureedge.net/plotly-4ab51328a91fb22cf606710cfee204c9.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-325c88418cec885e677571e996ab3377.js\"],\"attachments\":[]}","warning":""},"secondsTaken":2.9711585,"updated":"2017-09-13T07:13:10.418985Z","lastUpdatedMessage":null,"executedCode":null,"lastSavedCode":null,"highlightedCodeSpans":[{"start":34,"length":3,"index":2}],"tableTransformations":"<TabularTransformer>\r\n <TabularTransform type=\"Truncation\" truncationHeaderType=\"Column\" />\r\n <TabularTransform />\r\n</TabularTransformer>","tabularFilteringOptions":null,"hasGuiControls":false,"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}}