ChartAct / web /Plotly /pie /chart_0078_pie.html
wumumu's picture
Add files using upload-large-folder tool
7b52e07 verified
Raw History Blame Contribute Delete
1.42 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="90c34832-7166-4347-80c2-dcd4a5a46d8c" class="plotly-graph-div" style="height:100vh; width:100vw;"></div>
<script type="text/plain" data-chart-inline="true">
{
"library": "Plotly",
"containerId": "90c34832-7166-4347-80c2-dcd4a5a46d8c",
"data": [
{
"labels": [
"Oxygen",
"Hydrogen",
"Carbon_Dioxide",
"Nitrogen"
],
"values": [
4500,
2500,
1053,
500
],
"type": "pie",
"textfont": {
"size": 20
},
"marker": {
"line": {
"color": "#000000",
"width": 2
},
"colors": [
"gold",
"mediumturquoise",
"darkorange",
"lightgreen"
]
},
"hoverinfo": "label+percent",
"textinfo": "value"
}
],
"layout": {
"autosize": true
},
"config": {
"responsive": true
}
}
</script>
<script src="chart_0078_pie.inline01.js"></script>
</div>
</body>
</html>