ChartAct / web /Plotly /heatmap /chart_0043_heatmap.html
wumumu's picture
Add files using upload-large-folder tool
7b52e07 verified
Raw History Blame Contribute Delete
7.64 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="97d38e38-a7e0-42b3-87cf-94e16057d157" class="plotly-graph-div" style="height:100vh; width:100vw;"></div>
<script type="text/plain" data-chart-inline="true">
{
"library": "Plotly",
"containerId": "97d38e38-a7e0-42b3-87cf-94e16057d157",
"data": [
{
"coloraxis": "coloraxis",
"hovertemplate": "sex=Female<br>smoker=No<br>total_bill=%{x}<br>tip=%{y}<br>count=%{z}<extra></extra>",
"name": "",
"x": [16.99,24.59,35.26,14.83,10.33,16.97,20.29,15.77,19.65,15.06,20.69,16.93,10.29,34.81,26.41,16.45,17.07,14.73,10.07,34.83,22.75,20.92,7.25,25.71,17.31,10.65,12.43,24.08,13.42,12.48,29.8,14.52,11.38,20.27,11.17,12.26,18.26,8.51,10.33,14.15,13.16,17.47,27.05,16.43,8.35,18.64,11.87,29.85,25,13.39,16.21,15.98,35.83,18.78],
"xaxis": "x3",
"xbingroup": "x",
"y": [1.01,3.61,5,3.02,1.67,3.5,2.75,2.23,3,3,2.45,3.07,2.6,5.2,1.5,2.47,3,2.2,1.83,5.17,3.25,4.08,1,4,3.5,1.5,1.8,2.92,1.68,2.52,4.2,2,2,2.83,1.5,2,3.25,1.25,2,2,2.75,3.5,5,2.3,1.5,1.36,1.63,5.14,3.75,2.61,2,3,4.67,3],
"yaxis": "y3",
"ybingroup": "y",
"type": "histogram2d"
},
{
"coloraxis": "coloraxis",
"hovertemplate": "sex=Female<br>smoker=Yes<br>total_bill=%{x}<br>tip=%{y}<br>count=%{z}<extra></extra>",
"name": "",
"x": [3.07,26.86,25.28,5.75,16.32,11.35,15.38,44.3,22.42,14.31,17.51,10.59,10.63,9.6,20.9,18.15,19.81,43.11,13,12.74,13,16.4,16.47,12.76,13.27,28.17,12.9,30.14,13.42,16.27,10.09,22.12,27.18],
"xaxis": "x4",
"xbingroup": "x",
"y": [1,3.14,5,1,4.3,2.5,3,2.5,3.48,4,3,1.61,2,4,3.5,3.5,4.19,5,2,2.01,2,2.5,3.23,2.23,2.5,6.5,1.1,3.09,3.48,2.5,2,2.88,2],
"yaxis": "y4",
"ybingroup": "y",
"type": "histogram2d"
},
{
"coloraxis": "coloraxis",
"hovertemplate": "sex=Male<br>smoker=No<br>total_bill=%{x}<br>tip=%{y}<br>count=%{z}<extra></extra>",
"name": "",
"x": [10.34,21.01,23.68,25.29,8.77,26.88,15.04,14.78,10.27,15.42,18.43,21.58,16.29,20.65,17.92,39.42,19.82,17.81,13.37,12.69,21.7,9.55,18.35,17.78,24.06,16.31,18.69,31.27,16.04,17.46,13.94,9.68,30.4,18.29,22.23,32.4,28.55,18.04,12.54,9.94,25.56,19.49,48.27,17.59,20.08,20.23,12.02,10.51,27.2,22.76,17.29,16.66,15.98,13.03,18.28,24.71,21.16,22.49,12.46,18.24,14,38.07,23.95,29.93,11.69,14.26,15.95,8.52,22.82,19.08,34.3,41.19,9.78,7.51,14.07,13.13,17.26,24.55,19.77,48.17,16.49,21.5,12.66,13.81,24.52,20.76,31.71,20.69,7.56,48.33,20.45,13.28,11.61,10.77,10.07,29.03,17.82],
"xaxis": "x",
"xbingroup": "x",
"y": [1.66,3.5,3.31,4.71,2,3.12,1.96,3.23,1.71,1.57,3,3.92,3.71,3.35,4.08,7.58,3.18,2.34,2,2,4.3,1.45,2.5,3.27,3.6,2,2.31,5,2.24,2.54,3.06,1.32,5.6,3,5,6,2.05,3,2.5,1.56,4.34,3.51,6.73,2.64,3.15,2.01,1.97,1.25,4,3,2.71,3.4,2.03,2,4,5.85,3,3.5,1.5,3.76,3,4,2.55,5.07,2.31,2.5,2,1.48,2.18,1.5,6.7,5,1.73,2,2.5,2,2.74,2,2,5,2,3.5,2.5,2,3.48,2.24,4.5,5,1.44,9,3,2.72,3.39,1.47,1.25,5.92,1.75],
"yaxis": "y",
"ybingroup": "y",
"type": "histogram2d"
},
{
"coloraxis": "coloraxis",
"hovertemplate": "sex=Male<br>smoker=Yes<br>total_bill=%{x}<br>tip=%{y}<br>count=%{z}<extra></extra>",
"name": "",
"x": [38.01,11.24,20.29,13.81,11.02,18.29,15.01,17.92,19.44,32.68,28.97,40.17,27.28,12.03,21.01,15.36,20.49,25.21,16,50.81,15.81,7.25,31.85,16.82,32.9,17.89,14.48,34.63,34.65,23.33,45.35,23.17,40.55,30.46,23.1,15.69,28.44,15.48,16.58,10.34,13.51,18.71,20.53,26.59,38.73,24.27,30.06,25.89,28.15,11.59,7.74,12.16,8.58,13.42,24.01,15.69,15.53,12.6,32.83,22.67],
"xaxis": "x2",
"xbingroup": "x",
"y": [3,1.76,3.21,2,1.98,3.76,2.09,3.08,3,5,3,4.73,4,1.5,3,1.64,4.06,4.29,2,10,3.16,5.15,3.18,4,3.11,2,2,3.55,3.68,5.65,3.5,6.5,3,2,4,1.5,2.56,2.02,4,2,2,4,4,3.41,3,2.03,2,5.16,3,1.5,1.44,2.2,1.92,1.58,2,3,3,1,1.17,2],
"yaxis": "y2",
"ybingroup": "y",
"type": "histogram2d"
}
],
"layout": {
"xaxis": {
"anchor": "y",
"domain": [
0,
0.48
],
"title": {
"text": "total_bill"
}
},
"yaxis": {
"anchor": "x",
"domain": [
0,
0.485
],
"title": {
"text": "tip"
}
},
"xaxis2": {
"anchor": "y2",
"domain": [
0.5,
0.98
],
"matches": "x",
"title": {
"text": "total_bill"
}
},
"yaxis2": {
"anchor": "x2",
"domain": [
0,
0.485
],
"matches": "y",
"showticklabels": false
},
"xaxis3": {
"anchor": "y3",
"domain": [
0,
0.48
],
"matches": "x",
"showticklabels": false
},
"yaxis3": {
"anchor": "x3",
"domain": [
0.515,
1
],
"matches": "y",
"title": {
"text": "tip"
}
},
"xaxis4": {
"anchor": "y4",
"domain": [
0.5,
0.98
],
"matches": "x",
"showticklabels": false
},
"yaxis4": {
"anchor": "x4",
"domain": [
0.515,
1
],
"matches": "y",
"showticklabels": false
},
"annotations": [
{
"font": {},
"showarrow": false,
"text": "smoker=No",
"x": 0.24,
"xanchor": "center",
"xref": "paper",
"y": 1,
"yanchor": "bottom",
"yref": "paper"
},
{
"font": {},
"showarrow": false,
"text": "smoker=Yes",
"x": 0.74,
"xanchor": "center",
"xref": "paper",
"y": 1,
"yanchor": "bottom",
"yref": "paper"
},
{
"font": {},
"showarrow": false,
"text": "sex=Male",
"textangle": 90,
"x": 0.98,
"xanchor": "left",
"xref": "paper",
"y": 0.2425,
"yanchor": "middle",
"yref": "paper"
},
{
"font": {},
"showarrow": false,
"text": "sex=Female",
"textangle": 90,
"x": 0.98,
"xanchor": "left",
"xref": "paper",
"y": 0.7575000000000001,
"yanchor": "middle",
"yref": "paper"
}
],
"coloraxis": {
"colorbar": {
"title": {
"text": "count"
}
},
"colorscale": [
[
0,
"#0d0887"
],
[
0.1111111111111111,
"#46039f"
],
[
0.2222222222222222,
"#7201a8"
],
[
0.3333333333333333,
"#9c179e"
],
[
0.4444444444444444,
"#bd3786"
],
[
0.5555555555555556,
"#d8576b"
],
[
0.6666666666666666,
"#ed7953"
],
[
0.7777777777777778,
"#fb9f3a"
],
[
0.8888888888888888,
"#fdca26"
],
[
1,
"#f0f921"
]
]
},
"legend": {
"tracegroupgap": 0
},
"margin": {
"t": 60
},
"autosize": true
},
"config": {
"responsive": true
}
}
</script>
<script src="chart_0043_heatmap.inline01.js"></script>
</div>
</body>
</html>