ChartAct / web /Plotly /pie /chart_0084_pie.html
wumumu's picture
Add files using upload-large-folder tool
7b52e07 verified
Raw History Blame Contribute Delete
2.3 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="d3ffacae-b32b-432d-83a3-cc462d5690ef" class="plotly-graph-div" style="height:100vh; width:100vw;"></div>
<script type="text/plain" data-chart-inline="true">
{
"library": "Plotly",
"containerId": "d3ffacae-b32b-432d-83a3-cc462d5690ef",
"data": [
{
"labels": [
"Asia",
"Europe",
"Africa",
"Americas",
"Oceania"
],
"name": "World GDP 1980",
"scalegroup": "one",
"values": [
4,
7,
1,
7,
0.5
],
"type": "pie",
"domain": {
"x": [
0,
0.45
],
"y": [
0,
1
]
}
},
{
"labels": [
"Asia",
"Europe",
"Africa",
"Americas",
"Oceania"
],
"name": "World GDP 2007",
"scalegroup": "one",
"values": [
21,
15,
3,
19,
1
],
"type": "pie",
"domain": {
"x": [
0.55,
1
],
"y": [
0,
1
]
}
}
],
"layout": {
"annotations": [
{
"font": {
"size": 16
},
"showarrow": false,
"text": "1980",
"x": 0.225,
"xanchor": "center",
"xref": "paper",
"y": 1,
"yanchor": "bottom",
"yref": "paper"
},
{
"font": {
"size": 16
},
"showarrow": false,
"text": "2007",
"x": 0.775,
"xanchor": "center",
"xref": "paper",
"y": 1,
"yanchor": "bottom",
"yref": "paper"
}
],
"title": {
"text": "World GDP"
},
"autosize": true
},
"config": {
"responsive": true
}
}
</script>
<script src="chart_0084_pie.inline01.js"></script>
</div>
</body>
</html>