{"size":{"Width":250,"Height":226},"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 - Bar Chart","outputs":{"htmlwidgets":"<div id=\"htmlwidget_container\">\n <div id=\"htmlwidget-c18f86ec3d9ded8599b3\" style=\"width:100%;height:400px;\" class=\"plotly html-widget\"></div>\n</div>\n<script type=\"application/json\" data-for=\"htmlwidget-c18f86ec3d9ded8599b3\">{\"x\":{\"visdat\":{\"eb0d1b3e690d\":[\"function () \",\"plotlyVisDat\"]},\"cur_data\":\"eb0d1b3e690d\",\"attrs\":{\"eb0d1b3e690d\":{\"alpha_stroke\":1,\"sizes\":[10,100],\"spans\":[1,20],\"x\":[0.0279503105590062,0.0279503105590062,0.0279503105590062,0.0279503105590062,0.0279503105590062,0.0279503105590062],\"y\":[\"Coca-Cola\",\"Diet Coke\",\"Coke Zero\",\"Pepsi\",\"Diet Pepsi\",\"Pepsi Max\"],\"type\":\"scatter\",\"mode\":\"lines\",\"hoverinfo\":\"skip\",\"showlegend\":false,\"opacity\":0,\"inherit\":true},\"eb0d1b3e690d.1\":{\"alpha_stroke\":1,\"sizes\":[10,100],\"spans\":[1,20],\"x\":[0.444099378881988,0.114906832298137,0.18944099378882,0.0869565217391304,0.0279503105590062,0.136645962732919],\"y\":[\"Coca-Cola\",\"Diet Coke\",\"Coke Zero\",\"Pepsi\",\"Diet Pepsi\",\"Pepsi Max\"],\"type\":\"bar\",\"orientation\":\"h\",\"marker\":{\"color\":\"rgba(92,154,211,1)\",\"line\":{\"color\":\"rgba(92,154,211,1)\",\"width\":1}},\"name\":\"\",\"hoverlabel\":{\"font\":{\"color\":\"#2C2C2C\",\"size\":11,\"family\":\"Arial\"}},\"hovertemplate\":\"%{y}: %{x}<extra><\\/extra>\",\"legendgroup\":1,\"inherit\":true},\"eb0d1b3e690d.2\":{\"alpha_stroke\":1,\"sizes\":[10,100],\"spans\":[1,20],\"x\":[0.444099378881988,0.114906832298137,0.18944099378882,0.0869565217391304,0.0279503105590062,0.136645962732919],\"y\":[\"Coca-Cola\",\"Diet Coke\",\"Coke Zero\",\"Pepsi\",\"Diet Pepsi\",\"Pepsi Max\"],\"type\":\"scatter\",\"name\":\"\",\"mode\":\"markers\",\"marker\":{\"color\":\"#5C9AD3\",\"opacity\":0},\"hovertemplate\":\"%{text}<extra><\\/extra>\",\"text\":[\"Coca-Cola: 44%\",\"Diet Coke: 11%\",\"Coke Zero: 19%\",\"Pepsi: 9%\",\"Diet Pepsi: 3%\",\"Pepsi Max: 14%\"],\"hoverlabel\":{\"font\":{\"color\":\"#2C2C2C\",\"size\":11,\"family\":\"Arial\"},\"bgcolor\":\"#5C9AD3\"},\"showlegend\":false,\"yaxis\":\"y\",\"inherit\":true}},\"layout\":{\"margin\":{\"b\":32.5,\"l\":80,\"t\":20,\"r\":20,\"pad\":0},\"showlegend\":false,\"legend\":{\"bgcolor\":\"transparent\",\"bordercolor\":\"#2C2C2C\",\"borderwidth\":0,\"orientation\":\"v\",\"font\":{\"family\":\"Arial\",\"size\":10,\"color\":\"#2C2C2C\"},\"xanchor\":\"left\",\"yanchor\":\"auto\",\"y\":1,\"x\":1.02,\"traceorder\":\"normal\"},\"yaxis\":{\"domain\":[0,1],\"automargin\":true,\"title\":{\"text\":\" \",\"font\":{\"family\":\"Arial\",\"size\":12,\"color\":\"#2C2C2C\"}},\"side\":\"left\",\"type\":\"category\",\"tickfont\":{\"family\":\"Arial\",\"size\":10,\"color\":\"#2C2C2C\"},\"showline\":false,\"linecolor\":\"#000000\",\"linewidth\":[],\"showgrid\":false,\"gridwidth\":0,\"gridcolor\":\"#E1E1E1\",\"tickmode\":\"auto\",\"nticks\":[],\"tickvals\":[],\"ticktext\":[],\"ticks\":\"\",\"tickangle\":[],\"ticklen\":5,\"tickcolor\":\"#000000\",\"dtick\":[],\"tickformat\":\"\",\"tick0\":[],\"tickprefix\":\"\",\"ticksuffix\":\"\",\"hoverformat\":\"\",\"layer\":\"below traces\",\"autorange\":false,\"range\":[5.5,-0.5],\"rangemode\":\"normal\",\"zeroline\":false,\"zerolinewidth\":0,\"zerolinecolor\":\"#FFFFFF00\",\"showexponent\":\"all\",\"showtickprefix\":true,\"showticksuffix\":true,\"showticklabels\":true},\"yaxis2\":{\"overlaying\":\"y\",\"visible\":false,\"range\":[5.5,-0.5]},\"xaxis\":{\"domain\":[0,1],\"automargin\":true,\"title\":{\"text\":\" \",\"font\":{\"family\":\"Arial\",\"size\":12,\"color\":\"#2C2C2C\"}},\"side\":\"bottom\",\"type\":\"numeric\",\"tickfont\":{\"family\":\"Arial\",\"size\":10,\"color\":\"#2C2C2C\"},\"showline\":false,\"linecolor\":\"#000000\",\"linewidth\":[],\"showgrid\":true,\"gridwidth\":1,\"gridcolor\":\"#E1E1E1\",\"tickmode\":\"auto\",\"nticks\":[],\"tickvals\":[],\"ticktext\":[],\"ticks\":\"\",\"tickangle\":[],\"ticklen\":5,\"tickcolor\":\"#000000\",\"dtick\":[],\"tickformat\":\".0%\",\"tick0\":[],\"tickprefix\":\"\",\"ticksuffix\":\"\",\"hoverformat\":\".0%\",\"layer\":\"below traces\",\"autorange\":true,\"range\":[],\"rangemode\":\"tozero\",\"zeroline\":true,\"zerolinewidth\":0,\"zerolinecolor\":\"#E1E1E1\",\"showexponent\":\"all\",\"showtickprefix\":true,\"showticksuffix\":true,\"showticklabels\":true},\"plot_bgcolor\":\"transparent\",\"paper_bgcolor\":\"transparent\",\"hoverlabel\":{\"namelength\":-1,\"bordercolor\":\"transparent\",\"font\":{\"size\":11,\"family\":\"Arial\"}},\"hovermode\":\"closest\",\"annotations\":[{\"text\":\" <br> \",\"font\":{\"family\":\"Arial\",\"size\":8,\"color\":\"#2C2C2C\"},\"xref\":\"paper\",\"x\":0.5,\"yref\":\"paper\",\"y\":0,\"yanchor\":\"top\",\"xanchor\":\"center\",\"showarrow\":false}],\"bargap\":0.15,\"barmode\":\"group\"},\"source\":\"A\",\"config\":{\"showSendToCloud\":false,\"displayModeBar\":false},\"data\":[{\"x\":[0.0279503105590062,0.0279503105590062,0.0279503105590062,0.0279503105590062,0.0279503105590062,0.0279503105590062],\"y\":[\"Coca-Cola\",\"Diet Coke\",\"Coke Zero\",\"Pepsi\",\"Diet Pepsi\",\"Pepsi Max\"],\"type\":\"scatter\",\"mode\":\"lines\",\"hoverinfo\":[\"skip\",\"skip\",\"skip\",\"skip\",\"skip\",\"skip\"],\"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},{\"x\":[0.444099378881988,0.114906832298137,0.18944099378882,0.0869565217391304,0.0279503105590062,0.136645962732919],\"y\":[\"Coca-Cola\",\"Diet Coke\",\"Coke Zero\",\"Pepsi\",\"Diet Pepsi\",\"Pepsi Max\"],\"type\":\"bar\",\"orientation\":\"h\",\"marker\":{\"color\":\"rgba(92,154,211,1)\",\"line\":{\"color\":\"rgba(92,154,211,1)\",\"width\":1}},\"name\":\"\",\"hoverlabel\":{\"font\":{\"color\":\"#2C2C2C\",\"size\":11,\"family\":\"Arial\"}},\"hovertemplate\":[\"%{y}: %{x}<extra><\\/extra>\",\"%{y}: %{x}<extra><\\/extra>\",\"%{y}: %{x}<extra><\\/extra>\",\"%{y}: %{x}<extra><\\/extra>\",\"%{y}: %{x}<extra><\\/extra>\",\"%{y}: %{x}<extra><\\/extra>\"],\"legendgroup\":1,\"error_y\":{\"color\":\"rgba(255,127,14,1)\"},\"error_x\":{\"color\":\"rgba(255,127,14,1)\"},\"xaxis\":\"x\",\"yaxis\":\"y\",\"frame\":null},{\"x\":[0.444099378881988,0.114906832298137,0.18944099378882,0.0869565217391304,0.0279503105590062,0.136645962732919],\"y\":[\"Coca-Cola\",\"Diet Coke\",\"Coke Zero\",\"Pepsi\",\"Diet Pepsi\",\"Pepsi Max\"],\"type\":\"scatter\",\"name\":\"\",\"mode\":\"markers\",\"marker\":{\"color\":\"#5C9AD3\",\"opacity\":0,\"line\":{\"color\":\"rgba(44,160,44,1)\"}},\"hovertemplate\":[\"%{text}<extra><\\/extra>\",\"%{text}<extra><\\/extra>\",\"%{text}<extra><\\/extra>\",\"%{text}<extra><\\/extra>\",\"%{text}<extra><\\/extra>\",\"%{text}<extra><\\/extra>\"],\"text\":[\"Coca-Cola: 44%\",\"Diet Coke: 11%\",\"Coke Zero: 19%\",\"Pepsi: 9%\",\"Diet Pepsi: 3%\",\"Pepsi Max: 14%\"],\"hoverlabel\":{\"font\":{\"color\":\"#2C2C2C\",\"size\":11,\"family\":\"Arial\"},\"bgcolor\":\"#5C9AD3\"},\"showlegend\":false,\"yaxis\":\"y\",\"error_y\":{\"color\":\"rgba(44,160,44,1)\"},\"error_x\":{\"color\":\"rgba(44,160,44,1)\"},\"line\":{\"color\":\"rgba(44,160,44,1)\"},\"xaxis\":\"x\",\"frame\":null}],\"highlight\":{\"on\":\"plotly_click\",\"persistent\":false,\"dynamic\":false,\"selectize\":false,\"opacityDim\":0.2,\"selected\":{\"opacity\":1},\"debounce\":0},\"shinyEvents\":[\"plotly_hover\",\"plotly_click\",\"plotly_selected\",\"plotly_relayout\",\"plotly_brushed\",\"plotly_brushing\",\"plotly_clickannotation\",\"plotly_doubleclick\",\"plotly_deselect\",\"plotly_afterplot\"],\"base_url\":\"https://plot.ly\"},\"evals\":[],\"jsHooks\":[]}</script>\n<script type=\"application/htmlwidget-sizing\" data-for=\"htmlwidget-c18f86ec3d9ded8599b3\">{\"viewer\":{\"width\":\"100%\",\"height\":400,\"padding\":15,\"fill\":true},\"browser\":{\"width\":\"100%\",\"height\":400,\"padding\":0,\"fill\":true}}</script>","htmlwidget-head":"{\"stylesheets\":[\"https://widget-cdn.displayr.com/crosstalk-b25ccf47e9892cf2654d5ded8a45d9b7.css\",\"https://widget-cdn.displayr.com/plotly-htmlwidgets-ef6d87e1454c6f9f50a1a5a3e8b42646.css\"],\"javascript\":[\"https://widget-cdn.displayr.com/htmlwidgets-917a66c6e5036eb1bfd1fb672a82635a.js\",\"https://widget-cdn.displayr.com/plotly-c7b3e447465c3168d867dc555864274e.js\",\"https://widget-cdn.displayr.com/typedarray.min-830ee97537deb99885d830da3312e14d.js\",\"https://widget-cdn.displayr.com/jquery.min-91a24ea414e8c447d647cecab86866c2.js\",\"https://widget-cdn.displayr.com/crosstalk.min-ffe9400acf504ca85701ad21a31e29fa.js\",\"https://widget-cdn.displayr.com/plotly-latest.min-50e5cd76a4a5d7b90468e8bb02c626a2.js\"],\"attachments\":[],\"widget-cannot-re-render\":false,\"package\":\"plotly\",\"package_version\":\"4.9.0.9000\"}","warning":""},"secondsTaken":1.9675043,"updated":"2019-07-22T08:32:48.6177323Z","lastUpdatedMessage":null,"executedCode":null,"lastSavedCode":null,"highlightedCodeSpans":[{"start":157,"length":13,"index":4},{"start":291,"length":13,"index":4},{"start":1791,"length":13,"index":4},{"start":1807,"length":7,"index":6},{"start":1816,"length":17,"index":6},{"start":4634,"length":7,"index":6},{"start":4643,"length":13,"index":4},{"start":4918,"length":11,"index":4},{"start":5201,"length":11,"index":4},{"start":5426,"length":13,"index":4},{"start":8317,"length":13,"index":4},{"start":8375,"length":13,"index":4},{"start":13812,"length":9,"index":4},{"start":14550,"length":10,"index":4},{"start":19401,"length":13,"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}}