File size: 7,636 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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
<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>