ChartAct / web /Plotly /bar /chart_0109_bar.html
wumumu's picture
Add files using upload-large-folder tool
7b52e07 verified
Raw History Blame Contribute Delete
1.38 kB
<html>
<head><meta charset="utf-8" /><style>html, body { margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden; }.plotly-graph-div { width: 100vw !important; height: 100vh !important; }</style></head>
<body>
<div>
<script type="text/javascript">window.PlotlyConfig = {MathJaxConfig: 'local'};</script>
<script charset="utf-8" src="plotly.min.js"></script>
<div id="398dcb99-0ebc-473c-b014-61c2dae94e5f" class="plotly-graph-div" style="height:100vh; width:100vw;"></div>
<script type="text/plain" data-chart-inline="true">
{
"library": "Plotly",
"containerId": "398dcb99-0ebc-473c-b014-61c2dae94e5f",
"data": [
{
"hovertext": [
"27% market share",
"24% market share",
"19% market share"
],
"x": [
"Product A",
"Product B",
"Product C"
],
"y": [
20,
14,
23
],
"type": "bar",
"marker": {
"line": {
"color": "rgb(8,48,107)",
"width": 1.5
},
"color": "rgb(158,202,225)"
},
"opacity": 0.6
}
],
"layout": {
"title": {
"text": "January 2013 Sales Report"
},
"autosize": true
},
"config": {
"responsive": true
}
}
</script>
<script src="chart_0109_bar.inline01.js"></script>
</div>
</body>
</html>