{"size":{"Width":500,"Height":450},"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-c1210ea619450bab2332\" style=\"width:100%;height:400px;\" class=\"plotly html-widget\"></div>\n</div>\n<script type=\"application/json\" data-for=\"htmlwidget-c1210ea619450bab2332\">{\"x\":{\"visdat\":{\"1b47b6f869fc9\":[\"function () \",\"plotlyVisDat\"]},\"cur_data\":\"1b47b6f869fc9\",\"attrs\":{\"1b47b6f869fc9\":{\"alpha_stroke\":1,\"sizes\":[10,100],\"spans\":[1,20],\"x\":[\"Coca-Cola\",\"Diet Coke\",\"Coke Zero\",\"Pepsi\",\"Diet Pepsi\",\"Pepsi Max\"],\"y\":[0.020066889632107,0.020066889632107,0.020066889632107,0.020066889632107,0.020066889632107,0.020066889632107],\"mode\":\"lines\",\"type\":\"scatter\",\"cliponaxis\":true,\"hoverinfo\":\"skip\",\"showlegend\":false,\"opacity\":0,\"inherit\":true},\"1b47b6f869fc9.1\":{\"alpha_stroke\":1,\"sizes\":[10,100],\"spans\":[1,20],\"x\":[\"Coca-Cola\",\"Diet Coke\",\"Coke Zero\",\"Pepsi\",\"Diet Pepsi\",\"Pepsi Max\"],\"y\":[0.421404682274247,0.0836120401337793,0.1438127090301,0.11371237458194,0.020066889632107,0.193979933110368],\"type\":\"bar\",\"orientation\":\"v\",\"marker\":{\"color\":\"rgba(92,154,211,1)\",\"line\":{\"color\":\"rgba(92,154,211,1)\",\"width\":1}},\"name\":\"Male\",\"hoverlabel\":{\"font\":{\"color\":\"#2C2C2C\",\"size\":11,\"family\":\"Arial\"}},\"hovertemplate\":\"%{x}: %{y}<extra>Male<\\/extra>\",\"legendgroup\":1,\"inherit\":true},\"1b47b6f869fc9.2\":{\"alpha_stroke\":1,\"sizes\":[10,100],\"spans\":[1,20],\"x\":[\"Coca-Cola\",\"Diet Coke\",\"Coke Zero\",\"Pepsi\",\"Diet Pepsi\",\"Pepsi Max\"],\"y\":[0.435215946843854,0.122923588039867,0.20265780730897,0.0697674418604651,0.0332225913621262,0.119601328903654],\"type\":\"bar\",\"orientation\":\"v\",\"marker\":{\"color\":\"rgba(237,125,49,1)\",\"line\":{\"color\":\"rgba(237,125,49,1)\",\"width\":1}},\"name\":\"Female\",\"hoverlabel\":{\"font\":{\"color\":\"#2C2C2C\",\"size\":11,\"family\":\"Arial\"}},\"hovertemplate\":\"%{x}: %{y}<extra>Female<\\/extra>\",\"legendgroup\":2,\"inherit\":true}},\"layout\":{\"margin\":{\"b\":78.875,\"l\":80,\"t\":20,\"r\":112,\"pad\":0},\"showlegend\":true,\"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\":\"reversed\"},\"yaxis\":{\"domain\":[0,1],\"automargin\":true,\"title\":{\"text\":\"%\",\"font\":{\"family\":\"Arial\",\"size\":12,\"color\":\"#2C2C2C\"}},\"side\":\"left\",\"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},\"xaxis2\":{\"overlaying\":\"x\",\"visible\":false,\"range\":[-0.5,5.5]},\"xaxis\":{\"domain\":[0,1],\"automargin\":true,\"title\":{\"text\":\"Preferred cola\",\"font\":{\"family\":\"Arial\",\"size\":12,\"color\":\"#2C2C2C\"}},\"side\":\"bottom\",\"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\":90,\"ticklen\":5,\"tickcolor\":\"#000000\",\"dtick\":[],\"tickformat\":\"\",\"tick0\":[],\"tickprefix\":\"\",\"ticksuffix\":\"\",\"hoverformat\":\"\",\"layer\":\"below traces\",\"autorange\":true,\"range\":[],\"rangemode\":\"normal\",\"zeroline\":false,\"zerolinewidth\":0,\"zerolinecolor\":\"#FFFFFF00\",\"showexponent\":\"all\",\"showtickprefix\":true,\"showticksuffix\":true,\"showticklabels\":true},\"annotations\":[{\"text\":\" <br><br><br><br><br> \",\"font\":{\"family\":\"Arial\",\"size\":8,\"color\":\"#2C2C2C\"},\"xref\":\"paper\",\"x\":0.5,\"yref\":\"paper\",\"y\":0,\"yanchor\":\"top\",\"xanchor\":\"center\",\"showarrow\":false}],\"plot_bgcolor\":\"transparent\",\"paper_bgcolor\":\"transparent\",\"hoverlabel\":{\"namelength\":-1,\"bordercolor\":\"transparent\",\"font\":{\"size\":11,\"family\":\"Arial\"}},\"hovermode\":\"x\",\"bargap\":0.15,\"barmode\":\"relative\"},\"source\":\"A\",\"config\":{\"showSendToCloud\":false,\"displayModeBar\":false},\"data\":[{\"x\":[\"Coca-Cola\",\"Diet Coke\",\"Coke Zero\",\"Pepsi\",\"Diet Pepsi\",\"Pepsi Max\"],\"y\":[0.020066889632107,0.020066889632107,0.020066889632107,0.020066889632107,0.020066889632107,0.020066889632107],\"mode\":\"lines\",\"type\":\"scatter\",\"cliponaxis\":true,\"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\":[\"Coca-Cola\",\"Diet Coke\",\"Coke Zero\",\"Pepsi\",\"Diet Pepsi\",\"Pepsi Max\"],\"y\":[0.421404682274247,0.0836120401337793,0.1438127090301,0.11371237458194,0.020066889632107,0.193979933110368],\"type\":\"bar\",\"orientation\":\"v\",\"marker\":{\"color\":\"rgba(92,154,211,1)\",\"line\":{\"color\":\"rgba(92,154,211,1)\",\"width\":1}},\"name\":\"Male\",\"hoverlabel\":{\"font\":{\"color\":\"#2C2C2C\",\"size\":11,\"family\":\"Arial\"}},\"hovertemplate\":[\"%{x}: %{y}<extra>Male<\\/extra>\",\"%{x}: %{y}<extra>Male<\\/extra>\",\"%{x}: %{y}<extra>Male<\\/extra>\",\"%{x}: %{y}<extra>Male<\\/extra>\",\"%{x}: %{y}<extra>Male<\\/extra>\",\"%{x}: %{y}<extra>Male<\\/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\":[\"Coca-Cola\",\"Diet Coke\",\"Coke Zero\",\"Pepsi\",\"Diet Pepsi\",\"Pepsi Max\"],\"y\":[0.435215946843854,0.122923588039867,0.20265780730897,0.0697674418604651,0.0332225913621262,0.119601328903654],\"type\":\"bar\",\"orientation\":\"v\",\"marker\":{\"color\":\"rgba(237,125,49,1)\",\"line\":{\"color\":\"rgba(237,125,49,1)\",\"width\":1}},\"name\":\"Female\",\"hoverlabel\":{\"font\":{\"color\":\"#2C2C2C\",\"size\":11,\"family\":\"Arial\"}},\"hovertemplate\":[\"%{x}: %{y}<extra>Female<\\/extra>\",\"%{x}: %{y}<extra>Female<\\/extra>\",\"%{x}: %{y}<extra>Female<\\/extra>\",\"%{x}: %{y}<extra>Female<\\/extra>\",\"%{x}: %{y}<extra>Female<\\/extra>\",\"%{x}: %{y}<extra>Female<\\/extra>\"],\"legendgroup\":2,\"error_y\":{\"color\":\"rgba(44,160,44,1)\"},\"error_x\":{\"color\":\"rgba(44,160,44,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},\"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-c1210ea619450bab2332\">{\"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-1a24f1a4414c2a6b5c0b9690022fc301.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":2.159,"updated":"2019-11-01T17:25:42.9148764Z","lastUpdatedMessage":null,"executedCode":null,"lastSavedCode":null,"highlightedCodeSpans":[{"start":177,"length":13,"index":4},{"start":311,"length":13,"index":4},{"start":1815,"length":13,"index":4},{"start":1831,"length":7,"index":6},{"start":1840,"length":17,"index":6},{"start":4742,"length":7,"index":6},{"start":4751,"length":13,"index":4},{"start":5026,"length":11,"index":4},{"start":5309,"length":11,"index":4},{"start":5534,"length":13,"index":4},{"start":8974,"length":13,"index":4},{"start":8990,"length":7,"index":6},{"start":8999,"length":17,"index":6},{"start":11720,"length":13,"index":4},{"start":11783,"length":13,"index":4},{"start":12073,"length":8,"index":4},{"start":12107,"length":13,"index":4},{"start":12138,"length":13,"index":4},{"start":15315,"length":13,"index":4},{"start":21207,"length":9,"index":4},{"start":21945,"length":10,"index":4},{"start":28618,"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}}