{"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-793a7f18bafdb9e225fd\" style=\"width:100%;height:400px;\" class=\"plotly html-widget\"></div>\n</div>\n<script type=\"application/json\" data-for=\"htmlwidget-793a7f18bafdb9e225fd\">{\"x\":{\"data\":[{\"x\":[0.020066889632107,0.020066889632107,0.020066889632107,0.020066889632107,0.020066889632107,0.020066889632107],\"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.421404682274247,0.0836120401337793,0.1438127090301,0.11371237458194,0.020066889632107,0.193979933110368],\"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}},\"hoverlabel\":{\"font\":{\"color\":\"#2C2C2C\",\"size\":11,\"family\":\"Arial\"}},\"hovertemplate\":[\"%{y}: %{x}<extra>Male<\\/extra>\",\"%{y}: %{x}<extra>Male<\\/extra>\",\"%{y}: %{x}<extra>Male<\\/extra>\",\"%{y}: %{x}<extra>Male<\\/extra>\",\"%{y}: %{x}<extra>Male<\\/extra>\",\"%{y}: %{x}<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\":[0.421404682274247,0.0836120401337793,0.1438127090301,0.11371237458194,0.020066889632107,0.193979933110368],\"y\":[\"Coca-Cola\",\"Diet Coke\",\"Coke Zero\",\"Pepsi\",\"Diet Pepsi\",\"Pepsi Max\"],\"type\":\"scatter\",\"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: 42%\",\"Diet Coke: 8%\",\"Coke Zero: 14%\",\"Pepsi: 11%\",\"Diet Pepsi: 2%\",\"Pepsi Max: 19%\"],\"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},{\"x\":[0.0332225913621262,0.0332225913621262,0.0332225913621262,0.0332225913621262,0.0332225913621262,0.0332225913621262],\"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(214,39,40,1)\",\"line\":{\"color\":\"rgba(214,39,40,1)\"}},\"error_y\":{\"color\":\"rgba(214,39,40,1)\"},\"error_x\":{\"color\":\"rgba(214,39,40,1)\"},\"line\":{\"color\":\"rgba(214,39,40,1)\"},\"xaxis\":\"x\",\"yaxis\":\"y2\",\"frame\":null},{\"x\":[0.435215946843854,0.122923588039867,0.20265780730897,0.0697674418604651,0.0332225913621262,0.119601328903654],\"y\":[\"Coca-Cola\",\"Diet Coke\",\"Coke Zero\",\"Pepsi\",\"Diet Pepsi\",\"Pepsi Max\"],\"type\":\"bar\",\"orientation\":\"h\",\"marker\":{\"color\":\"rgba(237,125,49,1)\",\"line\":{\"color\":\"rgba(237,125,49,1)\",\"width\":1}},\"hoverlabel\":{\"font\":{\"color\":\"#2C2C2C\",\"size\":11,\"family\":\"Arial\"}},\"hovertemplate\":[\"%{y}: %{x}<extra>Female<\\/extra>\",\"%{y}: %{x}<extra>Female<\\/extra>\",\"%{y}: %{x}<extra>Female<\\/extra>\",\"%{y}: %{x}<extra>Female<\\/extra>\",\"%{y}: %{x}<extra>Female<\\/extra>\",\"%{y}: %{x}<extra>Female<\\/extra>\"],\"legendgroup\":1,\"error_y\":{\"color\":\"rgba(148,103,189,1)\"},\"error_x\":{\"color\":\"rgba(148,103,189,1)\"},\"xaxis\":\"x\",\"yaxis\":\"y2\",\"frame\":null},{\"x\":[0.435215946843854,0.122923588039867,0.20265780730897,0.0697674418604651,0.0332225913621262,0.119601328903654],\"y\":[\"Coca-Cola\",\"Diet Coke\",\"Coke Zero\",\"Pepsi\",\"Diet Pepsi\",\"Pepsi Max\"],\"type\":\"scatter\",\"mode\":\"markers\",\"marker\":{\"color\":\"#ED7D31\",\"opacity\":0,\"line\":{\"color\":\"rgba(140,86,75,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: 12%\",\"Coke Zero: 20%\",\"Pepsi: 7%\",\"Diet Pepsi: 3%\",\"Pepsi Max: 12%\"],\"hoverlabel\":{\"font\":{\"color\":\"#2C2C2C\",\"size\":11,\"family\":\"Arial\"},\"bgcolor\":\"#ED7D31\"},\"showlegend\":false,\"yaxis\":\"y2\",\"error_y\":{\"color\":\"rgba(140,86,75,1)\"},\"error_x\":{\"color\":\"rgba(140,86,75,1)\"},\"line\":{\"color\":\"rgba(140,86,75,1)\"},\"xaxis\":\"x\",\"frame\":null}],\"layout\":{\"xaxis\":{\"domain\":[0.005,0.995],\"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\":false,\"range\":[0,0.435215946843854],\"rangemode\":\"tozero\",\"zeroline\":true,\"zerolinewidth\":0,\"zerolinecolor\":\"#E1E1E1\",\"showexponent\":\"all\",\"showtickprefix\":true,\"showticksuffix\":true,\"showticklabels\":true,\"anchor\":\"y2\"},\"yaxis2\":{\"domain\":[0.0549999999999999,0.445],\"automargin\":true,\"title\":{\"text\":\"Preferred cola\",\"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,\"anchor\":\"x\"},\"yaxis\":{\"domain\":[0.555,0.945],\"automargin\":true,\"title\":{\"text\":\"Preferred cola\",\"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,\"anchor\":\"x\"},\"annotations\":[{\"text\":\" <br><br> \",\"font\":{\"family\":\"Arial\",\"size\":8,\"color\":\"#2C2C2C\"},\"xref\":\"paper\",\"x\":0.5,\"yref\":\"paper\",\"y\":0.555,\"yanchor\":\"top\",\"xanchor\":\"center\",\"showarrow\":false},{\"text\":\" <br><br> \",\"font\":{\"family\":\"Arial\",\"size\":8,\"color\":\"#2C2C2C\"},\"xref\":\"paper\",\"x\":0.5,\"yref\":\"paper\",\"y\":0.0549999999999999,\"yanchor\":\"top\",\"xanchor\":\"center\",\"showarrow\":false},[],[],{\"text\":\" <br><br> \",\"font\":{\"family\":\"Arial\",\"size\":8,\"color\":\"#2C2C2C\"},\"xref\":\"paper\",\"x\":0.5,\"yref\":\"paper\",\"y\":0,\"yanchor\":\"top\",\"xanchor\":\"center\",\"showarrow\":false},{\"text\":\"Male\",\"showarrow\":false,\"x\":0.5,\"y\":1,\"font\":{\"family\":\"Arial\",\"color\":\"#2C2C2C\",\"size\":14},\"xanchor\":\"center\",\"yanchor\":\"top\",\"xref\":\"paper\",\"yref\":\"paper\"},{\"text\":\"Female\",\"showarrow\":false,\"x\":0.5,\"y\":0.5,\"font\":{\"family\":\"Arial\",\"color\":\"#2C2C2C\",\"size\":14},\"xanchor\":\"center\",\"yanchor\":\"top\",\"xref\":\"paper\",\"yref\":\"paper\"}],\"shapes\":[],\"images\":[],\"margin\":{\"b\":42,\"l\":42,\"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\"},\"plot_bgcolor\":\"transparent\",\"paper_bgcolor\":\"transparent\",\"hoverlabel\":{\"namelength\":-1,\"bordercolor\":\"transparent\",\"font\":{\"size\":11,\"family\":\"Arial\"}},\"hovermode\":\"closest\",\"bargap\":0.15,\"barmode\":\"group\"},\"attrs\":{\"34434de7d8e\":{\"alpha_stroke\":1,\"sizes\":[10,100],\"spans\":[1,20],\"x\":[0.020066889632107,0.020066889632107,0.020066889632107,0.020066889632107,0.020066889632107,0.020066889632107],\"y\":[\"Coca-Cola\",\"Diet Coke\",\"Coke Zero\",\"Pepsi\",\"Diet Pepsi\",\"Pepsi Max\"],\"type\":\"scatter\",\"mode\":\"lines\",\"hoverinfo\":\"skip\",\"showlegend\":false,\"opacity\":0,\"inherit\":true},\"34434de7d8e.1\":{\"alpha_stroke\":1,\"sizes\":[10,100],\"spans\":[1,20],\"x\":[0.421404682274247,0.0836120401337793,0.1438127090301,0.11371237458194,0.020066889632107,0.193979933110368],\"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>Male<\\/extra>\",\"legendgroup\":1,\"inherit\":true},\"34434de7d8e.2\":{\"alpha_stroke\":1,\"sizes\":[10,100],\"spans\":[1,20],\"x\":[0.421404682274247,0.0836120401337793,0.1438127090301,0.11371237458194,0.020066889632107,0.193979933110368],\"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: 42%\",\"Diet Coke: 8%\",\"Coke Zero: 14%\",\"Pepsi: 11%\",\"Diet Pepsi: 2%\",\"Pepsi Max: 19%\"],\"hoverlabel\":{\"font\":{\"color\":\"#2C2C2C\",\"size\":11,\"family\":\"Arial\"},\"bgcolor\":\"#5C9AD3\"},\"showlegend\":false,\"yaxis\":\"y\",\"inherit\":true},\"3443371072dd\":{\"alpha_stroke\":1,\"sizes\":[10,100],\"spans\":[1,20],\"x\":[0.0332225913621262,0.0332225913621262,0.0332225913621262,0.0332225913621262,0.0332225913621262,0.0332225913621262],\"y\":[\"Coca-Cola\",\"Diet Coke\",\"Coke Zero\",\"Pepsi\",\"Diet Pepsi\",\"Pepsi Max\"],\"type\":\"scatter\",\"mode\":\"lines\",\"hoverinfo\":\"skip\",\"showlegend\":false,\"opacity\":0,\"inherit\":true},\"3443371072dd.1\":{\"alpha_stroke\":1,\"sizes\":[10,100],\"spans\":[1,20],\"x\":[0.435215946843854,0.122923588039867,0.20265780730897,0.0697674418604651,0.0332225913621262,0.119601328903654],\"y\":[\"Coca-Cola\",\"Diet Coke\",\"Coke Zero\",\"Pepsi\",\"Diet Pepsi\",\"Pepsi Max\"],\"type\":\"bar\",\"orientation\":\"h\",\"marker\":{\"color\":\"rgba(237,125,49,1)\",\"line\":{\"color\":\"rgba(237,125,49,1)\",\"width\":1}},\"name\":\"\",\"hoverlabel\":{\"font\":{\"color\":\"#2C2C2C\",\"size\":11,\"family\":\"Arial\"}},\"hovertemplate\":\"%{y}: %{x}<extra>Female<\\/extra>\",\"legendgroup\":1,\"inherit\":true},\"3443371072dd.2\":{\"alpha_stroke\":1,\"sizes\":[10,100],\"spans\":[1,20],\"x\":[0.435215946843854,0.122923588039867,0.20265780730897,0.0697674418604651,0.0332225913621262,0.119601328903654],\"y\":[\"Coca-Cola\",\"Diet Coke\",\"Coke Zero\",\"Pepsi\",\"Diet Pepsi\",\"Pepsi Max\"],\"type\":\"scatter\",\"name\":\"\",\"mode\":\"markers\",\"marker\":{\"color\":\"#ED7D31\",\"opacity\":0},\"hovertemplate\":\"%{text}<extra><\\/extra>\",\"text\":[\"Coca-Cola: 44%\",\"Diet Coke: 12%\",\"Coke Zero: 20%\",\"Pepsi: 7%\",\"Diet Pepsi: 3%\",\"Pepsi Max: 12%\"],\"hoverlabel\":{\"font\":{\"color\":\"#2C2C2C\",\"size\":11,\"family\":\"Arial\"},\"bgcolor\":\"#ED7D31\"},\"showlegend\":false,\"yaxis\":\"y\",\"inherit\":true}},\"source\":\"A\",\"config\":{\"showSendToCloud\":false,\"displayModeBar\":false},\"highlight\":{\"on\":\"plotly_click\",\"persistent\":false,\"dynamic\":false,\"selectize\":false,\"opacityDim\":0.2,\"selected\":{\"opacity\":1},\"debounce\":0},\"subplot\":true,\"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-793a7f18bafdb9e225fd\">{\"viewer\":{\"width\":\"100%\",\"height\":400,\"padding\":15,\"fill\":true},\"browser\":{\"width\":\"100%\",\"height\":400,\"padding\":40,\"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":1.986,"updated":"2019-11-05T20:39:54.2515005Z","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}}