ChartAct / web /Plotly /bar /chart_0104_bar.html
wumumu's picture
Add files using upload-large-folder tool
7b52e07 verified
Raw History Blame Contribute Delete
1.27 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="09277b22-cae1-4b9a-89af-933ed9d15c19" class="plotly-graph-div" style="height:100vh; width:100vw;"></div>
<script type="text/plain" data-chart-inline="true">
{
"library": "Plotly",
"containerId": "09277b22-cae1-4b9a-89af-933ed9d15c19",
"data": [
{
"name": "SF Zoo",
"x": [
"giraffes",
"orangutans",
"monkeys"
],
"y": [
20,
14,
23
],
"type": "bar"
},
{
"name": "LA Zoo",
"x": [
"giraffes",
"orangutans",
"monkeys"
],
"y": [
12,
18,
29
],
"type": "bar"
}
],
"layout": {
"barmode": "group",
"autosize": true
},
"config": {
"responsive": true
}
}
</script>
<script src="chart_0104_bar.inline01.js"></script>
</div>
</body>
</html>