File size: 2,890 Bytes
7b52e07 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 | <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="005c6068-39ef-4c4e-859e-80145cb06810" class="plotly-graph-div" style="height:100vh; width:100vw;"></div>
<script type="text/plain" data-chart-inline="true">
{
"library": "Plotly",
"containerId": "005c6068-39ef-4c4e-859e-80145cb06810",
"data": [
{
"hovertemplate": "nation=South Korea<br>medal=%{x}<br>count=%{y}<extra></extra>",
"legendgroup": "South Korea",
"marker": {
"color": "#636efa",
"pattern": {
"shape": ""
}
},
"name": "South Korea",
"orientation": "v",
"showlegend": true,
"textposition": "auto",
"texttemplate": "%{y}",
"x": [
"gold",
"silver",
"bronze"
],
"xaxis": "x",
"y": [24,13,11],
"yaxis": "y",
"type": "bar"
},
{
"hovertemplate": "nation=China<br>medal=%{x}<br>count=%{y}<extra></extra>",
"legendgroup": "China",
"marker": {
"color": "#EF553B",
"pattern": {
"shape": ""
}
},
"name": "China",
"orientation": "v",
"showlegend": true,
"textposition": "auto",
"texttemplate": "%{y}",
"x": [
"gold",
"silver",
"bronze"
],
"xaxis": "x",
"y": [10,15,8],
"yaxis": "y",
"type": "bar"
},
{
"hovertemplate": "nation=Canada<br>medal=%{x}<br>count=%{y}<extra></extra>",
"legendgroup": "Canada",
"marker": {
"color": "#00cc96",
"pattern": {
"shape": ""
}
},
"name": "Canada",
"orientation": "v",
"showlegend": true,
"textposition": "auto",
"texttemplate": "%{y}",
"x": [
"gold",
"silver",
"bronze"
],
"xaxis": "x",
"y": [9,12,12],
"yaxis": "y",
"type": "bar"
}
],
"layout": {
"xaxis": {
"anchor": "y",
"domain": [
0,
1
],
"title": {
"text": "medal"
}
},
"yaxis": {
"anchor": "x",
"domain": [
0,
1
],
"title": {
"text": "count"
}
},
"legend": {
"title": {
"text": "nation"
},
"tracegroupgap": 0
},
"margin": {
"t": 60
},
"barmode": "relative",
"autosize": true
},
"config": {
"responsive": true
}
}
</script>
<script src="chart_0097_bar.inline01.js"></script>
</div>
</body>
</html>
|