diff --git a/comprehensive/Plotly-Express-Introducing/Plotly-Express-Introducing.ipynb b/comprehensive/Plotly-Express-Introducing/Plotly-Express-Introducing.ipynb index be19dbe..00fda5e 100644 --- a/comprehensive/Plotly-Express-Introducing/Plotly-Express-Introducing.ipynb +++ b/comprehensive/Plotly-Express-Introducing/Plotly-Express-Introducing.ipynb @@ -21,7 +21,7 @@ }, { "cell_type": "code", - "execution_count": 28, + "execution_count": 1, "metadata": {}, "outputs": [ { @@ -131,7 +131,7 @@ "59 32 " ] }, - "execution_count": 28, + "execution_count": 1, "metadata": {}, "output_type": "execute_result" } @@ -153,23 +153,100 @@ }, { "cell_type": "code", - "execution_count": 29, + "execution_count": 2, "metadata": {}, "outputs": [ + { + "data": { + "text/html": [ + " \n", + " " + ] + }, + "metadata": {}, + "output_type": "display_data" + }, { "data": { "application/vnd.plotly.v1+json": { "config": { - "linkText": "Export to plot.ly", - "plotlyServerURL": "https://plot.ly", - "showLink": false + "plotlyServerURL": "https://plot.ly" }, "data": [ { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "gdpPercap=%{x}
lifeExp=%{y}", + "hovertemplate": "gdpPercap=%{x}
lifeExp=%{y}", "legendgroup": "", "marker": { "color": "#636efa", @@ -177,9 +254,9 @@ }, "mode": "markers", "name": "", + "orientation": "v", "showlegend": false, "type": "scatter", - "uid": "eb23728c-2645-4374-bbcd-fb438cd371a3", "x": [ 974.5803384, 5937.029525999999, @@ -473,19 +550,6 @@ } ], "layout": { - "grid": { - "xaxes": [ - "x" - ], - "xgap": 0.1, - "xside": "bottom", - "yaxes": [ - "y" - ], - "ygap": 0.1, - "yside": "left" - }, - "height": 600, "legend": { "tracegroupgap": 0 }, @@ -496,6 +560,12 @@ "data": { "bar": [ { + "error_x": { + "color": "#2a3f5f" + }, + "error_y": { + "color": "#2a3f5f" + }, "marker": { "line": { "color": "#E5ECF6", @@ -553,55 +623,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" + "#0d0887" ], [ - 0.1787709497206704, - "#3c19f0" + 0.1111111111111111, + "#46039f" ], [ - 0.2681564245810056, - "#6b1cfb" + 0.2222222222222222, + "#7201a8" ], [ - 0.3575418994413408, - "#981cfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.4444444444444444, + "#bd3786" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.5555555555555556, + "#d8576b" ], [ - 0.6256983240223464, - "#f246fe" + 0.6666666666666666, + "#ed7953" ], [ - 0.7150837988826816, - "#fc67fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.8044692737430168, - "#fe88fc" - ], - [ - 0.8938547486033519, - "#fea5fd" - ], - [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "contour" @@ -625,55 +683,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" + "#0d0887" ], [ - 0.2681564245810056, - "#6b1cfb" + 0.1111111111111111, + "#46039f" ], [ - 0.3575418994413408, - "#981cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.4444444444444444, + "#bd3786" ], [ - 0.6256983240223464, - "#f246fe" + 0.5555555555555556, + "#d8576b" ], [ - 0.7150837988826816, - "#fc67fd" + 0.6666666666666666, + "#ed7953" ], [ - 0.8044692737430168, - "#fe88fc" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.8938547486033519, - "#fea5fd" - ], - [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "heatmap" @@ -685,6 +731,48 @@ "outlinewidth": 0, "ticks": "" }, + "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" + ] + ], "type": "heatmapgl" } ], @@ -708,55 +796,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "histogram2d" @@ -771,55 +847,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "histogram2dcontour" @@ -845,6 +909,12 @@ "type": "parcoords" } ], + "pie": [ + { + "automargin": true, + "type": "pie" + } + ], "scatter": [ { "marker": { @@ -858,6 +928,12 @@ ], "scatter3d": [ { + "line": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, "marker": { "colorbar": { "outlinewidth": 0, @@ -950,6 +1026,48 @@ "outlinewidth": 0, "ticks": "" }, + "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" + ] + ], "type": "surface" } ], @@ -977,10 +1095,17 @@ }, "layout": { "annotationdefaults": { - "arrowcolor": "#506784", + "arrowcolor": "#2a3f5f", "arrowhead": 0, "arrowwidth": 1 }, + "autotypenumbers": "strict", + "coloraxis": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, "colorscale": { "diverging": [ [ @@ -1031,109 +1156,85 @@ "sequential": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "sequentialminus": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ] }, @@ -1142,12 +1243,12 @@ "#EF553B", "#00cc96", "#ab63fa", - "#19d3f3", - "#e763fa", - "#FECB52", "#FFA15A", + "#19d3f3", "#FF6692", - "#B6E880" + "#B6E880", + "#FF97FF", + "#FECB52" ], "font": { "color": "#2a3f5f" @@ -1212,11 +1313,9 @@ } }, "shapedefaults": { - "fillcolor": "#506784", "line": { - "width": 0 - }, - "opacity": 0.4 + "color": "#2a3f5f" + } }, "ternary": { "aaxis": { @@ -1244,6 +1343,9 @@ "gridcolor": "white", "linecolor": "white", "ticks": "", + "title": { + "standoff": 15 + }, "zerolinecolor": "white", "zerolinewidth": 2 }, @@ -1252,17 +1354,30 @@ "gridcolor": "white", "linecolor": "white", "ticks": "", + "title": { + "standoff": 15 + }, "zerolinecolor": "white", "zerolinewidth": 2 } } }, "xaxis": { + "anchor": "y", + "domain": [ + 0, + 1 + ], "title": { "text": "gdpPercap" } }, "yaxis": { + "anchor": "x", + "domain": [ + 0, + 1 + ], "title": { "text": "lifeExp" } @@ -1270,24 +1385,9 @@ } }, "text/html": [ - "
\n", - " \n", - " \n", - "
\n", - " \n", - "
" + " }) }; }); " ] }, "metadata": {}, @@ -1326,33 +1422,28 @@ }, { "cell_type": "code", - "execution_count": 30, + "execution_count": 3, "metadata": {}, "outputs": [ { "data": { "application/vnd.plotly.v1+json": { "config": { - "linkText": "Export to plot.ly", - "plotlyServerURL": "https://plot.ly", - "showLink": false + "plotlyServerURL": "https://plot.ly" }, "data": [ { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "continent=Asia
gdpPercap=%{x}
lifeExp=%{y}", - "legendgroup": "continent=Asia", + "hovertemplate": "continent=Asia
gdpPercap=%{x}
lifeExp=%{y}", + "legendgroup": "Asia", "marker": { "color": "#636efa", "symbol": "circle" }, "mode": "markers", - "name": "continent=Asia", + "name": "Asia", + "orientation": "v", "showlegend": true, "type": "scatter", - "uid": "a221a72f-d11a-46b2-a9b8-47df5921a533", "x": [ 974.5803384, 29796.048339999998, @@ -1427,20 +1518,17 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "continent=Europe
gdpPercap=%{x}
lifeExp=%{y}", - "legendgroup": "continent=Europe", + "hovertemplate": "continent=Europe
gdpPercap=%{x}
lifeExp=%{y}", + "legendgroup": "Europe", "marker": { "color": "#EF553B", "symbol": "circle" }, "mode": "markers", - "name": "continent=Europe", + "name": "Europe", + "orientation": "v", "showlegend": true, "type": "scatter", - "uid": "280d2551-49ea-44ba-a816-ee90ed641a7d", "x": [ 5937.029525999999, 36126.4927, @@ -1509,20 +1597,17 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "continent=Africa
gdpPercap=%{x}
lifeExp=%{y}", - "legendgroup": "continent=Africa", + "hovertemplate": "continent=Africa
gdpPercap=%{x}
lifeExp=%{y}", + "legendgroup": "Africa", "marker": { "color": "#00cc96", "symbol": "circle" }, "mode": "markers", - "name": "continent=Africa", + "name": "Africa", + "orientation": "v", "showlegend": true, "type": "scatter", - "uid": "2f0b9e20-7165-4956-acf4-ba62d6f3ee95", "x": [ 6223.367465, 4797.231267, @@ -1635,20 +1720,17 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "continent=Americas
gdpPercap=%{x}
lifeExp=%{y}", - "legendgroup": "continent=Americas", + "hovertemplate": "continent=Americas
gdpPercap=%{x}
lifeExp=%{y}", + "legendgroup": "Americas", "marker": { "color": "#ab63fa", "symbol": "circle" }, "mode": "markers", - "name": "continent=Americas", + "name": "Americas", + "orientation": "v", "showlegend": true, "type": "scatter", - "uid": "0254b4e3-f32b-4e1e-aca9-07a0ef4f3f73", "x": [ 12779.379640000001, 3822.1370840000004, @@ -1707,20 +1789,17 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "continent=Oceania
gdpPercap=%{x}
lifeExp=%{y}", - "legendgroup": "continent=Oceania", + "hovertemplate": "continent=Oceania
gdpPercap=%{x}
lifeExp=%{y}", + "legendgroup": "Oceania", "marker": { - "color": "#19d3f3", + "color": "#FFA15A", "symbol": "circle" }, "mode": "markers", - "name": "continent=Oceania", + "name": "Oceania", + "orientation": "v", "showlegend": true, "type": "scatter", - "uid": "9f1bf31f-bcf5-4362-a42a-ba34ceadda08", "x": [ 34435.367439999995, 25185.00911 @@ -1734,20 +1813,10 @@ } ], "layout": { - "grid": { - "xaxes": [ - "x" - ], - "xgap": 0.1, - "xside": "bottom", - "yaxes": [ - "y" - ], - "ygap": 0.1, - "yside": "left" - }, - "height": 600, "legend": { + "title": { + "text": "continent" + }, "tracegroupgap": 0 }, "margin": { @@ -1757,6 +1826,12 @@ "data": { "bar": [ { + "error_x": { + "color": "#2a3f5f" + }, + "error_y": { + "color": "#2a3f5f" + }, "marker": { "line": { "color": "#E5ECF6", @@ -1814,70 +1889,171 @@ "colorscale": [ [ 0, - "#0508b8" + "#0d0887" + ], + [ + 0.1111111111111111, + "#46039f" + ], + [ + 0.2222222222222222, + "#7201a8" + ], + [ + 0.3333333333333333, + "#9c179e" ], [ - 0.0893854748603352, - "#1910d8" + 0.4444444444444444, + "#bd3786" ], [ - 0.1787709497206704, - "#3c19f0" + 0.5555555555555556, + "#d8576b" ], [ - 0.2681564245810056, - "#6b1cfb" + 0.6666666666666666, + "#ed7953" + ], + [ + 0.7777777777777778, + "#fb9f3a" + ], + [ + 0.8888888888888888, + "#fdca26" + ], + [ + 1, + "#f0f921" + ] + ], + "type": "contour" + } + ], + "contourcarpet": [ + { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + }, + "type": "contourcarpet" + } + ], + "heatmap": [ + { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + }, + "colorscale": [ + [ + 0, + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], - "type": "contour" + "type": "heatmap" } ], - "contourcarpet": [ + "heatmapgl": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, - "type": "contourcarpet" + "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" + ] + ], + "type": "heatmapgl" } ], - "heatmap": [ + "histogram": [ + { + "marker": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, + "type": "histogram" + } + ], + "histogram2d": [ { "colorbar": { "outlinewidth": 0, @@ -1886,138 +2062,43 @@ "colorscale": [ [ 0, - "#0508b8" + "#0d0887" ], [ - 0.0893854748603352, - "#1910d8" + 0.1111111111111111, + "#46039f" ], [ - 0.1787709497206704, - "#3c19f0" + 0.2222222222222222, + "#7201a8" ], [ - 0.2681564245810056, - "#6b1cfb" + 0.3333333333333333, + "#9c179e" ], [ - 0.3575418994413408, - "#981cfd" + 0.4444444444444444, + "#bd3786" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.5555555555555556, + "#d8576b" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.6666666666666666, + "#ed7953" ], [ - 0.6256983240223464, - "#f246fe" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.7150837988826816, - "#fc67fd" - ], - [ - 0.8044692737430168, - "#fe88fc" - ], - [ - 0.8938547486033519, - "#fea5fd" - ], - [ - 0.9832402234636871, - "#febefe" - ], - [ - 1, - "#fec3fe" - ] - ], - "type": "heatmap" - } - ], - "heatmapgl": [ - { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - }, - "type": "heatmapgl" - } - ], - "histogram": [ - { - "marker": { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - } - }, - "type": "histogram" - } - ], - "histogram2d": [ - { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - }, - "colorscale": [ - [ - 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" - ], - [ - 0.3575418994413408, - "#981cfd" - ], - [ - 0.44692737430167595, - "#bf1cfd" - ], - [ - 0.5363128491620112, - "#dd2bfd" - ], - [ - 0.6256983240223464, - "#f246fe" - ], - [ - 0.7150837988826816, - "#fc67fd" - ], - [ - 0.8044692737430168, - "#fe88fc" - ], - [ - 0.8938547486033519, - "#fea5fd" - ], - [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "histogram2d" @@ -2032,55 +2113,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" + "#0d0887" ], [ - 0.1787709497206704, - "#3c19f0" + 0.1111111111111111, + "#46039f" ], [ - 0.2681564245810056, - "#6b1cfb" + 0.2222222222222222, + "#7201a8" ], [ - 0.3575418994413408, - "#981cfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.4444444444444444, + "#bd3786" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.5555555555555556, + "#d8576b" ], [ - 0.6256983240223464, - "#f246fe" + 0.6666666666666666, + "#ed7953" ], [ - 0.7150837988826816, - "#fc67fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.8044692737430168, - "#fe88fc" - ], - [ - 0.8938547486033519, - "#fea5fd" - ], - [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "histogram2dcontour" @@ -2106,6 +2175,12 @@ "type": "parcoords" } ], + "pie": [ + { + "automargin": true, + "type": "pie" + } + ], "scatter": [ { "marker": { @@ -2119,6 +2194,12 @@ ], "scatter3d": [ { + "line": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, "marker": { "colorbar": { "outlinewidth": 0, @@ -2211,6 +2292,48 @@ "outlinewidth": 0, "ticks": "" }, + "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" + ] + ], "type": "surface" } ], @@ -2238,10 +2361,17 @@ }, "layout": { "annotationdefaults": { - "arrowcolor": "#506784", + "arrowcolor": "#2a3f5f", "arrowhead": 0, "arrowwidth": 1 }, + "autotypenumbers": "strict", + "coloraxis": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, "colorscale": { "diverging": [ [ @@ -2292,109 +2422,85 @@ "sequential": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "sequentialminus": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ] }, @@ -2403,12 +2509,12 @@ "#EF553B", "#00cc96", "#ab63fa", - "#19d3f3", - "#e763fa", - "#FECB52", "#FFA15A", + "#19d3f3", "#FF6692", - "#B6E880" + "#B6E880", + "#FF97FF", + "#FECB52" ], "font": { "color": "#2a3f5f" @@ -2473,11 +2579,9 @@ } }, "shapedefaults": { - "fillcolor": "#506784", "line": { - "width": 0 - }, - "opacity": 0.4 + "color": "#2a3f5f" + } }, "ternary": { "aaxis": { @@ -2505,6 +2609,9 @@ "gridcolor": "white", "linecolor": "white", "ticks": "", + "title": { + "standoff": 15 + }, "zerolinecolor": "white", "zerolinewidth": 2 }, @@ -2513,17 +2620,30 @@ "gridcolor": "white", "linecolor": "white", "ticks": "", + "title": { + "standoff": 15 + }, "zerolinecolor": "white", "zerolinewidth": 2 } } }, "xaxis": { + "anchor": "y", + "domain": [ + 0, + 1 + ], "title": { "text": "gdpPercap" } }, "yaxis": { + "anchor": "x", + "domain": [ + 0, + 1 + ], "title": { "text": "lifeExp" } @@ -2531,24 +2651,9 @@ } }, "text/html": [ - "
\n", - " \n", - " \n", - "
\n", - " \n", - "
" + " }) }; }); " ] }, "metadata": {}, @@ -2588,24 +2689,19 @@ }, { "cell_type": "code", - "execution_count": 31, + "execution_count": 4, "metadata": {}, "outputs": [ { "data": { "application/vnd.plotly.v1+json": { "config": { - "linkText": "Export to plot.ly", - "plotlyServerURL": "https://plot.ly", - "showLink": false + "plotlyServerURL": "https://plot.ly" }, "data": [ { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "continent=Asia
gdpPercap=%{x}
lifeExp=%{y}
pop=%{marker.size}", - "legendgroup": "continent=Asia", + "hovertemplate": "continent=Asia
gdpPercap=%{x}
lifeExp=%{y}
pop=%{marker.size}", + "legendgroup": "Asia", "marker": { "color": "#636efa", "size": [ @@ -2648,10 +2744,10 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Asia", + "name": "Asia", + "orientation": "v", "showlegend": true, "type": "scatter", - "uid": "acc2ffe4-be8e-411e-a760-144a82bb8528", "x": [ 974.5803384, 29796.048339999998, @@ -2726,11 +2822,8 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "continent=Europe
gdpPercap=%{x}
lifeExp=%{y}
pop=%{marker.size}", - "legendgroup": "continent=Europe", + "hovertemplate": "continent=Europe
gdpPercap=%{x}
lifeExp=%{y}
pop=%{marker.size}", + "legendgroup": "Europe", "marker": { "color": "#EF553B", "size": [ @@ -2770,10 +2863,10 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Europe", + "name": "Europe", + "orientation": "v", "showlegend": true, "type": "scatter", - "uid": "ae1900ba-177d-495e-acd5-5b052040db32", "x": [ 5937.029525999999, 36126.4927, @@ -2842,11 +2935,8 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "continent=Africa
gdpPercap=%{x}
lifeExp=%{y}
pop=%{marker.size}", - "legendgroup": "continent=Africa", + "hovertemplate": "continent=Africa
gdpPercap=%{x}
lifeExp=%{y}
pop=%{marker.size}", + "legendgroup": "Africa", "marker": { "color": "#00cc96", "size": [ @@ -2908,10 +2998,10 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Africa", + "name": "Africa", + "orientation": "v", "showlegend": true, "type": "scatter", - "uid": "12593646-713c-41c1-8e4f-fa3df0fd9309", "x": [ 6223.367465, 4797.231267, @@ -3024,11 +3114,8 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "continent=Americas
gdpPercap=%{x}
lifeExp=%{y}
pop=%{marker.size}", - "legendgroup": "continent=Americas", + "hovertemplate": "continent=Americas
gdpPercap=%{x}
lifeExp=%{y}
pop=%{marker.size}", + "legendgroup": "Americas", "marker": { "color": "#ab63fa", "size": [ @@ -3063,10 +3150,10 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Americas", + "name": "Americas", + "orientation": "v", "showlegend": true, "type": "scatter", - "uid": "ebe035f7-65f3-4578-9f80-dc46ad42efe3", "x": [ 12779.379640000001, 3822.1370840000004, @@ -3125,13 +3212,10 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "continent=Oceania
gdpPercap=%{x}
lifeExp=%{y}
pop=%{marker.size}", - "legendgroup": "continent=Oceania", + "hovertemplate": "continent=Oceania
gdpPercap=%{x}
lifeExp=%{y}
pop=%{marker.size}", + "legendgroup": "Oceania", "marker": { - "color": "#19d3f3", + "color": "#FFA15A", "size": [ 20434176, 4115771 @@ -3141,10 +3225,10 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Oceania", + "name": "Oceania", + "orientation": "v", "showlegend": true, "type": "scatter", - "uid": "8fa79e5b-b3ab-4d46-aa31-d9c340244fa6", "x": [ 34435.367439999995, 25185.00911 @@ -3158,21 +3242,11 @@ } ], "layout": { - "grid": { - "xaxes": [ - "x" - ], - "xgap": 0.1, - "xside": "bottom", - "yaxes": [ - "y" - ], - "ygap": 0.1, - "yside": "left" - }, - "height": 600, "legend": { "itemsizing": "constant", + "title": { + "text": "continent" + }, "tracegroupgap": 0 }, "margin": { @@ -3182,6 +3256,12 @@ "data": { "bar": [ { + "error_x": { + "color": "#2a3f5f" + }, + "error_y": { + "color": "#2a3f5f" + }, "marker": { "line": { "color": "#E5ECF6", @@ -3239,70 +3319,171 @@ "colorscale": [ [ 0, - "#0508b8" + "#0d0887" + ], + [ + 0.1111111111111111, + "#46039f" + ], + [ + 0.2222222222222222, + "#7201a8" + ], + [ + 0.3333333333333333, + "#9c179e" + ], + [ + 0.4444444444444444, + "#bd3786" + ], + [ + 0.5555555555555556, + "#d8576b" + ], + [ + 0.6666666666666666, + "#ed7953" ], [ - 0.0893854748603352, - "#1910d8" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.1787709497206704, - "#3c19f0" + 0.8888888888888888, + "#fdca26" ], [ - 0.2681564245810056, - "#6b1cfb" + 1, + "#f0f921" + ] + ], + "type": "contour" + } + ], + "contourcarpet": [ + { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + }, + "type": "contourcarpet" + } + ], + "heatmap": [ + { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + }, + "colorscale": [ + [ + 0, + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], - "type": "contour" + "type": "heatmap" } ], - "contourcarpet": [ + "heatmapgl": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, - "type": "contourcarpet" + "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" + ] + ], + "type": "heatmapgl" } ], - "heatmap": [ + "histogram": [ + { + "marker": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, + "type": "histogram" + } + ], + "histogram2d": [ { "colorbar": { "outlinewidth": 0, @@ -3311,138 +3492,43 @@ "colorscale": [ [ 0, - "#0508b8" + "#0d0887" ], [ - 0.0893854748603352, - "#1910d8" + 0.1111111111111111, + "#46039f" ], [ - 0.1787709497206704, - "#3c19f0" + 0.2222222222222222, + "#7201a8" ], [ - 0.2681564245810056, - "#6b1cfb" + 0.3333333333333333, + "#9c179e" ], [ - 0.3575418994413408, - "#981cfd" + 0.4444444444444444, + "#bd3786" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.5555555555555556, + "#d8576b" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.6666666666666666, + "#ed7953" ], [ - 0.6256983240223464, - "#f246fe" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.7150837988826816, - "#fc67fd" - ], - [ - 0.8044692737430168, - "#fe88fc" - ], - [ - 0.8938547486033519, - "#fea5fd" - ], - [ - 0.9832402234636871, - "#febefe" - ], - [ - 1, - "#fec3fe" - ] - ], - "type": "heatmap" - } - ], - "heatmapgl": [ - { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - }, - "type": "heatmapgl" - } - ], - "histogram": [ - { - "marker": { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - } - }, - "type": "histogram" - } - ], - "histogram2d": [ - { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - }, - "colorscale": [ - [ - 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" - ], - [ - 0.3575418994413408, - "#981cfd" - ], - [ - 0.44692737430167595, - "#bf1cfd" - ], - [ - 0.5363128491620112, - "#dd2bfd" - ], - [ - 0.6256983240223464, - "#f246fe" - ], - [ - 0.7150837988826816, - "#fc67fd" - ], - [ - 0.8044692737430168, - "#fe88fc" - ], - [ - 0.8938547486033519, - "#fea5fd" - ], - [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "histogram2d" @@ -3457,55 +3543,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" + "#0d0887" ], [ - 0.1787709497206704, - "#3c19f0" + 0.1111111111111111, + "#46039f" ], [ - 0.2681564245810056, - "#6b1cfb" + 0.2222222222222222, + "#7201a8" ], [ - 0.3575418994413408, - "#981cfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.4444444444444444, + "#bd3786" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.5555555555555556, + "#d8576b" ], [ - 0.6256983240223464, - "#f246fe" + 0.6666666666666666, + "#ed7953" ], [ - 0.7150837988826816, - "#fc67fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.8044692737430168, - "#fe88fc" - ], - [ - 0.8938547486033519, - "#fea5fd" - ], - [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "histogram2dcontour" @@ -3531,6 +3605,12 @@ "type": "parcoords" } ], + "pie": [ + { + "automargin": true, + "type": "pie" + } + ], "scatter": [ { "marker": { @@ -3544,6 +3624,12 @@ ], "scatter3d": [ { + "line": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, "marker": { "colorbar": { "outlinewidth": 0, @@ -3636,6 +3722,48 @@ "outlinewidth": 0, "ticks": "" }, + "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" + ] + ], "type": "surface" } ], @@ -3663,10 +3791,17 @@ }, "layout": { "annotationdefaults": { - "arrowcolor": "#506784", + "arrowcolor": "#2a3f5f", "arrowhead": 0, "arrowwidth": 1 }, + "autotypenumbers": "strict", + "coloraxis": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, "colorscale": { "diverging": [ [ @@ -3717,109 +3852,85 @@ "sequential": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "sequentialminus": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ] }, @@ -3828,12 +3939,12 @@ "#EF553B", "#00cc96", "#ab63fa", - "#19d3f3", - "#e763fa", - "#FECB52", "#FFA15A", + "#19d3f3", "#FF6692", - "#B6E880" + "#B6E880", + "#FF97FF", + "#FECB52" ], "font": { "color": "#2a3f5f" @@ -3898,11 +4009,9 @@ } }, "shapedefaults": { - "fillcolor": "#506784", "line": { - "width": 0 - }, - "opacity": 0.4 + "color": "#2a3f5f" + } }, "ternary": { "aaxis": { @@ -3930,6 +4039,9 @@ "gridcolor": "white", "linecolor": "white", "ticks": "", + "title": { + "standoff": 15 + }, "zerolinecolor": "white", "zerolinewidth": 2 }, @@ -3938,17 +4050,30 @@ "gridcolor": "white", "linecolor": "white", "ticks": "", + "title": { + "standoff": 15 + }, "zerolinecolor": "white", "zerolinewidth": 2 } } }, "xaxis": { + "anchor": "y", + "domain": [ + 0, + 1 + ], "title": { "text": "gdpPercap" } }, "yaxis": { + "anchor": "x", + "domain": [ + 0, + 1 + ], "title": { "text": "lifeExp" } @@ -3956,24 +4081,9 @@ } }, "text/html": [ - "
\n", - " \n", - " \n", - "
\n", - " \n", - "
" + " }) }; }); " ] }, "metadata": {}, @@ -4014,23 +4120,18 @@ }, { "cell_type": "code", - "execution_count": 32, + "execution_count": 5, "metadata": {}, "outputs": [ { "data": { "application/vnd.plotly.v1+json": { "config": { - "linkText": "Export to plot.ly", - "plotlyServerURL": "https://plot.ly", - "showLink": false + "plotlyServerURL": "https://plot.ly" }, "data": [ { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Asia
gdpPercap=%{x}
lifeExp=%{y}
pop=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Asia
gdpPercap=%{x}
lifeExp=%{y}
pop=%{marker.size}", "hovertext": [ "Afghanistan", "Bahrain", @@ -4066,7 +4167,7 @@ "West Bank and Gaza", "Yemen, Rep." ], - "legendgroup": "continent=Asia", + "legendgroup": "Asia", "marker": { "color": "#636efa", "size": [ @@ -4109,10 +4210,10 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Asia", + "name": "Asia", + "orientation": "v", "showlegend": true, "type": "scatter", - "uid": "e8f84902-7d36-4ede-9cc1-070d5f315bab", "x": [ 974.5803384, 29796.048339999998, @@ -4187,10 +4288,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Europe
gdpPercap=%{x}
lifeExp=%{y}
pop=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Europe
gdpPercap=%{x}
lifeExp=%{y}
pop=%{marker.size}", "hovertext": [ "Albania", "Austria", @@ -4223,7 +4321,7 @@ "Turkey", "United Kingdom" ], - "legendgroup": "continent=Europe", + "legendgroup": "Europe", "marker": { "color": "#EF553B", "size": [ @@ -4263,10 +4361,10 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Europe", + "name": "Europe", + "orientation": "v", "showlegend": true, "type": "scatter", - "uid": "586fe440-5927-4d0f-a5b6-642d73ebfe2f", "x": [ 5937.029525999999, 36126.4927, @@ -4335,10 +4433,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Africa
gdpPercap=%{x}
lifeExp=%{y}
pop=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Africa
gdpPercap=%{x}
lifeExp=%{y}
pop=%{marker.size}", "hovertext": [ "Algeria", "Angola", @@ -4393,7 +4488,7 @@ "Zambia", "Zimbabwe" ], - "legendgroup": "continent=Africa", + "legendgroup": "Africa", "marker": { "color": "#00cc96", "size": [ @@ -4455,10 +4550,10 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Africa", + "name": "Africa", + "orientation": "v", "showlegend": true, "type": "scatter", - "uid": "71dc7e47-d854-49f2-bdbf-3f1b003e0843", "x": [ 6223.367465, 4797.231267, @@ -4571,10 +4666,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Americas
gdpPercap=%{x}
lifeExp=%{y}
pop=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Americas
gdpPercap=%{x}
lifeExp=%{y}
pop=%{marker.size}", "hovertext": [ "Argentina", "Bolivia", @@ -4602,7 +4694,7 @@ "Uruguay", "Venezuela" ], - "legendgroup": "continent=Americas", + "legendgroup": "Americas", "marker": { "color": "#ab63fa", "size": [ @@ -4637,10 +4729,10 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Americas", + "name": "Americas", + "orientation": "v", "showlegend": true, "type": "scatter", - "uid": "b1d4e076-ea7d-41e5-b28f-c224d4e8737b", "x": [ 12779.379640000001, 3822.1370840000004, @@ -4699,17 +4791,14 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Oceania
gdpPercap=%{x}
lifeExp=%{y}
pop=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Oceania
gdpPercap=%{x}
lifeExp=%{y}
pop=%{marker.size}", "hovertext": [ "Australia", "New Zealand" ], - "legendgroup": "continent=Oceania", + "legendgroup": "Oceania", "marker": { - "color": "#19d3f3", + "color": "#FFA15A", "size": [ 20434176, 4115771 @@ -4719,10 +4808,10 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Oceania", + "name": "Oceania", + "orientation": "v", "showlegend": true, "type": "scatter", - "uid": "da875454-2db3-4aa8-9fcf-a2a1351dcf3e", "x": [ 34435.367439999995, 25185.00911 @@ -4736,21 +4825,11 @@ } ], "layout": { - "grid": { - "xaxes": [ - "x" - ], - "xgap": 0.1, - "xside": "bottom", - "yaxes": [ - "y" - ], - "ygap": 0.1, - "yside": "left" - }, - "height": 600, "legend": { "itemsizing": "constant", + "title": { + "text": "continent" + }, "tracegroupgap": 0 }, "margin": { @@ -4760,6 +4839,12 @@ "data": { "bar": [ { + "error_x": { + "color": "#2a3f5f" + }, + "error_y": { + "color": "#2a3f5f" + }, "marker": { "line": { "color": "#E5ECF6", @@ -4817,70 +4902,171 @@ "colorscale": [ [ 0, - "#0508b8" + "#0d0887" + ], + [ + 0.1111111111111111, + "#46039f" + ], + [ + 0.2222222222222222, + "#7201a8" + ], + [ + 0.3333333333333333, + "#9c179e" + ], + [ + 0.4444444444444444, + "#bd3786" + ], + [ + 0.5555555555555556, + "#d8576b" + ], + [ + 0.6666666666666666, + "#ed7953" ], [ - 0.0893854748603352, - "#1910d8" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.1787709497206704, - "#3c19f0" + 0.8888888888888888, + "#fdca26" ], [ - 0.2681564245810056, - "#6b1cfb" + 1, + "#f0f921" + ] + ], + "type": "contour" + } + ], + "contourcarpet": [ + { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + }, + "type": "contourcarpet" + } + ], + "heatmap": [ + { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + }, + "colorscale": [ + [ + 0, + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], - "type": "contour" + "type": "heatmap" } ], - "contourcarpet": [ + "heatmapgl": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, - "type": "contourcarpet" + "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" + ] + ], + "type": "heatmapgl" } ], - "heatmap": [ + "histogram": [ + { + "marker": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, + "type": "histogram" + } + ], + "histogram2d": [ { "colorbar": { "outlinewidth": 0, @@ -4889,138 +5075,43 @@ "colorscale": [ [ 0, - "#0508b8" + "#0d0887" ], [ - 0.0893854748603352, - "#1910d8" + 0.1111111111111111, + "#46039f" ], [ - 0.1787709497206704, - "#3c19f0" + 0.2222222222222222, + "#7201a8" ], [ - 0.2681564245810056, - "#6b1cfb" + 0.3333333333333333, + "#9c179e" ], [ - 0.3575418994413408, - "#981cfd" + 0.4444444444444444, + "#bd3786" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.5555555555555556, + "#d8576b" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.6666666666666666, + "#ed7953" ], [ - 0.6256983240223464, - "#f246fe" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.7150837988826816, - "#fc67fd" - ], - [ - 0.8044692737430168, - "#fe88fc" - ], - [ - 0.8938547486033519, - "#fea5fd" - ], - [ - 0.9832402234636871, - "#febefe" - ], - [ - 1, - "#fec3fe" - ] - ], - "type": "heatmap" - } - ], - "heatmapgl": [ - { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - }, - "type": "heatmapgl" - } - ], - "histogram": [ - { - "marker": { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - } - }, - "type": "histogram" - } - ], - "histogram2d": [ - { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - }, - "colorscale": [ - [ - 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" - ], - [ - 0.3575418994413408, - "#981cfd" - ], - [ - 0.44692737430167595, - "#bf1cfd" - ], - [ - 0.5363128491620112, - "#dd2bfd" - ], - [ - 0.6256983240223464, - "#f246fe" - ], - [ - 0.7150837988826816, - "#fc67fd" - ], - [ - 0.8044692737430168, - "#fe88fc" - ], - [ - 0.8938547486033519, - "#fea5fd" - ], - [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "histogram2d" @@ -5035,55 +5126,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" + "#0d0887" ], [ - 0.2681564245810056, - "#6b1cfb" + 0.1111111111111111, + "#46039f" ], [ - 0.3575418994413408, - "#981cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.4444444444444444, + "#bd3786" ], [ - 0.6256983240223464, - "#f246fe" + 0.5555555555555556, + "#d8576b" ], [ - 0.7150837988826816, - "#fc67fd" + 0.6666666666666666, + "#ed7953" ], [ - 0.8044692737430168, - "#fe88fc" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.8938547486033519, - "#fea5fd" - ], - [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "histogram2dcontour" @@ -5109,6 +5188,12 @@ "type": "parcoords" } ], + "pie": [ + { + "automargin": true, + "type": "pie" + } + ], "scatter": [ { "marker": { @@ -5122,6 +5207,12 @@ ], "scatter3d": [ { + "line": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, "marker": { "colorbar": { "outlinewidth": 0, @@ -5214,6 +5305,48 @@ "outlinewidth": 0, "ticks": "" }, + "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" + ] + ], "type": "surface" } ], @@ -5241,10 +5374,17 @@ }, "layout": { "annotationdefaults": { - "arrowcolor": "#506784", + "arrowcolor": "#2a3f5f", "arrowhead": 0, "arrowwidth": 1 }, + "autotypenumbers": "strict", + "coloraxis": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, "colorscale": { "diverging": [ [ @@ -5295,109 +5435,85 @@ "sequential": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "sequentialminus": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ] }, @@ -5406,12 +5522,12 @@ "#EF553B", "#00cc96", "#ab63fa", - "#19d3f3", - "#e763fa", - "#FECB52", "#FFA15A", + "#19d3f3", "#FF6692", - "#B6E880" + "#B6E880", + "#FF97FF", + "#FECB52" ], "font": { "color": "#2a3f5f" @@ -5476,11 +5592,9 @@ } }, "shapedefaults": { - "fillcolor": "#506784", "line": { - "width": 0 - }, - "opacity": 0.4 + "color": "#2a3f5f" + } }, "ternary": { "aaxis": { @@ -5508,6 +5622,9 @@ "gridcolor": "white", "linecolor": "white", "ticks": "", + "title": { + "standoff": 15 + }, "zerolinecolor": "white", "zerolinewidth": 2 }, @@ -5516,17 +5633,30 @@ "gridcolor": "white", "linecolor": "white", "ticks": "", + "title": { + "standoff": 15 + }, "zerolinecolor": "white", "zerolinewidth": 2 } } }, "xaxis": { + "anchor": "y", + "domain": [ + 0, + 1 + ], "title": { "text": "gdpPercap" } }, "yaxis": { + "anchor": "x", + "domain": [ + 0, + 1 + ], "title": { "text": "lifeExp" } @@ -5534,24 +5664,9 @@ } }, "text/html": [ - "
\n", - " \n", - " \n", - "
\n", - " \n", - "
" + " }) }; }); " ] }, "metadata": {}, @@ -5592,23 +5703,18 @@ }, { "cell_type": "code", - "execution_count": 33, + "execution_count": 6, "metadata": {}, "outputs": [ { "data": { "application/vnd.plotly.v1+json": { "config": { - "linkText": "Export to plot.ly", - "plotlyServerURL": "https://plot.ly", - "showLink": false + "plotlyServerURL": "https://plot.ly" }, "data": [ { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Asia
gdpPercap=%{x}
lifeExp=%{y}
pop=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Asia
gdpPercap=%{x}
lifeExp=%{y}
pop=%{marker.size}", "hovertext": [ "Afghanistan", "Bahrain", @@ -5644,7 +5750,7 @@ "West Bank and Gaza", "Yemen, Rep." ], - "legendgroup": "continent=Asia", + "legendgroup": "Asia", "marker": { "color": "#636efa", "size": [ @@ -5687,10 +5793,10 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Asia", + "name": "Asia", + "orientation": "v", "showlegend": true, "type": "scatter", - "uid": "5eeb1217-bc60-4ac0-857b-3c40413af366", "x": [ 974.5803384, 29796.048339999998, @@ -5765,10 +5871,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Europe
gdpPercap=%{x}
lifeExp=%{y}
pop=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Europe
gdpPercap=%{x}
lifeExp=%{y}
pop=%{marker.size}", "hovertext": [ "Albania", "Austria", @@ -5801,7 +5904,7 @@ "Turkey", "United Kingdom" ], - "legendgroup": "continent=Europe", + "legendgroup": "Europe", "marker": { "color": "#EF553B", "size": [ @@ -5841,10 +5944,10 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Europe", + "name": "Europe", + "orientation": "v", "showlegend": true, "type": "scatter", - "uid": "3ebb9a03-3cbd-495f-be3b-94b64834c832", "x": [ 5937.029525999999, 36126.4927, @@ -5910,13 +6013,10 @@ 71.777, 79.425 ], - "yaxis": "y" + "yaxis": "y2" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Africa
gdpPercap=%{x}
lifeExp=%{y}
pop=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Africa
gdpPercap=%{x}
lifeExp=%{y}
pop=%{marker.size}", "hovertext": [ "Algeria", "Angola", @@ -5971,7 +6071,7 @@ "Zambia", "Zimbabwe" ], - "legendgroup": "continent=Africa", + "legendgroup": "Africa", "marker": { "color": "#00cc96", "size": [ @@ -6033,10 +6133,10 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Africa", + "name": "Africa", + "orientation": "v", "showlegend": true, "type": "scatter", - "uid": "a6a3b57f-0ba6-4cd9-90e3-79cb3dbee963", "x": [ 6223.367465, 4797.231267, @@ -6146,13 +6246,10 @@ 42.38399999999999, 43.486999999999995 ], - "yaxis": "y" + "yaxis": "y3" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Americas
gdpPercap=%{x}
lifeExp=%{y}
pop=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Americas
gdpPercap=%{x}
lifeExp=%{y}
pop=%{marker.size}", "hovertext": [ "Argentina", "Bolivia", @@ -6180,7 +6277,7 @@ "Uruguay", "Venezuela" ], - "legendgroup": "continent=Americas", + "legendgroup": "Americas", "marker": { "color": "#ab63fa", "size": [ @@ -6215,10 +6312,10 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Americas", + "name": "Americas", + "orientation": "v", "showlegend": true, "type": "scatter", - "uid": "7d5c91e5-bf23-4645-878d-da349d75a122", "x": [ 12779.379640000001, 3822.1370840000004, @@ -6274,20 +6371,17 @@ 76.384, 73.747 ], - "yaxis": "y" + "yaxis": "y4" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Oceania
gdpPercap=%{x}
lifeExp=%{y}
pop=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Oceania
gdpPercap=%{x}
lifeExp=%{y}
pop=%{marker.size}", "hovertext": [ "Australia", "New Zealand" ], - "legendgroup": "continent=Oceania", + "legendgroup": "Oceania", "marker": { - "color": "#19d3f3", + "color": "#FFA15A", "size": [ 20434176, 4115771 @@ -6297,10 +6391,10 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Oceania", + "name": "Oceania", + "orientation": "v", "showlegend": true, "type": "scatter", - "uid": "952e6d5e-5f05-4beb-a429-7581210798c4", "x": [ 34435.367439999995, 25185.00911 @@ -6310,86 +6404,72 @@ 81.235, 80.204 ], - "yaxis": "y" + "yaxis": "y5" } ], "layout": { "annotations": [ { + "font": {}, "showarrow": false, "text": "continent=Asia", - "textangle": 0, - "x": 0.09183673469387754, + "x": 0.09200000000000001, "xanchor": "center", "xref": "paper", - "y": 1.02, - "yanchor": "middle", + "y": 1, + "yanchor": "bottom", "yref": "paper" }, { + "font": {}, "showarrow": false, "text": "continent=Europe", - "textangle": 0, - "x": 0.2959183673469387, + "x": 0.29600000000000004, "xanchor": "center", "xref": "paper", - "y": 1.02, - "yanchor": "middle", + "y": 1, + "yanchor": "bottom", "yref": "paper" }, { + "font": {}, "showarrow": false, "text": "continent=Africa", - "textangle": 0, "x": 0.5, "xanchor": "center", "xref": "paper", - "y": 1.02, - "yanchor": "middle", + "y": 1, + "yanchor": "bottom", "yref": "paper" }, { + "font": {}, "showarrow": false, "text": "continent=Americas", - "textangle": 0, - "x": 0.7040816326530612, + "x": 0.7040000000000002, "xanchor": "center", "xref": "paper", - "y": 1.02, - "yanchor": "middle", + "y": 1, + "yanchor": "bottom", "yref": "paper" }, { + "font": {}, "showarrow": false, "text": "continent=Oceania", - "textangle": 0, - "x": 0.9081632653061223, + "x": 0.908, "xanchor": "center", "xref": "paper", - "y": 1.02, - "yanchor": "middle", + "y": 1, + "yanchor": "bottom", "yref": "paper" } ], - "grid": { - "xaxes": [ - "x", - "x2", - "x3", - "x4", - "x5" - ], - "xgap": 0.1, - "xside": "bottom", - "yaxes": [ - "y" - ], - "ygap": 0.1, - "yside": "left" - }, - "height": 600, "legend": { "itemsizing": "constant", + "title": { + "text": "continent" + }, "tracegroupgap": 0 }, "margin": { @@ -6399,6 +6479,12 @@ "data": { "bar": [ { + "error_x": { + "color": "#2a3f5f" + }, + "error_y": { + "color": "#2a3f5f" + }, "marker": { "line": { "color": "#E5ECF6", @@ -6456,70 +6542,171 @@ "colorscale": [ [ 0, - "#0508b8" + "#0d0887" ], [ - 0.0893854748603352, - "#1910d8" + 0.1111111111111111, + "#46039f" ], [ - 0.1787709497206704, - "#3c19f0" + 0.2222222222222222, + "#7201a8" ], [ - 0.2681564245810056, - "#6b1cfb" + 0.3333333333333333, + "#9c179e" ], [ - 0.3575418994413408, - "#981cfd" + 0.4444444444444444, + "#bd3786" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.5555555555555556, + "#d8576b" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.6666666666666666, + "#ed7953" ], [ - 0.6256983240223464, - "#f246fe" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.7150837988826816, - "#fc67fd" + 0.8888888888888888, + "#fdca26" ], [ - 0.8044692737430168, - "#fe88fc" + 1, + "#f0f921" + ] + ], + "type": "contour" + } + ], + "contourcarpet": [ + { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + }, + "type": "contourcarpet" + } + ], + "heatmap": [ + { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + }, + "colorscale": [ + [ + 0, + "#0d0887" + ], + [ + 0.1111111111111111, + "#46039f" + ], + [ + 0.2222222222222222, + "#7201a8" ], [ - 0.8938547486033519, - "#fea5fd" + 0.3333333333333333, + "#9c179e" ], [ - 0.9832402234636871, - "#febefe" + 0.4444444444444444, + "#bd3786" + ], + [ + 0.5555555555555556, + "#d8576b" + ], + [ + 0.6666666666666666, + "#ed7953" + ], + [ + 0.7777777777777778, + "#fb9f3a" + ], + [ + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], - "type": "contour" + "type": "heatmap" } ], - "contourcarpet": [ + "heatmapgl": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, - "type": "contourcarpet" + "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" + ] + ], + "type": "heatmapgl" } ], - "heatmap": [ + "histogram": [ + { + "marker": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, + "type": "histogram" + } + ], + "histogram2d": [ { "colorbar": { "outlinewidth": 0, @@ -6528,138 +6715,43 @@ "colorscale": [ [ 0, - "#0508b8" + "#0d0887" ], [ - 0.0893854748603352, - "#1910d8" + 0.1111111111111111, + "#46039f" ], [ - 0.1787709497206704, - "#3c19f0" + 0.2222222222222222, + "#7201a8" ], [ - 0.2681564245810056, - "#6b1cfb" + 0.3333333333333333, + "#9c179e" ], [ - 0.3575418994413408, - "#981cfd" + 0.4444444444444444, + "#bd3786" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.5555555555555556, + "#d8576b" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.6666666666666666, + "#ed7953" ], [ - 0.6256983240223464, - "#f246fe" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.7150837988826816, - "#fc67fd" - ], - [ - 0.8044692737430168, - "#fe88fc" - ], - [ - 0.8938547486033519, - "#fea5fd" - ], - [ - 0.9832402234636871, - "#febefe" - ], - [ - 1, - "#fec3fe" - ] - ], - "type": "heatmap" - } - ], - "heatmapgl": [ - { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - }, - "type": "heatmapgl" - } - ], - "histogram": [ - { - "marker": { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - } - }, - "type": "histogram" - } - ], - "histogram2d": [ - { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - }, - "colorscale": [ - [ - 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" - ], - [ - 0.3575418994413408, - "#981cfd" - ], - [ - 0.44692737430167595, - "#bf1cfd" - ], - [ - 0.5363128491620112, - "#dd2bfd" - ], - [ - 0.6256983240223464, - "#f246fe" - ], - [ - 0.7150837988826816, - "#fc67fd" - ], - [ - 0.8044692737430168, - "#fe88fc" - ], - [ - 0.8938547486033519, - "#fea5fd" - ], - [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "histogram2d" @@ -6674,55 +6766,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" + "#0d0887" ], [ - 0.1787709497206704, - "#3c19f0" + 0.1111111111111111, + "#46039f" ], [ - 0.2681564245810056, - "#6b1cfb" + 0.2222222222222222, + "#7201a8" ], [ - 0.3575418994413408, - "#981cfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.4444444444444444, + "#bd3786" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.5555555555555556, + "#d8576b" ], [ - 0.6256983240223464, - "#f246fe" + 0.6666666666666666, + "#ed7953" ], [ - 0.7150837988826816, - "#fc67fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.8044692737430168, - "#fe88fc" - ], - [ - 0.8938547486033519, - "#fea5fd" - ], - [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "histogram2dcontour" @@ -6748,6 +6828,12 @@ "type": "parcoords" } ], + "pie": [ + { + "automargin": true, + "type": "pie" + } + ], "scatter": [ { "marker": { @@ -6761,6 +6847,12 @@ ], "scatter3d": [ { + "line": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, "marker": { "colorbar": { "outlinewidth": 0, @@ -6853,6 +6945,48 @@ "outlinewidth": 0, "ticks": "" }, + "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" + ] + ], "type": "surface" } ], @@ -6880,10 +7014,17 @@ }, "layout": { "annotationdefaults": { - "arrowcolor": "#506784", + "arrowcolor": "#2a3f5f", "arrowhead": 0, "arrowwidth": 1 }, + "autotypenumbers": "strict", + "coloraxis": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, "colorscale": { "diverging": [ [ @@ -6934,109 +7075,85 @@ "sequential": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "sequentialminus": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ] }, @@ -7045,12 +7162,12 @@ "#EF553B", "#00cc96", "#ab63fa", - "#19d3f3", - "#e763fa", - "#FECB52", "#FFA15A", + "#19d3f3", "#FF6692", - "#B6E880" + "#B6E880", + "#FF97FF", + "#FECB52" ], "font": { "color": "#2a3f5f" @@ -7115,11 +7232,9 @@ } }, "shapedefaults": { - "fillcolor": "#506784", "line": { - "width": 0 - }, - "opacity": 0.4 + "color": "#2a3f5f" + } }, "ternary": { "aaxis": { @@ -7147,6 +7262,9 @@ "gridcolor": "white", "linecolor": "white", "ticks": "", + "title": { + "standoff": 15 + }, "zerolinecolor": "white", "zerolinewidth": 2 }, @@ -7155,66 +7273,120 @@ "gridcolor": "white", "linecolor": "white", "ticks": "", + "title": { + "standoff": 15 + }, "zerolinecolor": "white", "zerolinewidth": 2 } } }, "xaxis": { + "anchor": "y", + "domain": [ + 0, + 0.18400000000000002 + ], "title": { "text": "gdpPercap" } }, "xaxis2": { + "anchor": "y2", + "domain": [ + 0.20400000000000001, + 0.388 + ], "matches": "x", "title": { "text": "gdpPercap" } }, "xaxis3": { + "anchor": "y3", + "domain": [ + 0.40800000000000003, + 0.5920000000000001 + ], "matches": "x", "title": { "text": "gdpPercap" } }, "xaxis4": { + "anchor": "y4", + "domain": [ + 0.6120000000000001, + 0.7960000000000002 + ], "matches": "x", "title": { "text": "gdpPercap" } }, "xaxis5": { + "anchor": "y5", + "domain": [ + 0.8160000000000001, + 1 + ], "matches": "x", "title": { "text": "gdpPercap" } }, "yaxis": { + "anchor": "x", + "domain": [ + 0, + 1 + ], "title": { "text": "lifeExp" } + }, + "yaxis2": { + "anchor": "x2", + "domain": [ + 0, + 1 + ], + "matches": "y", + "showticklabels": false + }, + "yaxis3": { + "anchor": "x3", + "domain": [ + 0, + 1 + ], + "matches": "y", + "showticklabels": false + }, + "yaxis4": { + "anchor": "x4", + "domain": [ + 0, + 1 + ], + "matches": "y", + "showticklabels": false + }, + "yaxis5": { + "anchor": "x5", + "domain": [ + 0, + 1 + ], + "matches": "y", + "showticklabels": false } } }, "text/html": [ - "
\n", - " \n", - " \n", - "
\n", - " \n", - "
" + " }) }; }); " ] }, "metadata": {}, @@ -7257,23 +7425,18 @@ }, { "cell_type": "code", - "execution_count": 34, + "execution_count": 7, "metadata": {}, "outputs": [ { "data": { "application/vnd.plotly.v1+json": { "config": { - "linkText": "Export to plot.ly", - "plotlyServerURL": "https://plot.ly", - "showLink": false + "plotlyServerURL": "https://plot.ly" }, "data": [ { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Asia
gdpPercap=%{x}
lifeExp=%{y}
pop=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Asia
gdpPercap=%{x}
lifeExp=%{y}
pop=%{marker.size}", "hovertext": [ "Afghanistan", "Bahrain", @@ -7309,7 +7472,7 @@ "West Bank and Gaza", "Yemen, Rep." ], - "legendgroup": "continent=Asia", + "legendgroup": "Asia", "marker": { "color": "#636efa", "size": [ @@ -7352,10 +7515,10 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Asia", + "name": "Asia", + "orientation": "v", "showlegend": true, "type": "scatter", - "uid": "0a5da17d-554b-4b26-940d-cf96152f169f", "x": [ 974.5803384, 29796.048339999998, @@ -7430,10 +7593,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Europe
gdpPercap=%{x}
lifeExp=%{y}
pop=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Europe
gdpPercap=%{x}
lifeExp=%{y}
pop=%{marker.size}", "hovertext": [ "Albania", "Austria", @@ -7466,7 +7626,7 @@ "Turkey", "United Kingdom" ], - "legendgroup": "continent=Europe", + "legendgroup": "Europe", "marker": { "color": "#EF553B", "size": [ @@ -7506,10 +7666,10 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Europe", + "name": "Europe", + "orientation": "v", "showlegend": true, "type": "scatter", - "uid": "b4bca67d-4f24-4447-9b9a-a4207cc3895d", "x": [ 5937.029525999999, 36126.4927, @@ -7575,13 +7735,10 @@ 71.777, 79.425 ], - "yaxis": "y" + "yaxis": "y2" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Africa
gdpPercap=%{x}
lifeExp=%{y}
pop=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Africa
gdpPercap=%{x}
lifeExp=%{y}
pop=%{marker.size}", "hovertext": [ "Algeria", "Angola", @@ -7636,7 +7793,7 @@ "Zambia", "Zimbabwe" ], - "legendgroup": "continent=Africa", + "legendgroup": "Africa", "marker": { "color": "#00cc96", "size": [ @@ -7698,10 +7855,10 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Africa", + "name": "Africa", + "orientation": "v", "showlegend": true, "type": "scatter", - "uid": "b319ecdc-c133-405b-ac11-77c170ddcb60", "x": [ 6223.367465, 4797.231267, @@ -7811,13 +7968,10 @@ 42.38399999999999, 43.486999999999995 ], - "yaxis": "y" + "yaxis": "y3" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Americas
gdpPercap=%{x}
lifeExp=%{y}
pop=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Americas
gdpPercap=%{x}
lifeExp=%{y}
pop=%{marker.size}", "hovertext": [ "Argentina", "Bolivia", @@ -7845,7 +7999,7 @@ "Uruguay", "Venezuela" ], - "legendgroup": "continent=Americas", + "legendgroup": "Americas", "marker": { "color": "#ab63fa", "size": [ @@ -7880,10 +8034,10 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Americas", + "name": "Americas", + "orientation": "v", "showlegend": true, "type": "scatter", - "uid": "470ca946-d58c-4557-a21e-3388b064be22", "x": [ 12779.379640000001, 3822.1370840000004, @@ -7939,20 +8093,17 @@ 76.384, 73.747 ], - "yaxis": "y" + "yaxis": "y4" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Oceania
gdpPercap=%{x}
lifeExp=%{y}
pop=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Oceania
gdpPercap=%{x}
lifeExp=%{y}
pop=%{marker.size}", "hovertext": [ "Australia", "New Zealand" ], - "legendgroup": "continent=Oceania", + "legendgroup": "Oceania", "marker": { - "color": "#19d3f3", + "color": "#FFA15A", "size": [ 20434176, 4115771 @@ -7962,10 +8113,10 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Oceania", + "name": "Oceania", + "orientation": "v", "showlegend": true, "type": "scatter", - "uid": "7e99d07b-b2c9-4d8c-aba9-cef48ae73341", "x": [ 34435.367439999995, 25185.00911 @@ -7975,86 +8126,72 @@ 81.235, 80.204 ], - "yaxis": "y" + "yaxis": "y5" } ], "layout": { "annotations": [ { + "font": {}, "showarrow": false, "text": "continent=Asia", - "textangle": 0, - "x": 0.09183673469387754, + "x": 0.09200000000000001, "xanchor": "center", "xref": "paper", - "y": 1.02, - "yanchor": "middle", + "y": 1, + "yanchor": "bottom", "yref": "paper" }, { + "font": {}, "showarrow": false, "text": "continent=Europe", - "textangle": 0, - "x": 0.2959183673469387, + "x": 0.29600000000000004, "xanchor": "center", "xref": "paper", - "y": 1.02, - "yanchor": "middle", + "y": 1, + "yanchor": "bottom", "yref": "paper" }, { + "font": {}, "showarrow": false, "text": "continent=Africa", - "textangle": 0, "x": 0.5, "xanchor": "center", "xref": "paper", - "y": 1.02, - "yanchor": "middle", + "y": 1, + "yanchor": "bottom", "yref": "paper" }, { + "font": {}, "showarrow": false, "text": "continent=Americas", - "textangle": 0, - "x": 0.7040816326530612, + "x": 0.7040000000000002, "xanchor": "center", "xref": "paper", - "y": 1.02, - "yanchor": "middle", + "y": 1, + "yanchor": "bottom", "yref": "paper" }, { + "font": {}, "showarrow": false, "text": "continent=Oceania", - "textangle": 0, - "x": 0.9081632653061223, + "x": 0.908, "xanchor": "center", "xref": "paper", - "y": 1.02, - "yanchor": "middle", + "y": 1, + "yanchor": "bottom", "yref": "paper" } ], - "grid": { - "xaxes": [ - "x", - "x2", - "x3", - "x4", - "x5" - ], - "xgap": 0.1, - "xside": "bottom", - "yaxes": [ - "y" - ], - "ygap": 0.1, - "yside": "left" - }, - "height": 600, "legend": { "itemsizing": "constant", + "title": { + "text": "continent" + }, "tracegroupgap": 0 }, "margin": { @@ -8064,6 +8201,12 @@ "data": { "bar": [ { + "error_x": { + "color": "#2a3f5f" + }, + "error_y": { + "color": "#2a3f5f" + }, "marker": { "line": { "color": "#E5ECF6", @@ -8121,55 +8264,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" + "#0d0887" ], [ - 0.2681564245810056, - "#6b1cfb" + 0.1111111111111111, + "#46039f" ], [ - 0.3575418994413408, - "#981cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.4444444444444444, + "#bd3786" ], [ - 0.6256983240223464, - "#f246fe" + 0.5555555555555556, + "#d8576b" ], [ - 0.7150837988826816, - "#fc67fd" + 0.6666666666666666, + "#ed7953" ], [ - 0.8044692737430168, - "#fe88fc" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.8938547486033519, - "#fea5fd" - ], - [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "contour" @@ -8193,81 +8324,49 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" + "#0d0887" ], [ - 0.1787709497206704, - "#3c19f0" + 0.1111111111111111, + "#46039f" ], [ - 0.2681564245810056, - "#6b1cfb" + 0.2222222222222222, + "#7201a8" ], [ - 0.3575418994413408, - "#981cfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.4444444444444444, + "#bd3786" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.5555555555555556, + "#d8576b" ], [ - 0.6256983240223464, - "#f246fe" + 0.6666666666666666, + "#ed7953" ], [ - 0.7150837988826816, - "#fc67fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.8044692737430168, - "#fe88fc" - ], - [ - 0.8938547486033519, - "#fea5fd" - ], - [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "heatmap" } ], "heatmapgl": [ - { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - }, - "type": "heatmapgl" - } - ], - "histogram": [ - { - "marker": { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - } - }, - "type": "histogram" - } - ], - "histogram2d": [ { "colorbar": { "outlinewidth": 0, @@ -8276,55 +8375,105 @@ "colorscale": [ [ 0, - "#0508b8" + "#0d0887" ], [ - 0.0893854748603352, - "#1910d8" + 0.1111111111111111, + "#46039f" ], [ - 0.1787709497206704, - "#3c19f0" + 0.2222222222222222, + "#7201a8" ], [ - 0.2681564245810056, - "#6b1cfb" + 0.3333333333333333, + "#9c179e" ], [ - 0.3575418994413408, - "#981cfd" + 0.4444444444444444, + "#bd3786" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.5555555555555556, + "#d8576b" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.6666666666666666, + "#ed7953" ], [ - 0.6256983240223464, - "#f246fe" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.7150837988826816, - "#fc67fd" + 0.8888888888888888, + "#fdca26" ], [ - 0.8044692737430168, - "#fe88fc" + 1, + "#f0f921" + ] + ], + "type": "heatmapgl" + } + ], + "histogram": [ + { + "marker": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, + "type": "histogram" + } + ], + "histogram2d": [ + { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + }, + "colorscale": [ + [ + 0, + "#0d0887" + ], + [ + 0.1111111111111111, + "#46039f" + ], + [ + 0.2222222222222222, + "#7201a8" + ], + [ + 0.3333333333333333, + "#9c179e" ], [ - 0.8938547486033519, - "#fea5fd" + 0.4444444444444444, + "#bd3786" ], [ - 0.9832402234636871, - "#febefe" + 0.5555555555555556, + "#d8576b" + ], + [ + 0.6666666666666666, + "#ed7953" + ], + [ + 0.7777777777777778, + "#fb9f3a" + ], + [ + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "histogram2d" @@ -8339,55 +8488,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "histogram2dcontour" @@ -8413,6 +8550,12 @@ "type": "parcoords" } ], + "pie": [ + { + "automargin": true, + "type": "pie" + } + ], "scatter": [ { "marker": { @@ -8426,6 +8569,12 @@ ], "scatter3d": [ { + "line": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, "marker": { "colorbar": { "outlinewidth": 0, @@ -8518,6 +8667,48 @@ "outlinewidth": 0, "ticks": "" }, + "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" + ] + ], "type": "surface" } ], @@ -8545,10 +8736,17 @@ }, "layout": { "annotationdefaults": { - "arrowcolor": "#506784", + "arrowcolor": "#2a3f5f", "arrowhead": 0, "arrowwidth": 1 }, + "autotypenumbers": "strict", + "coloraxis": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, "colorscale": { "diverging": [ [ @@ -8599,109 +8797,85 @@ "sequential": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "sequentialminus": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ] }, @@ -8710,12 +8884,12 @@ "#EF553B", "#00cc96", "#ab63fa", - "#19d3f3", - "#e763fa", - "#FECB52", "#FFA15A", + "#19d3f3", "#FF6692", - "#B6E880" + "#B6E880", + "#FF97FF", + "#FECB52" ], "font": { "color": "#2a3f5f" @@ -8780,11 +8954,9 @@ } }, "shapedefaults": { - "fillcolor": "#506784", "line": { - "width": 0 - }, - "opacity": 0.4 + "color": "#2a3f5f" + } }, "ternary": { "aaxis": { @@ -8812,6 +8984,9 @@ "gridcolor": "white", "linecolor": "white", "ticks": "", + "title": { + "standoff": 15 + }, "zerolinecolor": "white", "zerolinewidth": 2 }, @@ -8820,18 +8995,31 @@ "gridcolor": "white", "linecolor": "white", "ticks": "", + "title": { + "standoff": 15 + }, "zerolinecolor": "white", "zerolinewidth": 2 } } }, "xaxis": { + "anchor": "y", + "domain": [ + 0, + 0.18400000000000002 + ], "title": { "text": "gdpPercap" }, "type": "log" }, "xaxis2": { + "anchor": "y2", + "domain": [ + 0.20400000000000001, + 0.388 + ], "matches": "x", "title": { "text": "gdpPercap" @@ -8839,6 +9027,11 @@ "type": "log" }, "xaxis3": { + "anchor": "y3", + "domain": [ + 0.40800000000000003, + 0.5920000000000001 + ], "matches": "x", "title": { "text": "gdpPercap" @@ -8846,6 +9039,11 @@ "type": "log" }, "xaxis4": { + "anchor": "y4", + "domain": [ + 0.6120000000000001, + 0.7960000000000002 + ], "matches": "x", "title": { "text": "gdpPercap" @@ -8853,6 +9051,11 @@ "type": "log" }, "xaxis5": { + "anchor": "y5", + "domain": [ + 0.8160000000000001, + 1 + ], "matches": "x", "title": { "text": "gdpPercap" @@ -8860,31 +9063,57 @@ "type": "log" }, "yaxis": { + "anchor": "x", + "domain": [ + 0, + 1 + ], "title": { "text": "lifeExp" } + }, + "yaxis2": { + "anchor": "x2", + "domain": [ + 0, + 1 + ], + "matches": "y", + "showticklabels": false + }, + "yaxis3": { + "anchor": "x3", + "domain": [ + 0, + 1 + ], + "matches": "y", + "showticklabels": false + }, + "yaxis4": { + "anchor": "x4", + "domain": [ + 0, + 1 + ], + "matches": "y", + "showticklabels": false + }, + "yaxis5": { + "anchor": "x5", + "domain": [ + 0, + 1 + ], + "matches": "y", + "showticklabels": false } } }, "text/html": [ - "
\n", - " \n", - " \n", - "
\n", - " \n", - "
" + " }) }; }); " ] }, "metadata": {}, @@ -8927,23 +9152,18 @@ }, { "cell_type": "code", - "execution_count": 35, + "execution_count": 8, "metadata": {}, "outputs": [ { "data": { "application/vnd.plotly.v1+json": { "config": { - "linkText": "Export to plot.ly", - "plotlyServerURL": "https://plot.ly", - "showLink": false + "plotlyServerURL": "https://plot.ly" }, "data": [ { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Asia
year=1952
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Asia
year=1952
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Afghanistan", "Bahrain", @@ -9014,7 +9234,7 @@ "West Bank and Gaza", "Yemen, Rep." ], - "legendgroup": "continent=Asia", + "legendgroup": "Asia", "marker": { "color": "#636efa", "size": [ @@ -9057,10 +9277,10 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Asia", + "name": "Asia", + "orientation": "v", "showlegend": true, "type": "scatter", - "uid": "1c253b78-c3fd-4a8e-831d-d104b7293118", "x": [ 779.4453145, 9867.084765000001, @@ -9135,10 +9355,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Europe
year=1952
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Europe
year=1952
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Albania", "Austria", @@ -9203,7 +9420,7 @@ "Turkey", "United Kingdom" ], - "legendgroup": "continent=Europe", + "legendgroup": "Europe", "marker": { "color": "#EF553B", "size": [ @@ -9243,10 +9460,10 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Europe", + "name": "Europe", + "orientation": "v", "showlegend": true, "type": "scatter", - "uid": "8a44c660-e5ed-4c02-9f45-7e13b46d73b4", "x": [ 1601.056136, 6137.076492, @@ -9315,10 +9532,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Africa
year=1952
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Africa
year=1952
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Algeria", "Angola", @@ -9427,7 +9641,7 @@ "Zambia", "Zimbabwe" ], - "legendgroup": "continent=Africa", + "legendgroup": "Africa", "marker": { "color": "#00cc96", "size": [ @@ -9489,10 +9703,10 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Africa", + "name": "Africa", + "orientation": "v", "showlegend": true, "type": "scatter", - "uid": "d25123ef-a009-4c43-a131-713bff84a24f", "x": [ 2449.008185, 3520.610273, @@ -9605,10 +9819,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Americas
year=1952
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Americas
year=1952
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Argentina", "Bolivia", @@ -9663,7 +9874,7 @@ "Uruguay", "Venezuela" ], - "legendgroup": "continent=Americas", + "legendgroup": "Americas", "marker": { "color": "#ab63fa", "size": [ @@ -9698,10 +9909,10 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Americas", + "name": "Americas", + "orientation": "v", "showlegend": true, "type": "scatter", - "uid": "87eabd19-eb43-47b1-9506-f4ff504745ad", "x": [ 5911.315053, 2677.3263469999997, @@ -9760,10 +9971,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Oceania
year=1952
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Oceania
year=1952
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Australia", "New Zealand" @@ -9772,9 +9980,9 @@ "Australia", "New Zealand" ], - "legendgroup": "continent=Oceania", + "legendgroup": "Oceania", "marker": { - "color": "#19d3f3", + "color": "#FFA15A", "size": [ 8691212, 1994794 @@ -9784,10 +9992,10 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Oceania", + "name": "Oceania", + "orientation": "v", "showlegend": true, "type": "scatter", - "uid": "8b68c54d-68e5-44cf-aecb-a9a4f4eb52ec", "x": [ 10039.595640000001, 10556.575659999999 @@ -9804,10 +10012,7 @@ { "data": [ { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Asia
year=1952
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Asia
year=1952
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Afghanistan", "Bahrain", @@ -9878,7 +10083,7 @@ "West Bank and Gaza", "Yemen, Rep." ], - "legendgroup": "continent=Asia", + "legendgroup": "Asia", "marker": { "color": "#636efa", "size": [ @@ -9921,7 +10126,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Asia", + "name": "Asia", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -9998,10 +10204,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Europe
year=1952
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Europe
year=1952
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Albania", "Austria", @@ -10066,7 +10269,7 @@ "Turkey", "United Kingdom" ], - "legendgroup": "continent=Europe", + "legendgroup": "Europe", "marker": { "color": "#EF553B", "size": [ @@ -10106,7 +10309,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Europe", + "name": "Europe", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -10177,10 +10381,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Africa
year=1952
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Africa
year=1952
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Algeria", "Angola", @@ -10289,7 +10490,7 @@ "Zambia", "Zimbabwe" ], - "legendgroup": "continent=Africa", + "legendgroup": "Africa", "marker": { "color": "#00cc96", "size": [ @@ -10351,7 +10552,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Africa", + "name": "Africa", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -10466,10 +10668,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Americas
year=1952
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Americas
year=1952
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Argentina", "Bolivia", @@ -10524,7 +10723,7 @@ "Uruguay", "Venezuela" ], - "legendgroup": "continent=Americas", + "legendgroup": "Americas", "marker": { "color": "#ab63fa", "size": [ @@ -10559,7 +10758,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Americas", + "name": "Americas", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -10620,10 +10820,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Oceania
year=1952
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Oceania
year=1952
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Australia", "New Zealand" @@ -10632,9 +10829,9 @@ "Australia", "New Zealand" ], - "legendgroup": "continent=Oceania", + "legendgroup": "Oceania", "marker": { - "color": "#19d3f3", + "color": "#FFA15A", "size": [ 8691212, 1994794 @@ -10644,7 +10841,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Oceania", + "name": "Oceania", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -10664,10 +10862,7 @@ { "data": [ { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Asia
year=1957
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Asia
year=1957
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Afghanistan", "Bahrain", @@ -10738,7 +10933,7 @@ "West Bank and Gaza", "Yemen, Rep." ], - "legendgroup": "continent=Asia", + "legendgroup": "Asia", "marker": { "color": "#636efa", "size": [ @@ -10781,7 +10976,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Asia", + "name": "Asia", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -10858,10 +11054,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Europe
year=1957
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Europe
year=1957
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Albania", "Austria", @@ -10926,7 +11119,7 @@ "Turkey", "United Kingdom" ], - "legendgroup": "continent=Europe", + "legendgroup": "Europe", "marker": { "color": "#EF553B", "size": [ @@ -10966,7 +11159,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Europe", + "name": "Europe", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -11037,10 +11231,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Africa
year=1957
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Africa
year=1957
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Algeria", "Angola", @@ -11149,7 +11340,7 @@ "Zambia", "Zimbabwe" ], - "legendgroup": "continent=Africa", + "legendgroup": "Africa", "marker": { "color": "#00cc96", "size": [ @@ -11211,7 +11402,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Africa", + "name": "Africa", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -11326,10 +11518,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Americas
year=1957
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Americas
year=1957
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Argentina", "Bolivia", @@ -11384,7 +11573,7 @@ "Uruguay", "Venezuela" ], - "legendgroup": "continent=Americas", + "legendgroup": "Americas", "marker": { "color": "#ab63fa", "size": [ @@ -11419,7 +11608,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Americas", + "name": "Americas", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -11480,10 +11670,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Oceania
year=1957
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Oceania
year=1957
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Australia", "New Zealand" @@ -11492,9 +11679,9 @@ "Australia", "New Zealand" ], - "legendgroup": "continent=Oceania", + "legendgroup": "Oceania", "marker": { - "color": "#19d3f3", + "color": "#FFA15A", "size": [ 9712569, 2229407 @@ -11504,7 +11691,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Oceania", + "name": "Oceania", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -11524,10 +11712,7 @@ { "data": [ { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Asia
year=1962
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Asia
year=1962
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Afghanistan", "Bahrain", @@ -11598,7 +11783,7 @@ "West Bank and Gaza", "Yemen, Rep." ], - "legendgroup": "continent=Asia", + "legendgroup": "Asia", "marker": { "color": "#636efa", "size": [ @@ -11641,7 +11826,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Asia", + "name": "Asia", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -11718,10 +11904,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Europe
year=1962
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Europe
year=1962
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Albania", "Austria", @@ -11786,7 +11969,7 @@ "Turkey", "United Kingdom" ], - "legendgroup": "continent=Europe", + "legendgroup": "Europe", "marker": { "color": "#EF553B", "size": [ @@ -11826,7 +12009,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Europe", + "name": "Europe", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -11897,10 +12081,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Africa
year=1962
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Africa
year=1962
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Algeria", "Angola", @@ -12009,7 +12190,7 @@ "Zambia", "Zimbabwe" ], - "legendgroup": "continent=Africa", + "legendgroup": "Africa", "marker": { "color": "#00cc96", "size": [ @@ -12071,7 +12252,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Africa", + "name": "Africa", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -12186,10 +12368,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Americas
year=1962
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Americas
year=1962
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Argentina", "Bolivia", @@ -12244,7 +12423,7 @@ "Uruguay", "Venezuela" ], - "legendgroup": "continent=Americas", + "legendgroup": "Americas", "marker": { "color": "#ab63fa", "size": [ @@ -12279,7 +12458,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Americas", + "name": "Americas", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -12340,10 +12520,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Oceania
year=1962
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Oceania
year=1962
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Australia", "New Zealand" @@ -12352,9 +12529,9 @@ "Australia", "New Zealand" ], - "legendgroup": "continent=Oceania", + "legendgroup": "Oceania", "marker": { - "color": "#19d3f3", + "color": "#FFA15A", "size": [ 10794968, 2488550 @@ -12364,7 +12541,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Oceania", + "name": "Oceania", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -12384,10 +12562,7 @@ { "data": [ { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Asia
year=1967
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Asia
year=1967
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Afghanistan", "Bahrain", @@ -12458,7 +12633,7 @@ "West Bank and Gaza", "Yemen, Rep." ], - "legendgroup": "continent=Asia", + "legendgroup": "Asia", "marker": { "color": "#636efa", "size": [ @@ -12501,7 +12676,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Asia", + "name": "Asia", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -12578,10 +12754,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Europe
year=1967
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Europe
year=1967
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Albania", "Austria", @@ -12646,7 +12819,7 @@ "Turkey", "United Kingdom" ], - "legendgroup": "continent=Europe", + "legendgroup": "Europe", "marker": { "color": "#EF553B", "size": [ @@ -12686,7 +12859,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Europe", + "name": "Europe", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -12757,10 +12931,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Africa
year=1967
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Africa
year=1967
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Algeria", "Angola", @@ -12869,7 +13040,7 @@ "Zambia", "Zimbabwe" ], - "legendgroup": "continent=Africa", + "legendgroup": "Africa", "marker": { "color": "#00cc96", "size": [ @@ -12931,7 +13102,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Africa", + "name": "Africa", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -13046,10 +13218,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Americas
year=1967
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Americas
year=1967
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Argentina", "Bolivia", @@ -13104,7 +13273,7 @@ "Uruguay", "Venezuela" ], - "legendgroup": "continent=Americas", + "legendgroup": "Americas", "marker": { "color": "#ab63fa", "size": [ @@ -13139,7 +13308,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Americas", + "name": "Americas", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -13200,10 +13370,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Oceania
year=1967
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Oceania
year=1967
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Australia", "New Zealand" @@ -13212,9 +13379,9 @@ "Australia", "New Zealand" ], - "legendgroup": "continent=Oceania", + "legendgroup": "Oceania", "marker": { - "color": "#19d3f3", + "color": "#FFA15A", "size": [ 11872264, 2728150 @@ -13224,7 +13391,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Oceania", + "name": "Oceania", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -13244,10 +13412,7 @@ { "data": [ { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Asia
year=1972
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Asia
year=1972
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Afghanistan", "Bahrain", @@ -13318,7 +13483,7 @@ "West Bank and Gaza", "Yemen, Rep." ], - "legendgroup": "continent=Asia", + "legendgroup": "Asia", "marker": { "color": "#636efa", "size": [ @@ -13361,7 +13526,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Asia", + "name": "Asia", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -13438,10 +13604,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Europe
year=1972
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Europe
year=1972
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Albania", "Austria", @@ -13506,7 +13669,7 @@ "Turkey", "United Kingdom" ], - "legendgroup": "continent=Europe", + "legendgroup": "Europe", "marker": { "color": "#EF553B", "size": [ @@ -13546,7 +13709,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Europe", + "name": "Europe", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -13617,10 +13781,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Africa
year=1972
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Africa
year=1972
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Algeria", "Angola", @@ -13729,7 +13890,7 @@ "Zambia", "Zimbabwe" ], - "legendgroup": "continent=Africa", + "legendgroup": "Africa", "marker": { "color": "#00cc96", "size": [ @@ -13791,7 +13952,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Africa", + "name": "Africa", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -13906,10 +14068,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Americas
year=1972
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Americas
year=1972
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Argentina", "Bolivia", @@ -13964,7 +14123,7 @@ "Uruguay", "Venezuela" ], - "legendgroup": "continent=Americas", + "legendgroup": "Americas", "marker": { "color": "#ab63fa", "size": [ @@ -13999,7 +14158,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Americas", + "name": "Americas", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -14060,10 +14220,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Oceania
year=1972
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Oceania
year=1972
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Australia", "New Zealand" @@ -14072,9 +14229,9 @@ "Australia", "New Zealand" ], - "legendgroup": "continent=Oceania", + "legendgroup": "Oceania", "marker": { - "color": "#19d3f3", + "color": "#FFA15A", "size": [ 13177000, 2929100 @@ -14084,7 +14241,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Oceania", + "name": "Oceania", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -14104,10 +14262,7 @@ { "data": [ { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Asia
year=1977
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Asia
year=1977
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Afghanistan", "Bahrain", @@ -14178,7 +14333,7 @@ "West Bank and Gaza", "Yemen, Rep." ], - "legendgroup": "continent=Asia", + "legendgroup": "Asia", "marker": { "color": "#636efa", "size": [ @@ -14221,7 +14376,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Asia", + "name": "Asia", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -14298,10 +14454,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Europe
year=1977
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Europe
year=1977
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Albania", "Austria", @@ -14366,7 +14519,7 @@ "Turkey", "United Kingdom" ], - "legendgroup": "continent=Europe", + "legendgroup": "Europe", "marker": { "color": "#EF553B", "size": [ @@ -14406,7 +14559,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Europe", + "name": "Europe", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -14477,10 +14631,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Africa
year=1977
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Africa
year=1977
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Algeria", "Angola", @@ -14589,7 +14740,7 @@ "Zambia", "Zimbabwe" ], - "legendgroup": "continent=Africa", + "legendgroup": "Africa", "marker": { "color": "#00cc96", "size": [ @@ -14651,7 +14802,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Africa", + "name": "Africa", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -14766,10 +14918,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Americas
year=1977
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Americas
year=1977
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Argentina", "Bolivia", @@ -14824,7 +14973,7 @@ "Uruguay", "Venezuela" ], - "legendgroup": "continent=Americas", + "legendgroup": "Americas", "marker": { "color": "#ab63fa", "size": [ @@ -14859,7 +15008,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Americas", + "name": "Americas", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -14920,10 +15070,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Oceania
year=1977
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Oceania
year=1977
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Australia", "New Zealand" @@ -14932,9 +15079,9 @@ "Australia", "New Zealand" ], - "legendgroup": "continent=Oceania", + "legendgroup": "Oceania", "marker": { - "color": "#19d3f3", + "color": "#FFA15A", "size": [ 14074100, 3164900 @@ -14944,7 +15091,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Oceania", + "name": "Oceania", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -14964,10 +15112,7 @@ { "data": [ { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Asia
year=1982
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Asia
year=1982
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Afghanistan", "Bahrain", @@ -15038,7 +15183,7 @@ "West Bank and Gaza", "Yemen, Rep." ], - "legendgroup": "continent=Asia", + "legendgroup": "Asia", "marker": { "color": "#636efa", "size": [ @@ -15081,7 +15226,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Asia", + "name": "Asia", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -15158,10 +15304,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Europe
year=1982
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Europe
year=1982
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Albania", "Austria", @@ -15226,7 +15369,7 @@ "Turkey", "United Kingdom" ], - "legendgroup": "continent=Europe", + "legendgroup": "Europe", "marker": { "color": "#EF553B", "size": [ @@ -15266,7 +15409,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Europe", + "name": "Europe", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -15337,10 +15481,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Africa
year=1982
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Africa
year=1982
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Algeria", "Angola", @@ -15449,7 +15590,7 @@ "Zambia", "Zimbabwe" ], - "legendgroup": "continent=Africa", + "legendgroup": "Africa", "marker": { "color": "#00cc96", "size": [ @@ -15511,7 +15652,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Africa", + "name": "Africa", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -15626,10 +15768,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Americas
year=1982
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Americas
year=1982
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Argentina", "Bolivia", @@ -15684,7 +15823,7 @@ "Uruguay", "Venezuela" ], - "legendgroup": "continent=Americas", + "legendgroup": "Americas", "marker": { "color": "#ab63fa", "size": [ @@ -15719,7 +15858,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Americas", + "name": "Americas", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -15780,10 +15920,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Oceania
year=1982
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Oceania
year=1982
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Australia", "New Zealand" @@ -15792,9 +15929,9 @@ "Australia", "New Zealand" ], - "legendgroup": "continent=Oceania", + "legendgroup": "Oceania", "marker": { - "color": "#19d3f3", + "color": "#FFA15A", "size": [ 15184200, 3210650 @@ -15804,7 +15941,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Oceania", + "name": "Oceania", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -15824,10 +15962,7 @@ { "data": [ { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Asia
year=1987
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Asia
year=1987
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Afghanistan", "Bahrain", @@ -15898,7 +16033,7 @@ "West Bank and Gaza", "Yemen, Rep." ], - "legendgroup": "continent=Asia", + "legendgroup": "Asia", "marker": { "color": "#636efa", "size": [ @@ -15941,7 +16076,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Asia", + "name": "Asia", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -16018,10 +16154,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Europe
year=1987
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Europe
year=1987
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Albania", "Austria", @@ -16086,7 +16219,7 @@ "Turkey", "United Kingdom" ], - "legendgroup": "continent=Europe", + "legendgroup": "Europe", "marker": { "color": "#EF553B", "size": [ @@ -16126,7 +16259,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Europe", + "name": "Europe", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -16197,10 +16331,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Africa
year=1987
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Africa
year=1987
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Algeria", "Angola", @@ -16309,7 +16440,7 @@ "Zambia", "Zimbabwe" ], - "legendgroup": "continent=Africa", + "legendgroup": "Africa", "marker": { "color": "#00cc96", "size": [ @@ -16371,7 +16502,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Africa", + "name": "Africa", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -16486,10 +16618,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Americas
year=1987
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Americas
year=1987
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Argentina", "Bolivia", @@ -16544,7 +16673,7 @@ "Uruguay", "Venezuela" ], - "legendgroup": "continent=Americas", + "legendgroup": "Americas", "marker": { "color": "#ab63fa", "size": [ @@ -16579,7 +16708,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Americas", + "name": "Americas", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -16640,10 +16770,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Oceania
year=1987
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Oceania
year=1987
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Australia", "New Zealand" @@ -16652,9 +16779,9 @@ "Australia", "New Zealand" ], - "legendgroup": "continent=Oceania", + "legendgroup": "Oceania", "marker": { - "color": "#19d3f3", + "color": "#FFA15A", "size": [ 16257249, 3317166 @@ -16664,7 +16791,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Oceania", + "name": "Oceania", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -16684,10 +16812,7 @@ { "data": [ { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Asia
year=1992
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Asia
year=1992
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Afghanistan", "Bahrain", @@ -16758,7 +16883,7 @@ "West Bank and Gaza", "Yemen, Rep." ], - "legendgroup": "continent=Asia", + "legendgroup": "Asia", "marker": { "color": "#636efa", "size": [ @@ -16801,7 +16926,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Asia", + "name": "Asia", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -16878,10 +17004,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Europe
year=1992
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Europe
year=1992
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Albania", "Austria", @@ -16946,7 +17069,7 @@ "Turkey", "United Kingdom" ], - "legendgroup": "continent=Europe", + "legendgroup": "Europe", "marker": { "color": "#EF553B", "size": [ @@ -16986,7 +17109,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Europe", + "name": "Europe", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -17057,10 +17181,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Africa
year=1992
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Africa
year=1992
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Algeria", "Angola", @@ -17169,7 +17290,7 @@ "Zambia", "Zimbabwe" ], - "legendgroup": "continent=Africa", + "legendgroup": "Africa", "marker": { "color": "#00cc96", "size": [ @@ -17231,7 +17352,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Africa", + "name": "Africa", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -17346,10 +17468,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Americas
year=1992
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Americas
year=1992
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Argentina", "Bolivia", @@ -17404,7 +17523,7 @@ "Uruguay", "Venezuela" ], - "legendgroup": "continent=Americas", + "legendgroup": "Americas", "marker": { "color": "#ab63fa", "size": [ @@ -17439,7 +17558,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Americas", + "name": "Americas", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -17500,10 +17620,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Oceania
year=1992
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Oceania
year=1992
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Australia", "New Zealand" @@ -17512,9 +17629,9 @@ "Australia", "New Zealand" ], - "legendgroup": "continent=Oceania", + "legendgroup": "Oceania", "marker": { - "color": "#19d3f3", + "color": "#FFA15A", "size": [ 17481977, 3437674 @@ -17524,7 +17641,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Oceania", + "name": "Oceania", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -17544,10 +17662,7 @@ { "data": [ { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Asia
year=1997
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Asia
year=1997
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Afghanistan", "Bahrain", @@ -17618,7 +17733,7 @@ "West Bank and Gaza", "Yemen, Rep." ], - "legendgroup": "continent=Asia", + "legendgroup": "Asia", "marker": { "color": "#636efa", "size": [ @@ -17661,7 +17776,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Asia", + "name": "Asia", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -17738,10 +17854,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Europe
year=1997
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Europe
year=1997
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Albania", "Austria", @@ -17806,7 +17919,7 @@ "Turkey", "United Kingdom" ], - "legendgroup": "continent=Europe", + "legendgroup": "Europe", "marker": { "color": "#EF553B", "size": [ @@ -17846,7 +17959,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Europe", + "name": "Europe", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -17917,10 +18031,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Africa
year=1997
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Africa
year=1997
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Algeria", "Angola", @@ -18029,7 +18140,7 @@ "Zambia", "Zimbabwe" ], - "legendgroup": "continent=Africa", + "legendgroup": "Africa", "marker": { "color": "#00cc96", "size": [ @@ -18091,7 +18202,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Africa", + "name": "Africa", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -18206,10 +18318,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Americas
year=1997
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Americas
year=1997
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Argentina", "Bolivia", @@ -18264,7 +18373,7 @@ "Uruguay", "Venezuela" ], - "legendgroup": "continent=Americas", + "legendgroup": "Americas", "marker": { "color": "#ab63fa", "size": [ @@ -18299,7 +18408,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Americas", + "name": "Americas", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -18360,10 +18470,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Oceania
year=1997
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Oceania
year=1997
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Australia", "New Zealand" @@ -18372,9 +18479,9 @@ "Australia", "New Zealand" ], - "legendgroup": "continent=Oceania", + "legendgroup": "Oceania", "marker": { - "color": "#19d3f3", + "color": "#FFA15A", "size": [ 18565243, 3676187 @@ -18384,7 +18491,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Oceania", + "name": "Oceania", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -18404,10 +18512,7 @@ { "data": [ { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Asia
year=2002
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Asia
year=2002
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Afghanistan", "Bahrain", @@ -18478,7 +18583,7 @@ "West Bank and Gaza", "Yemen, Rep." ], - "legendgroup": "continent=Asia", + "legendgroup": "Asia", "marker": { "color": "#636efa", "size": [ @@ -18521,7 +18626,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Asia", + "name": "Asia", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -18598,10 +18704,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Europe
year=2002
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Europe
year=2002
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Albania", "Austria", @@ -18666,7 +18769,7 @@ "Turkey", "United Kingdom" ], - "legendgroup": "continent=Europe", + "legendgroup": "Europe", "marker": { "color": "#EF553B", "size": [ @@ -18706,7 +18809,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Europe", + "name": "Europe", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -18777,10 +18881,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Africa
year=2002
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Africa
year=2002
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Algeria", "Angola", @@ -18889,7 +18990,7 @@ "Zambia", "Zimbabwe" ], - "legendgroup": "continent=Africa", + "legendgroup": "Africa", "marker": { "color": "#00cc96", "size": [ @@ -18951,7 +19052,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Africa", + "name": "Africa", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -19066,10 +19168,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Americas
year=2002
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Americas
year=2002
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Argentina", "Bolivia", @@ -19124,7 +19223,7 @@ "Uruguay", "Venezuela" ], - "legendgroup": "continent=Americas", + "legendgroup": "Americas", "marker": { "color": "#ab63fa", "size": [ @@ -19159,7 +19258,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Americas", + "name": "Americas", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -19220,10 +19320,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Oceania
year=2002
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Oceania
year=2002
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Australia", "New Zealand" @@ -19232,9 +19329,9 @@ "Australia", "New Zealand" ], - "legendgroup": "continent=Oceania", + "legendgroup": "Oceania", "marker": { - "color": "#19d3f3", + "color": "#FFA15A", "size": [ 19546792, 3908037 @@ -19244,7 +19341,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Oceania", + "name": "Oceania", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -19264,10 +19362,7 @@ { "data": [ { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Asia
year=2007
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Asia
year=2007
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Afghanistan", "Bahrain", @@ -19338,7 +19433,7 @@ "West Bank and Gaza", "Yemen, Rep." ], - "legendgroup": "continent=Asia", + "legendgroup": "Asia", "marker": { "color": "#636efa", "size": [ @@ -19381,7 +19476,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Asia", + "name": "Asia", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -19458,10 +19554,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Europe
year=2007
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Europe
year=2007
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Albania", "Austria", @@ -19526,7 +19619,7 @@ "Turkey", "United Kingdom" ], - "legendgroup": "continent=Europe", + "legendgroup": "Europe", "marker": { "color": "#EF553B", "size": [ @@ -19566,7 +19659,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Europe", + "name": "Europe", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -19637,10 +19731,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Africa
year=2007
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Africa
year=2007
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Algeria", "Angola", @@ -19749,7 +19840,7 @@ "Zambia", "Zimbabwe" ], - "legendgroup": "continent=Africa", + "legendgroup": "Africa", "marker": { "color": "#00cc96", "size": [ @@ -19811,7 +19902,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Africa", + "name": "Africa", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -19926,10 +20018,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Americas
year=2007
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Americas
year=2007
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Argentina", "Bolivia", @@ -19984,7 +20073,7 @@ "Uruguay", "Venezuela" ], - "legendgroup": "continent=Americas", + "legendgroup": "Americas", "marker": { "color": "#ab63fa", "size": [ @@ -20019,7 +20108,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Americas", + "name": "Americas", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -20080,10 +20170,7 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

continent=Oceania
year=2007
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", + "hovertemplate": "%{hovertext}

continent=Oceania
year=2007
GDP per Capita=%{x}
Life Expectancy=%{y}
Population=%{marker.size}", "hovertext": [ "Australia", "New Zealand" @@ -20092,9 +20179,9 @@ "Australia", "New Zealand" ], - "legendgroup": "continent=Oceania", + "legendgroup": "Oceania", "marker": { - "color": "#19d3f3", + "color": "#FFA15A", "size": [ 20434176, 4115771 @@ -20104,7 +20191,8 @@ "symbol": "circle" }, "mode": "markers", - "name": "continent=Oceania", + "name": "Oceania", + "orientation": "v", "showlegend": true, "type": "scatter", "x": [ @@ -20123,21 +20211,11 @@ } ], "layout": { - "grid": { - "xaxes": [ - "x" - ], - "xgap": 0.1, - "xside": "bottom", - "yaxes": [ - "y" - ], - "ygap": 0.1, - "yside": "left" - }, - "height": 600, "legend": { "itemsizing": "constant", + "title": { + "text": "continent" + }, "tracegroupgap": 0 }, "margin": { @@ -20418,6 +20496,12 @@ "data": { "bar": [ { + "error_x": { + "color": "#2a3f5f" + }, + "error_y": { + "color": "#2a3f5f" + }, "marker": { "line": { "color": "#E5ECF6", @@ -20475,55 +20559,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "contour" @@ -20547,55 +20619,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" + "#0d0887" ], [ - 0.1787709497206704, - "#3c19f0" + 0.1111111111111111, + "#46039f" ], [ - 0.2681564245810056, - "#6b1cfb" + 0.2222222222222222, + "#7201a8" ], [ - 0.3575418994413408, - "#981cfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.4444444444444444, + "#bd3786" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.5555555555555556, + "#d8576b" ], [ - 0.6256983240223464, - "#f246fe" + 0.6666666666666666, + "#ed7953" ], [ - 0.7150837988826816, - "#fc67fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.8044692737430168, - "#fe88fc" - ], - [ - 0.8938547486033519, - "#fea5fd" - ], - [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "heatmap" @@ -20607,6 +20667,48 @@ "outlinewidth": 0, "ticks": "" }, + "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" + ] + ], "type": "heatmapgl" } ], @@ -20630,55 +20732,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" + "#0d0887" ], [ - 0.2681564245810056, - "#6b1cfb" + 0.1111111111111111, + "#46039f" ], [ - 0.3575418994413408, - "#981cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.4444444444444444, + "#bd3786" ], [ - 0.6256983240223464, - "#f246fe" + 0.5555555555555556, + "#d8576b" ], [ - 0.7150837988826816, - "#fc67fd" + 0.6666666666666666, + "#ed7953" ], [ - 0.8044692737430168, - "#fe88fc" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.8938547486033519, - "#fea5fd" - ], - [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "histogram2d" @@ -20693,55 +20783,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" + "#0d0887" ], [ - 0.1787709497206704, - "#3c19f0" + 0.1111111111111111, + "#46039f" ], [ - 0.2681564245810056, - "#6b1cfb" + 0.2222222222222222, + "#7201a8" ], [ - 0.3575418994413408, - "#981cfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.4444444444444444, + "#bd3786" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.5555555555555556, + "#d8576b" ], [ - 0.6256983240223464, - "#f246fe" + 0.6666666666666666, + "#ed7953" ], [ - 0.7150837988826816, - "#fc67fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.8044692737430168, - "#fe88fc" - ], - [ - 0.8938547486033519, - "#fea5fd" - ], - [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "histogram2dcontour" @@ -20767,6 +20845,12 @@ "type": "parcoords" } ], + "pie": [ + { + "automargin": true, + "type": "pie" + } + ], "scatter": [ { "marker": { @@ -20780,6 +20864,12 @@ ], "scatter3d": [ { + "line": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, "marker": { "colorbar": { "outlinewidth": 0, @@ -20872,6 +20962,48 @@ "outlinewidth": 0, "ticks": "" }, + "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" + ] + ], "type": "surface" } ], @@ -20899,10 +21031,17 @@ }, "layout": { "annotationdefaults": { - "arrowcolor": "#506784", + "arrowcolor": "#2a3f5f", "arrowhead": 0, "arrowwidth": 1 }, + "autotypenumbers": "strict", + "coloraxis": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, "colorscale": { "diverging": [ [ @@ -20953,109 +21092,85 @@ "sequential": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "sequentialminus": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ] }, @@ -21064,12 +21179,12 @@ "#EF553B", "#00cc96", "#ab63fa", - "#19d3f3", - "#e763fa", - "#FECB52", "#FFA15A", + "#19d3f3", "#FF6692", - "#B6E880" + "#B6E880", + "#FF97FF", + "#FECB52" ], "font": { "color": "#2a3f5f" @@ -21134,11 +21249,9 @@ } }, "shapedefaults": { - "fillcolor": "#506784", "line": { - "width": 0 - }, - "opacity": 0.4 + "color": "#2a3f5f" + } }, "ternary": { "aaxis": { @@ -21166,6 +21279,9 @@ "gridcolor": "white", "linecolor": "white", "ticks": "", + "title": { + "standoff": 15 + }, "zerolinecolor": "white", "zerolinewidth": 2 }, @@ -21174,6 +21290,9 @@ "gridcolor": "white", "linecolor": "white", "ticks": "", + "title": { + "standoff": 15 + }, "zerolinecolor": "white", "zerolinewidth": 2 } @@ -21237,6 +21356,11 @@ } ], "xaxis": { + "anchor": "y", + "domain": [ + 0, + 1 + ], "range": [ 1, 5 @@ -21247,6 +21371,11 @@ "type": "log" }, "yaxis": { + "anchor": "x", + "domain": [ + 0, + 1 + ], "range": [ 25, 90 @@ -21258,26 +21387,11 @@ } }, "text/html": [ - "
\n", - " \n", - " \n", - "
\n", - " \n", - "
" + " }) }; }); " ] }, "metadata": {}, @@ -21328,70 +21438,20 @@ }, { "cell_type": "code", - "execution_count": 36, + "execution_count": 9, "metadata": {}, "outputs": [ { "data": { "application/vnd.plotly.v1+json": { "config": { - "linkText": "Export to plot.ly", - "plotlyServerURL": "https://plot.ly", - "showLink": false + "plotlyServerURL": "https://plot.ly" }, "data": [ { - "colorbar": { - "title": { - "text": "lifeExp" - } - }, - "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" - ] - ], - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

year=1952
iso_alpha=%{location}
lifeExp=%{z}", + "coloraxis": "coloraxis", + "geo": "geo", + "hovertemplate": "%{hovertext}

year=1952
iso_alpha=%{location}
lifeExp=%{z}", "hovertext": [ "Afghanistan", "Albania", @@ -21681,9 +21741,7 @@ "ZWE" ], "name": "", - "showscale": true, "type": "choropleth", - "uid": "e72b955f-e1f8-4c0e-83ae-a9526ca291fd", "z": [ 28.801, 55.23, @@ -21827,66 +21885,16 @@ 32.548, 42.038000000000004, 48.451 - ], - "zmax": 82.603, - "zmin": 23.599 + ] } ], "frames": [ { "data": [ { - "colorbar": { - "title": { - "text": "lifeExp" - } - }, - "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" - ] - ], - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

year=1952
iso_alpha=%{location}
lifeExp=%{z}", + "coloraxis": "coloraxis", + "geo": "geo", + "hovertemplate": "%{hovertext}

year=1952
iso_alpha=%{location}
lifeExp=%{z}", "hovertext": [ "Afghanistan", "Albania", @@ -22176,7 +22184,6 @@ "ZWE" ], "name": "", - "showscale": true, "type": "choropleth", "z": [ 28.801, @@ -22321,9 +22328,7 @@ 32.548, 42.038000000000004, 48.451 - ], - "zmax": 82.603, - "zmin": 23.599 + ] } ], "name": "1952" @@ -22331,57 +22336,9 @@ { "data": [ { - "colorbar": { - "title": { - "text": "lifeExp" - } - }, - "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" - ] - ], - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

year=1957
iso_alpha=%{location}
lifeExp=%{z}", + "coloraxis": "coloraxis", + "geo": "geo", + "hovertemplate": "%{hovertext}

year=1957
iso_alpha=%{location}
lifeExp=%{z}", "hovertext": [ "Afghanistan", "Albania", @@ -22671,7 +22628,6 @@ "ZWE" ], "name": "", - "showscale": true, "type": "choropleth", "z": [ 30.331999999999997, @@ -22816,9 +22772,7 @@ 33.97, 44.077, 50.468999999999994 - ], - "zmax": 82.603, - "zmin": 23.599 + ] } ], "name": "1957" @@ -22826,57 +22780,9 @@ { "data": [ { - "colorbar": { - "title": { - "text": "lifeExp" - } - }, - "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" - ] - ], - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

year=1962
iso_alpha=%{location}
lifeExp=%{z}", + "coloraxis": "coloraxis", + "geo": "geo", + "hovertemplate": "%{hovertext}

year=1962
iso_alpha=%{location}
lifeExp=%{z}", "hovertext": [ "Afghanistan", "Albania", @@ -23166,7 +23072,6 @@ "ZWE" ], "name": "", - "showscale": true, "type": "choropleth", "z": [ 31.997, @@ -23311,9 +23216,7 @@ 35.18, 46.023, 52.358000000000004 - ], - "zmax": 82.603, - "zmin": 23.599 + ] } ], "name": "1962" @@ -23321,57 +23224,9 @@ { "data": [ { - "colorbar": { - "title": { - "text": "lifeExp" - } - }, - "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" - ] - ], - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

year=1967
iso_alpha=%{location}
lifeExp=%{z}", + "coloraxis": "coloraxis", + "geo": "geo", + "hovertemplate": "%{hovertext}

year=1967
iso_alpha=%{location}
lifeExp=%{z}", "hovertext": [ "Afghanistan", "Albania", @@ -23661,7 +23516,6 @@ "ZWE" ], "name": "", - "showscale": true, "type": "choropleth", "z": [ 34.02, @@ -23806,9 +23660,7 @@ 36.984, 47.768, 53.995 - ], - "zmax": 82.603, - "zmin": 23.599 + ] } ], "name": "1967" @@ -23816,57 +23668,9 @@ { "data": [ { - "colorbar": { - "title": { - "text": "lifeExp" - } - }, - "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" - ] - ], - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

year=1972
iso_alpha=%{location}
lifeExp=%{z}", + "coloraxis": "coloraxis", + "geo": "geo", + "hovertemplate": "%{hovertext}

year=1972
iso_alpha=%{location}
lifeExp=%{z}", "hovertext": [ "Afghanistan", "Albania", @@ -24156,7 +23960,6 @@ "ZWE" ], "name": "", - "showscale": true, "type": "choropleth", "z": [ 36.088, @@ -24301,9 +24104,7 @@ 39.848, 50.107, 55.635 - ], - "zmax": 82.603, - "zmin": 23.599 + ] } ], "name": "1972" @@ -24311,57 +24112,9 @@ { "data": [ { - "colorbar": { - "title": { - "text": "lifeExp" - } - }, - "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" - ] - ], - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

year=1977
iso_alpha=%{location}
lifeExp=%{z}", + "coloraxis": "coloraxis", + "geo": "geo", + "hovertemplate": "%{hovertext}

year=1977
iso_alpha=%{location}
lifeExp=%{z}", "hovertext": [ "Afghanistan", "Albania", @@ -24651,7 +24404,6 @@ "ZWE" ], "name": "", - "showscale": true, "type": "choropleth", "z": [ 38.438, @@ -24796,9 +24548,7 @@ 44.175, 51.386, 57.674 - ], - "zmax": 82.603, - "zmin": 23.599 + ] } ], "name": "1977" @@ -24806,57 +24556,9 @@ { "data": [ { - "colorbar": { - "title": { - "text": "lifeExp" - } - }, - "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" - ] - ], - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

year=1982
iso_alpha=%{location}
lifeExp=%{z}", + "coloraxis": "coloraxis", + "geo": "geo", + "hovertemplate": "%{hovertext}

year=1982
iso_alpha=%{location}
lifeExp=%{z}", "hovertext": [ "Afghanistan", "Albania", @@ -25146,7 +24848,6 @@ "ZWE" ], "name": "", - "showscale": true, "type": "choropleth", "z": [ 39.854, @@ -25291,9 +24992,7 @@ 49.113, 51.821000000000005, 60.363 - ], - "zmax": 82.603, - "zmin": 23.599 + ] } ], "name": "1982" @@ -25301,57 +25000,9 @@ { "data": [ { - "colorbar": { - "title": { - "text": "lifeExp" - } - }, - "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" - ] - ], - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

year=1987
iso_alpha=%{location}
lifeExp=%{z}", + "coloraxis": "coloraxis", + "geo": "geo", + "hovertemplate": "%{hovertext}

year=1987
iso_alpha=%{location}
lifeExp=%{z}", "hovertext": [ "Afghanistan", "Albania", @@ -25641,7 +25292,6 @@ "ZWE" ], "name": "", - "showscale": true, "type": "choropleth", "z": [ 40.821999999999996, @@ -25786,9 +25436,7 @@ 52.922, 50.821000000000005, 62.351000000000006 - ], - "zmax": 82.603, - "zmin": 23.599 + ] } ], "name": "1987" @@ -25796,57 +25444,9 @@ { "data": [ { - "colorbar": { - "title": { - "text": "lifeExp" - } - }, - "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" - ] - ], - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

year=1992
iso_alpha=%{location}
lifeExp=%{z}", + "coloraxis": "coloraxis", + "geo": "geo", + "hovertemplate": "%{hovertext}

year=1992
iso_alpha=%{location}
lifeExp=%{z}", "hovertext": [ "Afghanistan", "Albania", @@ -26136,7 +25736,6 @@ "ZWE" ], "name": "", - "showscale": true, "type": "choropleth", "z": [ 41.674, @@ -26281,9 +25880,7 @@ 55.599, 46.1, 60.376999999999995 - ], - "zmax": 82.603, - "zmin": 23.599 + ] } ], "name": "1992" @@ -26291,57 +25888,9 @@ { "data": [ { - "colorbar": { - "title": { - "text": "lifeExp" - } - }, - "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" - ] - ], - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

year=1997
iso_alpha=%{location}
lifeExp=%{z}", + "coloraxis": "coloraxis", + "geo": "geo", + "hovertemplate": "%{hovertext}

year=1997
iso_alpha=%{location}
lifeExp=%{z}", "hovertext": [ "Afghanistan", "Albania", @@ -26631,7 +26180,6 @@ "ZWE" ], "name": "", - "showscale": true, "type": "choropleth", "z": [ 41.763000000000005, @@ -26776,9 +26324,7 @@ 58.02, 40.238, 46.809 - ], - "zmax": 82.603, - "zmin": 23.599 + ] } ], "name": "1997" @@ -26786,57 +26332,9 @@ { "data": [ { - "colorbar": { - "title": { - "text": "lifeExp" - } - }, - "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" - ] - ], - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

year=2002
iso_alpha=%{location}
lifeExp=%{z}", + "coloraxis": "coloraxis", + "geo": "geo", + "hovertemplate": "%{hovertext}

year=2002
iso_alpha=%{location}
lifeExp=%{z}", "hovertext": [ "Afghanistan", "Albania", @@ -27126,7 +26624,6 @@ "ZWE" ], "name": "", - "showscale": true, "type": "choropleth", "z": [ 42.129, @@ -27271,9 +26768,7 @@ 60.308, 39.193000000000005, 39.989000000000004 - ], - "zmax": 82.603, - "zmin": 23.599 + ] } ], "name": "2002" @@ -27281,57 +26776,9 @@ { "data": [ { - "colorbar": { - "title": { - "text": "lifeExp" - } - }, - "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" - ] - ], - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

year=2007
iso_alpha=%{location}
lifeExp=%{z}", + "coloraxis": "coloraxis", + "geo": "geo", + "hovertemplate": "%{hovertext}

year=2007
iso_alpha=%{location}
lifeExp=%{z}", "hovertext": [ "Afghanistan", "Albania", @@ -27621,7 +27068,6 @@ "ZWE" ], "name": "", - "showscale": true, "type": "choropleth", "z": [ 43.828, @@ -27766,21 +27212,78 @@ 62.698, 42.38399999999999, 43.486999999999995 - ], - "zmax": 82.603, - "zmin": 23.599 + ] } ], "name": "2007" } ], "layout": { + "coloraxis": { + "colorbar": { + "title": { + "text": "lifeExp" + } + }, + "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" + ] + ] + }, "geo": { + "center": {}, + "domain": { + "x": [ + 0, + 1 + ], + "y": [ + 0, + 1 + ] + }, "projection": { "type": "natural earth" } }, - "height": 600, "legend": { "tracegroupgap": 0 }, @@ -28062,6 +27565,12 @@ "data": { "bar": [ { + "error_x": { + "color": "#2a3f5f" + }, + "error_y": { + "color": "#2a3f5f" + }, "marker": { "line": { "color": "#E5ECF6", @@ -28119,55 +27628,43 @@ "colorscale": [ [ 0, - "#0508b8" + "#0d0887" ], [ - 0.0893854748603352, - "#1910d8" + 0.1111111111111111, + "#46039f" ], [ - 0.1787709497206704, - "#3c19f0" + 0.2222222222222222, + "#7201a8" ], [ - 0.2681564245810056, - "#6b1cfb" + 0.3333333333333333, + "#9c179e" ], [ - 0.3575418994413408, - "#981cfd" + 0.4444444444444444, + "#bd3786" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.5555555555555556, + "#d8576b" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.6666666666666666, + "#ed7953" ], [ - 0.6256983240223464, - "#f246fe" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.7150837988826816, - "#fc67fd" - ], - [ - 0.8044692737430168, - "#fe88fc" - ], - [ - 0.8938547486033519, - "#fea5fd" - ], - [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "contour" @@ -28191,81 +27688,49 @@ "colorscale": [ [ 0, - "#0508b8" + "#0d0887" ], [ - 0.0893854748603352, - "#1910d8" + 0.1111111111111111, + "#46039f" ], [ - 0.1787709497206704, - "#3c19f0" + 0.2222222222222222, + "#7201a8" ], [ - 0.2681564245810056, - "#6b1cfb" + 0.3333333333333333, + "#9c179e" ], [ - 0.3575418994413408, - "#981cfd" + 0.4444444444444444, + "#bd3786" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.5555555555555556, + "#d8576b" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.6666666666666666, + "#ed7953" ], [ - 0.6256983240223464, - "#f246fe" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.7150837988826816, - "#fc67fd" - ], - [ - 0.8044692737430168, - "#fe88fc" - ], - [ - 0.8938547486033519, - "#fea5fd" - ], - [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "heatmap" } ], "heatmapgl": [ - { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - }, - "type": "heatmapgl" - } - ], - "histogram": [ - { - "marker": { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - } - }, - "type": "histogram" - } - ], - "histogram2d": [ { "colorbar": { "outlinewidth": 0, @@ -28274,55 +27739,105 @@ "colorscale": [ [ 0, - "#0508b8" + "#0d0887" ], [ - 0.0893854748603352, - "#1910d8" + 0.1111111111111111, + "#46039f" ], [ - 0.1787709497206704, - "#3c19f0" + 0.2222222222222222, + "#7201a8" ], [ - 0.2681564245810056, - "#6b1cfb" + 0.3333333333333333, + "#9c179e" ], [ - 0.3575418994413408, - "#981cfd" + 0.4444444444444444, + "#bd3786" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.5555555555555556, + "#d8576b" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.6666666666666666, + "#ed7953" ], [ - 0.6256983240223464, - "#f246fe" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.7150837988826816, - "#fc67fd" + 0.8888888888888888, + "#fdca26" ], [ - 0.8044692737430168, - "#fe88fc" + 1, + "#f0f921" + ] + ], + "type": "heatmapgl" + } + ], + "histogram": [ + { + "marker": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, + "type": "histogram" + } + ], + "histogram2d": [ + { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + }, + "colorscale": [ + [ + 0, + "#0d0887" + ], + [ + 0.1111111111111111, + "#46039f" + ], + [ + 0.2222222222222222, + "#7201a8" + ], + [ + 0.3333333333333333, + "#9c179e" ], [ - 0.8938547486033519, - "#fea5fd" + 0.4444444444444444, + "#bd3786" ], [ - 0.9832402234636871, - "#febefe" + 0.5555555555555556, + "#d8576b" + ], + [ + 0.6666666666666666, + "#ed7953" + ], + [ + 0.7777777777777778, + "#fb9f3a" + ], + [ + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "histogram2d" @@ -28337,55 +27852,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "histogram2dcontour" @@ -28411,6 +27914,12 @@ "type": "parcoords" } ], + "pie": [ + { + "automargin": true, + "type": "pie" + } + ], "scatter": [ { "marker": { @@ -28424,6 +27933,12 @@ ], "scatter3d": [ { + "line": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, "marker": { "colorbar": { "outlinewidth": 0, @@ -28516,6 +28031,48 @@ "outlinewidth": 0, "ticks": "" }, + "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" + ] + ], "type": "surface" } ], @@ -28543,10 +28100,17 @@ }, "layout": { "annotationdefaults": { - "arrowcolor": "#506784", + "arrowcolor": "#2a3f5f", "arrowhead": 0, "arrowwidth": 1 }, + "autotypenumbers": "strict", + "coloraxis": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, "colorscale": { "diverging": [ [ @@ -28597,109 +28161,85 @@ "sequential": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "sequentialminus": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ] }, @@ -28708,12 +28248,12 @@ "#EF553B", "#00cc96", "#ab63fa", - "#19d3f3", - "#e763fa", - "#FECB52", "#FFA15A", + "#19d3f3", "#FF6692", - "#B6E880" + "#B6E880", + "#FF97FF", + "#FECB52" ], "font": { "color": "#2a3f5f" @@ -28778,11 +28318,9 @@ } }, "shapedefaults": { - "fillcolor": "#506784", "line": { - "width": 0 - }, - "opacity": 0.4 + "color": "#2a3f5f" + } }, "ternary": { "aaxis": { @@ -28810,6 +28348,9 @@ "gridcolor": "white", "linecolor": "white", "ticks": "", + "title": { + "standoff": 15 + }, "zerolinecolor": "white", "zerolinewidth": 2 }, @@ -28818,6 +28359,9 @@ "gridcolor": "white", "linecolor": "white", "ticks": "", + "title": { + "standoff": 15 + }, "zerolinecolor": "white", "zerolinewidth": 2 } @@ -28883,26 +28427,11 @@ } }, "text/html": [ - "
\n", - " \n", - " \n", - "
\n", - " \n", - "
" + " }) }; }); " ] }, "metadata": {}, @@ -28944,51 +28469,28 @@ }, { "cell_type": "code", - "execution_count": 37, + "execution_count": 10, "metadata": {}, "outputs": [ - { - "name": "stderr", - "output_type": "stream", - "text": [ - "/Users/lemon/anaconda3/lib/python3.7/site-packages/numpy/core/fromnumeric.py:2389: FutureWarning:\n", - "\n", - "Method .ptp is deprecated and will be removed in a future version. Use numpy.ptp instead.\n", - "\n", - "/Users/lemon/anaconda3/lib/python3.7/site-packages/numpy/core/fromnumeric.py:2389: FutureWarning:\n", - "\n", - "Method .ptp is deprecated and will be removed in a future version. Use numpy.ptp instead.\n", - "\n", - "/Users/lemon/anaconda3/lib/python3.7/site-packages/numpy/core/fromnumeric.py:2389: FutureWarning:\n", - "\n", - "Method .ptp is deprecated and will be removed in a future version. Use numpy.ptp instead.\n", - "\n" - ] - }, { "data": { "application/vnd.plotly.v1+json": { "config": { - "linkText": "Export to plot.ly", - "plotlyServerURL": "https://plot.ly", - "showLink": false + "plotlyServerURL": "https://plot.ly" }, "data": [ { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "species=setosa
sepal_width=%{x}
sepal_length=%{y}", - "legendgroup": "species=setosa", + "hovertemplate": "species=setosa
sepal_width=%{x}
sepal_length=%{y}", + "legendgroup": "setosa", "marker": { "color": "#636efa", "symbol": "circle" }, "mode": "markers", - "name": "species=setosa", + "name": "setosa", + "orientation": "v", "showlegend": true, "type": "scatter", - "uid": "2a9e9df1-d951-431c-a245-f1e773ad0510", "x": [ 3.5, 3, @@ -29098,21 +28600,17 @@ }, { "alignmentgroup": "True", - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "species=setosa
sepal_width=%{x}", - "legendgroup": "species=setosa", + "hovertemplate": "species=setosa
sepal_width=%{x}", + "legendgroup": "setosa", "marker": { "color": "#636efa", "symbol": "circle" }, - "name": "species=setosa", + "name": "setosa", "notched": true, - "offsetgroup": "species=setosa", + "offsetgroup": "setosa", "showlegend": false, "type": "box", - "uid": "6b78774a-a0b4-4594-861e-dcf95735af2a", "x": [ 3.5, 3, @@ -29165,25 +28663,22 @@ 3.7, 3.3 ], - "xaxis": "x", - "yaxis": "y2" + "xaxis": "x3", + "yaxis": "y3" }, { "alignmentgroup": "True", - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "species=setosa
sepal_length=%{y}", - "legendgroup": "species=setosa", + "bingroup": "y", + "hovertemplate": "species=setosa
sepal_length=%{y}
count=%{x}", + "legendgroup": "setosa", "marker": { "color": "#636efa" }, - "name": "species=setosa", - "offsetgroup": "species=setosa", + "name": "setosa", + "offsetgroup": "setosa", "opacity": 0.5, "showlegend": false, "type": "histogram", - "uid": "3d2f1199-42a5-4843-b2da-d23adea88a11", "xaxis": "x2", "y": [ 5.1, @@ -29237,23 +28732,19 @@ 5.3, 5 ], - "yaxis": "y" + "yaxis": "y2" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "OLS trendline
sepal_length = 0.690854 * sepal_width + 2.644660
R2=0.557681

species=setosa
sepal_width=%{x}
sepal_length=%{y} (trend)", - "legendgroup": "species=setosa", + "hovertemplate": "OLS trendline
sepal_length = 0.690854 * sepal_width + 2.64466
R2=0.557681

species=setosa
sepal_width=%{x}
sepal_length=%{y} (trend)", + "legendgroup": "setosa", "marker": { "color": "#636efa", "symbol": "circle" }, "mode": "lines", - "name": "species=setosa", + "name": "setosa", "showlegend": false, "type": "scatter", - "uid": "5a0ac692-de5e-4442-8b72-a6ee7d6c97f5", "x": [ 2.3, 2.9, @@ -29308,74 +28799,71 @@ ], "xaxis": "x", "y": [ - 4.233624785627934, - 4.648137423036915, - 4.7172228626050785, - 4.7172228626050785, - 4.7172228626050785, - 4.7172228626050785, - 4.7172228626050785, - 4.7172228626050785, - 4.786308302173242, - 4.786308302173242, - 4.786308302173242, - 4.786308302173242, - 4.786308302173242, - 4.8553937417414055, - 4.8553937417414055, - 4.8553937417414055, - 4.8553937417414055, - 4.8553937417414055, - 4.924479181309569, - 4.924479181309569, - 4.9935646208777325, - 4.9935646208777325, - 4.9935646208777325, - 4.9935646208777325, - 4.9935646208777325, - 4.9935646208777325, - 4.9935646208777325, - 4.9935646208777325, - 4.9935646208777325, - 5.062650060445896, - 5.062650060445896, - 5.062650060445896, - 5.062650060445896, - 5.062650060445896, - 5.062650060445896, - 5.131735500014059, - 5.131735500014059, - 5.200820939582224, - 5.200820939582224, - 5.200820939582224, - 5.269906379150386, - 5.269906379150386, - 5.269906379150386, - 5.269906379150386, - 5.33899181871855, - 5.33899181871855, - 5.408077258286713, - 5.477162697854877, - 5.546248137423041, - 5.684419016559368 + 4.23362478562793, + 4.648137423036909, + 4.717222862605072, + 4.717222862605072, + 4.717222862605072, + 4.717222862605072, + 4.717222862605072, + 4.717222862605072, + 4.786308302173236, + 4.786308302173236, + 4.786308302173236, + 4.786308302173236, + 4.786308302173236, + 4.855393741741399, + 4.855393741741399, + 4.855393741741399, + 4.855393741741399, + 4.855393741741399, + 4.924479181309563, + 4.924479181309563, + 4.993564620877725, + 4.993564620877725, + 4.993564620877725, + 4.993564620877725, + 4.993564620877725, + 4.993564620877725, + 4.993564620877725, + 4.993564620877725, + 4.993564620877725, + 5.062650060445889, + 5.062650060445889, + 5.062650060445889, + 5.062650060445889, + 5.062650060445889, + 5.062650060445889, + 5.131735500014052, + 5.131735500014052, + 5.200820939582216, + 5.200820939582216, + 5.200820939582216, + 5.269906379150379, + 5.269906379150379, + 5.269906379150379, + 5.269906379150379, + 5.338991818718542, + 5.338991818718542, + 5.408077258286705, + 5.477162697854869, + 5.5462481374230315, + 5.684419016559358 ], "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "species=versicolor
sepal_width=%{x}
sepal_length=%{y}", - "legendgroup": "species=versicolor", + "hovertemplate": "species=versicolor
sepal_width=%{x}
sepal_length=%{y}", + "legendgroup": "versicolor", "marker": { "color": "#EF553B", "symbol": "circle" }, "mode": "markers", - "name": "species=versicolor", + "name": "versicolor", + "orientation": "v", "showlegend": true, "type": "scatter", - "uid": "d651e147-9a64-4dbd-9e79-4c2a22b95a5b", "x": [ 3.2, 3.2, @@ -29485,21 +28973,17 @@ }, { "alignmentgroup": "True", - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "species=versicolor
sepal_width=%{x}", - "legendgroup": "species=versicolor", + "hovertemplate": "species=versicolor
sepal_width=%{x}", + "legendgroup": "versicolor", "marker": { "color": "#EF553B", "symbol": "circle" }, - "name": "species=versicolor", + "name": "versicolor", "notched": true, - "offsetgroup": "species=versicolor", + "offsetgroup": "versicolor", "showlegend": false, "type": "box", - "uid": "a964c64c-23e8-450e-a02d-f84782f28efd", "x": [ 3.2, 3.2, @@ -29552,25 +29036,22 @@ 2.5, 2.8 ], - "xaxis": "x", - "yaxis": "y2" + "xaxis": "x3", + "yaxis": "y3" }, { "alignmentgroup": "True", - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "species=versicolor
sepal_length=%{y}", - "legendgroup": "species=versicolor", + "bingroup": "y", + "hovertemplate": "species=versicolor
sepal_length=%{y}
count=%{x}", + "legendgroup": "versicolor", "marker": { "color": "#EF553B" }, - "name": "species=versicolor", - "offsetgroup": "species=versicolor", + "name": "versicolor", + "offsetgroup": "versicolor", "opacity": 0.5, "showlegend": false, "type": "histogram", - "uid": "07c2a26a-26bd-46b9-abb7-89cc41e26ac7", "xaxis": "x2", "y": [ 7, @@ -29624,23 +29105,19 @@ 5.1, 5.7 ], - "yaxis": "y" + "yaxis": "y2" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "OLS trendline
sepal_length = 0.865078 * sepal_width + 3.539735
R2=0.276582

species=versicolor
sepal_width=%{x}
sepal_length=%{y} (trend)", - "legendgroup": "species=versicolor", + "hovertemplate": "OLS trendline
sepal_length = 0.865078 * sepal_width + 3.53973
R2=0.276582

species=versicolor
sepal_width=%{x}
sepal_length=%{y} (trend)", + "legendgroup": "versicolor", "marker": { "color": "#EF553B", "symbol": "circle" }, "mode": "lines", - "name": "species=versicolor", + "name": "versicolor", "showlegend": false, "type": "scatter", - "uid": "9f70cf72-2106-420b-9e05-631f6e31a851", "x": [ 2, 2.2, @@ -29695,74 +29172,71 @@ ], "xaxis": "x", "y": [ - 5.269890155440412, - 5.442905699481863, - 5.442905699481863, - 5.529413471502588, - 5.529413471502588, - 5.529413471502588, - 5.615921243523314, - 5.615921243523314, - 5.615921243523314, - 5.702429015544039, - 5.702429015544039, - 5.702429015544039, - 5.702429015544039, - 5.788936787564765, - 5.788936787564765, - 5.788936787564765, + 5.269890155440414, + 5.442905699481864, + 5.442905699481864, + 5.52941347150259, + 5.52941347150259, + 5.52941347150259, + 5.6159212435233155, + 5.6159212435233155, + 5.6159212435233155, + 5.70242901554404, + 5.70242901554404, + 5.70242901554404, + 5.70242901554404, + 5.788936787564766, + 5.788936787564766, + 5.788936787564766, 5.875444559585491, 5.875444559585491, 5.875444559585491, 5.875444559585491, 5.875444559585491, - 5.9619523316062155, - 5.9619523316062155, - 5.9619523316062155, - 5.9619523316062155, - 5.9619523316062155, - 5.9619523316062155, - 6.048460103626941, - 6.048460103626941, - 6.048460103626941, - 6.048460103626941, - 6.048460103626941, - 6.048460103626941, - 6.048460103626941, - 6.134967875647667, - 6.134967875647667, - 6.134967875647667, - 6.134967875647667, - 6.134967875647667, - 6.134967875647667, - 6.134967875647667, - 6.134967875647667, + 5.961952331606216, + 5.961952331606216, + 5.961952331606216, + 5.961952331606216, + 5.961952331606216, + 5.961952331606216, + 6.048460103626942, + 6.048460103626942, + 6.048460103626942, + 6.048460103626942, + 6.048460103626942, + 6.048460103626942, + 6.048460103626942, + 6.134967875647668, + 6.134967875647668, + 6.134967875647668, + 6.134967875647668, + 6.134967875647668, + 6.134967875647668, + 6.134967875647668, + 6.134967875647668, 6.221475647668393, 6.221475647668393, 6.221475647668393, - 6.307983419689117, - 6.307983419689117, - 6.307983419689117, + 6.307983419689118, + 6.307983419689118, + 6.307983419689118, 6.394491191709843, 6.480998963730569 ], "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "species=virginica
sepal_width=%{x}
sepal_length=%{y}", - "legendgroup": "species=virginica", + "hovertemplate": "species=virginica
sepal_width=%{x}
sepal_length=%{y}", + "legendgroup": "virginica", "marker": { "color": "#00cc96", "symbol": "circle" }, "mode": "markers", - "name": "species=virginica", + "name": "virginica", + "orientation": "v", "showlegend": true, "type": "scatter", - "uid": "92e6bd2a-d2f1-4321-808e-48f012b3c830", "x": [ 3.3, 2.7, @@ -29872,21 +29346,17 @@ }, { "alignmentgroup": "True", - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "species=virginica
sepal_width=%{x}", - "legendgroup": "species=virginica", + "hovertemplate": "species=virginica
sepal_width=%{x}", + "legendgroup": "virginica", "marker": { "color": "#00cc96", "symbol": "circle" }, - "name": "species=virginica", + "name": "virginica", "notched": true, - "offsetgroup": "species=virginica", + "offsetgroup": "virginica", "showlegend": false, "type": "box", - "uid": "13b5f05a-f8a3-47d4-8d66-7df4d706788e", "x": [ 3.3, 2.7, @@ -29939,25 +29409,22 @@ 3.4, 3 ], - "xaxis": "x", - "yaxis": "y2" + "xaxis": "x3", + "yaxis": "y3" }, { "alignmentgroup": "True", - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "species=virginica
sepal_length=%{y}", - "legendgroup": "species=virginica", + "bingroup": "y", + "hovertemplate": "species=virginica
sepal_length=%{y}
count=%{x}", + "legendgroup": "virginica", "marker": { "color": "#00cc96" }, - "name": "species=virginica", - "offsetgroup": "species=virginica", + "name": "virginica", + "offsetgroup": "virginica", "opacity": 0.5, "showlegend": false, "type": "histogram", - "uid": "bf96dbcd-1378-40de-943c-a840b603b11d", "xaxis": "x2", "y": [ 6.3, @@ -30011,23 +29478,19 @@ 6.2, 5.9 ], - "yaxis": "y" + "yaxis": "y2" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "OLS trendline
sepal_length = 0.901534 * sepal_width + 3.906836
R2=0.209057

species=virginica
sepal_width=%{x}
sepal_length=%{y} (trend)", - "legendgroup": "species=virginica", + "hovertemplate": "OLS trendline
sepal_length = 0.901534 * sepal_width + 3.90684
R2=0.209057

species=virginica
sepal_width=%{x}
sepal_length=%{y} (trend)", + "legendgroup": "virginica", "marker": { "color": "#00cc96", "symbol": "circle" }, "mode": "lines", - "name": "species=virginica", + "name": "virginica", "showlegend": false, "type": "scatter", - "uid": "9dd3fe37-1894-4cbe-95b5-ad09852ddecf", "x": [ 2.2, 2.5, @@ -30082,64 +29545,66 @@ ], "xaxis": "x", "y": [ - 5.890212315058276, - 6.160672658058944, - 6.160672658058944, - 6.160672658058944, - 6.160672658058944, - 6.250826105725833, - 6.250826105725833, - 6.340979553392723, - 6.340979553392723, - 6.340979553392723, - 6.340979553392723, - 6.431133001059612, - 6.431133001059612, - 6.431133001059612, - 6.431133001059612, - 6.431133001059612, - 6.431133001059612, - 6.431133001059612, - 6.431133001059612, - 6.521286448726501, - 6.521286448726501, - 6.6114398963933905, - 6.6114398963933905, - 6.6114398963933905, - 6.6114398963933905, - 6.6114398963933905, - 6.6114398963933905, - 6.6114398963933905, - 6.6114398963933905, - 6.6114398963933905, - 6.6114398963933905, - 6.6114398963933905, - 6.6114398963933905, - 6.701593344060281, - 6.701593344060281, - 6.701593344060281, - 6.701593344060281, - 6.79174679172717, - 6.79174679172717, - 6.79174679172717, - 6.79174679172717, - 6.79174679172717, - 6.881900239394058, - 6.881900239394058, - 6.881900239394058, - 6.972053687060948, - 6.972053687060948, - 7.152360582394727, - 7.3326674777285055, - 7.3326674777285055 + 5.8902123150582755, + 6.160672658058943, + 6.160672658058943, + 6.160672658058943, + 6.160672658058943, + 6.2508261057258325, + 6.2508261057258325, + 6.340979553392722, + 6.340979553392722, + 6.340979553392722, + 6.340979553392722, + 6.431133001059611, + 6.431133001059611, + 6.431133001059611, + 6.431133001059611, + 6.431133001059611, + 6.431133001059611, + 6.431133001059611, + 6.431133001059611, + 6.5212864487265, + 6.5212864487265, + 6.61143989639339, + 6.61143989639339, + 6.61143989639339, + 6.61143989639339, + 6.61143989639339, + 6.61143989639339, + 6.61143989639339, + 6.61143989639339, + 6.61143989639339, + 6.61143989639339, + 6.61143989639339, + 6.61143989639339, + 6.70159334406028, + 6.70159334406028, + 6.70159334406028, + 6.70159334406028, + 6.791746791727169, + 6.791746791727169, + 6.791746791727169, + 6.791746791727169, + 6.791746791727169, + 6.881900239394057, + 6.881900239394057, + 6.881900239394057, + 6.972053687060947, + 6.972053687060947, + 7.152360582394726, + 7.332667477728504, + 7.332667477728504 ], "yaxis": "y" } ], "layout": { "barmode": "overlay", - "height": 600, "legend": { + "title": { + "text": "species" + }, "tracegroupgap": 0 }, "margin": { @@ -30149,6 +29614,12 @@ "data": { "bar": [ { + "error_x": { + "color": "#2a3f5f" + }, + "error_y": { + "color": "#2a3f5f" + }, "marker": { "line": { "color": "#E5ECF6", @@ -30206,55 +29677,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "contour" @@ -30278,55 +29737,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "heatmap" @@ -30338,6 +29785,48 @@ "outlinewidth": 0, "ticks": "" }, + "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" + ] + ], "type": "heatmapgl" } ], @@ -30361,55 +29850,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "histogram2d" @@ -30424,55 +29901,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "histogram2dcontour" @@ -30498,6 +29963,12 @@ "type": "parcoords" } ], + "pie": [ + { + "automargin": true, + "type": "pie" + } + ], "scatter": [ { "marker": { @@ -30511,6 +29982,12 @@ ], "scatter3d": [ { + "line": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, "marker": { "colorbar": { "outlinewidth": 0, @@ -30603,6 +30080,48 @@ "outlinewidth": 0, "ticks": "" }, + "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" + ] + ], "type": "surface" } ], @@ -30630,10 +30149,17 @@ }, "layout": { "annotationdefaults": { - "arrowcolor": "#506784", + "arrowcolor": "#2a3f5f", "arrowhead": 0, "arrowwidth": 1 }, + "autotypenumbers": "strict", + "coloraxis": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, "colorscale": { "diverging": [ [ @@ -30684,109 +30210,85 @@ "sequential": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "sequentialminus": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ] }, @@ -30795,12 +30297,12 @@ "#EF553B", "#00cc96", "#ab63fa", - "#19d3f3", - "#e763fa", - "#FECB52", "#FFA15A", + "#19d3f3", "#FF6692", - "#B6E880" + "#B6E880", + "#FF97FF", + "#FECB52" ], "font": { "color": "#2a3f5f" @@ -30865,11 +30367,9 @@ } }, "shapedefaults": { - "fillcolor": "#506784", "line": { - "width": 0 - }, - "opacity": 0.4 + "color": "#2a3f5f" + } }, "ternary": { "aaxis": { @@ -30897,6 +30397,9 @@ "gridcolor": "white", "linecolor": "white", "ticks": "", + "title": { + "standoff": 15 + }, "zerolinecolor": "white", "zerolinewidth": 2 }, @@ -30905,66 +30408,108 @@ "gridcolor": "white", "linecolor": "white", "ticks": "", + "title": { + "standoff": 15 + }, "zerolinecolor": "white", "zerolinewidth": 2 } } }, "xaxis": { + "anchor": "y", "domain": [ 0, - 0.74 + 0.7363 ], - "showgrid": true, "title": { "text": "sepal_width" } }, "xaxis2": { + "anchor": "y2", "domain": [ - 0.745, + 0.7413, 1 ], + "matches": "x2", + "showgrid": true, + "showline": false, + "showticklabels": false, + "ticks": "" + }, + "xaxis3": { + "anchor": "y3", + "domain": [ + 0, + 0.7363 + ], + "matches": "x", + "showgrid": true, "showticklabels": false }, + "xaxis4": { + "anchor": "y4", + "domain": [ + 0.7413, + 1 + ], + "matches": "x2", + "showgrid": true, + "showline": false, + "showticklabels": false, + "ticks": "" + }, "yaxis": { + "anchor": "x", "domain": [ 0, - 0.74 + 0.7326 ], - "showgrid": true, "title": { "text": "sepal_length" } }, "yaxis2": { + "anchor": "x2", "domain": [ - 0.745, - 1 + 0, + 0.7326 ], + "matches": "y", + "showgrid": true, "showticklabels": false + }, + "yaxis3": { + "anchor": "x3", + "domain": [ + 0.7426, + 1 + ], + "matches": "y3", + "showgrid": false, + "showline": false, + "showticklabels": false, + "ticks": "" + }, + "yaxis4": { + "anchor": "x4", + "domain": [ + 0.7426, + 1 + ], + "matches": "y3", + "showgrid": true, + "showline": false, + "showticklabels": false, + "ticks": "" } } }, "text/html": [ - "
\n", - " \n", - " \n", - "
\n", - " \n", - "
" + " }) }; }); " ] }, "metadata": {}, @@ -31007,75 +30548,28 @@ }, { "cell_type": "code", - "execution_count": 38, + "execution_count": 11, "metadata": {}, "outputs": [ - { - "name": "stderr", - "output_type": "stream", - "text": [ - "/Users/lemon/anaconda3/lib/python3.7/site-packages/numpy/core/fromnumeric.py:2389: FutureWarning:\n", - "\n", - "Method .ptp is deprecated and will be removed in a future version. Use numpy.ptp instead.\n", - "\n", - "/Users/lemon/anaconda3/lib/python3.7/site-packages/numpy/core/fromnumeric.py:2389: FutureWarning:\n", - "\n", - "Method .ptp is deprecated and will be removed in a future version. Use numpy.ptp instead.\n", - "\n", - "/Users/lemon/anaconda3/lib/python3.7/site-packages/numpy/core/fromnumeric.py:2389: FutureWarning:\n", - "\n", - "Method .ptp is deprecated and will be removed in a future version. Use numpy.ptp instead.\n", - "\n", - "/Users/lemon/anaconda3/lib/python3.7/site-packages/numpy/core/fromnumeric.py:2389: FutureWarning:\n", - "\n", - "Method .ptp is deprecated and will be removed in a future version. Use numpy.ptp instead.\n", - "\n", - "/Users/lemon/anaconda3/lib/python3.7/site-packages/numpy/core/fromnumeric.py:2389: FutureWarning:\n", - "\n", - "Method .ptp is deprecated and will be removed in a future version. Use numpy.ptp instead.\n", - "\n", - "/Users/lemon/anaconda3/lib/python3.7/site-packages/numpy/core/fromnumeric.py:2389: FutureWarning:\n", - "\n", - "Method .ptp is deprecated and will be removed in a future version. Use numpy.ptp instead.\n", - "\n", - "/Users/lemon/anaconda3/lib/python3.7/site-packages/numpy/core/fromnumeric.py:2389: FutureWarning:\n", - "\n", - "Method .ptp is deprecated and will be removed in a future version. Use numpy.ptp instead.\n", - "\n", - "/Users/lemon/anaconda3/lib/python3.7/site-packages/numpy/core/fromnumeric.py:2389: FutureWarning:\n", - "\n", - "Method .ptp is deprecated and will be removed in a future version. Use numpy.ptp instead.\n", - "\n", - "/Users/lemon/anaconda3/lib/python3.7/site-packages/numpy/core/fromnumeric.py:2389: FutureWarning:\n", - "\n", - "Method .ptp is deprecated and will be removed in a future version. Use numpy.ptp instead.\n", - "\n" - ] - }, { "data": { "application/vnd.plotly.v1+json": { "config": { - "linkText": "Export to plot.ly", - "plotlyServerURL": "https://plot.ly", - "showLink": false + "plotlyServerURL": "https://plot.ly" }, "data": [ { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "smoker=No
time=Lunch
day=Thur
total_bill=%{x}
tip=%{y}", - "legendgroup": "smoker=No", + "hovertemplate": "smoker=No
time=Lunch
day=Thur
total_bill=%{x}
tip=%{y}", + "legendgroup": "No", "marker": { "color": "#636efa", "symbol": "circle" }, "mode": "markers", - "name": "smoker=No", + "name": "No", + "orientation": "v", "showlegend": true, "type": "scatter", - "uid": "9f056f37-845d-4d75-8865-4a28ef7c3c5a", "x": [ 27.2, 22.76, @@ -31122,7 +30616,7 @@ 7.51, 7.56 ], - "xaxis": "x", + "xaxis": "x5", "y": [ 4, 3, @@ -31169,23 +30663,19 @@ 2, 1.44 ], - "yaxis": "y" + "yaxis": "y5" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "OLS trendline
tip = 0.139041 * total_bill + 0.292202
R2=0.700600

smoker=No
time=Lunch
day=Thur
total_bill=%{x}
tip=%{y} (trend)", - "legendgroup": "smoker=No", + "hovertemplate": "OLS trendline
tip = 0.139041 * total_bill + 0.292202
R2=0.700600

smoker=No
time=Lunch
day=Thur
total_bill=%{x}
tip=%{y} (trend)", + "legendgroup": "No", "marker": { "color": "#636efa", "symbol": "circle" }, "mode": "lines", - "name": "smoker=No", + "name": "No", "showlegend": false, "type": "scatter", - "uid": "6d45dbdb-8a73-4643-9f24-8bbb858a989d", "x": [ 7.51, 7.56, @@ -31232,23 +30722,23 @@ 34.83, 41.19 ], - "xaxis": "x", + "xaxis": "x5", "y": [ - 1.3364023693233607, - 1.343354432401006, - 1.453197029027803, + 1.3364023693233609, + 1.3433544324010063, + 1.4531970290278031, 1.4754436308762682, - 1.476834043491797, - 1.6520260330484604, + 1.4768340434917973, + 1.6520260330484606, 1.6923479988988037, - 1.7284987269025596, + 1.7284987269025598, 1.7729919305994901, 1.8452933866070018, 1.8744920515331125, - 1.9175948426145135, + 1.9175948426145137, 1.942622269694037, 1.9968483616996708, - 2.020485376163665, + 2.0204853761636654, 2.027437439241311, 2.1039101330954098, 2.121985497097288, @@ -31262,82 +30752,72 @@ 2.6086299125324635, 2.696225907310795, 2.7212533343903185, - 2.8310959310171158, - 2.833876756248174, + 2.8310959310171153, + 2.8338767562481735, 2.8839316104072203, - 2.9451097654904994, - 3.1105688667384594, - 3.234315589520547, - 3.456781608005199, - 3.4651240836983734, - 3.640316073255036, - 3.727912068033368, - 4.053268620067172, - 4.074124809300107, - 4.435632089337667, - 5.06131776632575, - 5.135009634948791, - 6.019312058425282 - ], - "yaxis": "y" + 2.945109765490499, + 3.110568866738459, + 3.2343155895205467, + 3.4567816080051985, + 3.465124083698373, + 3.6403160732550357, + 3.7279120680333677, + 4.053268620067171, + 4.074124809300106, + 4.435632089337666, + 5.0613177663257485, + 5.13500963494879, + 6.01931205842528 + ], + "yaxis": "y5" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "smoker=No
time=Lunch
day=Fri
total_bill=%{x}
tip=%{y}", - "legendgroup": "smoker=No", + "hovertemplate": "smoker=No
time=Lunch
day=Fri
total_bill=%{x}
tip=%{y}", + "legendgroup": "No", "marker": { "color": "#636efa", "symbol": "circle" }, "mode": "markers", - "name": "smoker=No", + "name": "No", + "orientation": "v", "showlegend": false, "type": "scatter", - "uid": "9dde1ed1-dc23-4467-8ed0-3af0e7d2ee53", "x": [ 15.98 ], - "xaxis": "x2", + "xaxis": "x6", "y": [ 3 ], - "yaxis": "y" + "yaxis": "y6" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "smoker=No
time=Lunch
day=Fri", - "legendgroup": "smoker=No", + "hovertemplate": "smoker=No
time=Lunch
day=Fri", + "legendgroup": "No", "marker": { "color": "#636efa", "symbol": "circle" }, "mode": "lines", - "name": "smoker=No", + "name": "No", "showlegend": false, "type": "scatter", - "uid": "d6bac3b2-d5c0-4e35-b4ae-f90735ee560a", - "xaxis": "x2", - "yaxis": "y" + "xaxis": "x6", + "yaxis": "y6" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "smoker=No
time=Dinner
day=Thur
total_bill=%{x}
tip=%{y}", - "legendgroup": "smoker=No", + "hovertemplate": "smoker=No
time=Dinner
day=Thur
total_bill=%{x}
tip=%{y}", + "legendgroup": "No", "marker": { "color": "#636efa", "symbol": "circle" }, "mode": "markers", - "name": "smoker=No", + "name": "No", + "orientation": "v", "showlegend": false, "type": "scatter", - "uid": "f1b3ecba-f8eb-4238-a0c4-2ddfe93e4eca", "x": [ 18.78 ], @@ -31345,41 +30825,34 @@ "y": [ 3 ], - "yaxis": "y2" + "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "smoker=No
time=Dinner
day=Thur", - "legendgroup": "smoker=No", + "hovertemplate": "smoker=No
time=Dinner
day=Thur", + "legendgroup": "No", "marker": { "color": "#636efa", "symbol": "circle" }, "mode": "lines", - "name": "smoker=No", + "name": "No", "showlegend": false, "type": "scatter", - "uid": "849ee4f7-79d0-470f-8792-7173386ec3a0", "xaxis": "x", - "yaxis": "y2" + "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "smoker=No
time=Dinner
day=Fri
total_bill=%{x}
tip=%{y}", - "legendgroup": "smoker=No", + "hovertemplate": "smoker=No
time=Dinner
day=Fri
total_bill=%{x}
tip=%{y}", + "legendgroup": "No", "marker": { "color": "#636efa", "symbol": "circle" }, "mode": "markers", - "name": "smoker=No", + "name": "No", + "orientation": "v", "showlegend": false, "type": "scatter", - "uid": "301e661e-7505-4e48-bf03-3c1cb6cdec51", "x": [ 22.49, 22.75, @@ -31394,20 +30867,16 @@ "yaxis": "y2" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "OLS trendline
tip = 0.183985 * total_bill + -0.788637
R2=0.981316

smoker=No
time=Dinner
day=Fri
total_bill=%{x}
tip=%{y} (trend)", - "legendgroup": "smoker=No", + "hovertemplate": "OLS trendline
tip = 0.183985 * total_bill + -0.788637
R2=0.981316

smoker=No
time=Dinner
day=Fri
total_bill=%{x}
tip=%{y} (trend)", + "legendgroup": "No", "marker": { "color": "#636efa", "symbol": "circle" }, "mode": "lines", - "name": "smoker=No", + "name": "No", "showlegend": false, "type": "scatter", - "uid": "b7de2013-d7fc-4bf2-801c-d13ada76e3d4", "x": [ 12.46, 22.49, @@ -31415,27 +30884,24 @@ ], "xaxis": "x2", "y": [ - 1.5038108936900343, - 3.349176553575217, - 3.397012552734753 + 1.5038108936900314, + 3.3491765535752136, + 3.39701255273475 ], "yaxis": "y2" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "smoker=No
time=Dinner
day=Sat
total_bill=%{x}
tip=%{y}", - "legendgroup": "smoker=No", + "hovertemplate": "smoker=No
time=Dinner
day=Sat
total_bill=%{x}
tip=%{y}", + "legendgroup": "No", "marker": { "color": "#636efa", "symbol": "circle" }, "mode": "markers", - "name": "smoker=No", + "name": "No", + "orientation": "v", "showlegend": false, "type": "scatter", - "uid": "d86cb59d-aa6a-4da0-b88a-e1531dd6ad9b", "x": [ 20.65, 17.92, @@ -31531,23 +30997,19 @@ 5.92, 1.75 ], - "yaxis": "y2" + "yaxis": "y3" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "OLS trendline
tip = 0.160930 * total_bill + -0.061278
R2=0.767496

smoker=No
time=Dinner
day=Sat
total_bill=%{x}
tip=%{y} (trend)", - "legendgroup": "smoker=No", + "hovertemplate": "OLS trendline
tip = 0.16093 * total_bill + -0.0612781
R2=0.767496

smoker=No
time=Dinner
day=Sat
total_bill=%{x}
tip=%{y} (trend)", + "legendgroup": "No", "marker": { "color": "#636efa", "symbol": "circle" }, "mode": "lines", - "name": "smoker=No", + "name": "No", "showlegend": false, "type": "scatter", - "uid": "981a552e-4178-44d2-89db-f9833519b58b", "x": [ 7.25, 9.55, @@ -31597,69 +31059,66 @@ ], "xaxis": "x3", "y": [ - 1.1054633239385228, - 1.4756019843011943, - 1.5592855075136243, - 1.6300946425395264, - 1.6719364041457414, - 1.8071174801042822, - 1.8730987195602367, - 1.9809217206224061, - 2.075870333498048, + 1.1054633239385223, + 1.4756019843011938, + 1.5592855075136238, + 1.630094642539526, + 1.671936404145741, + 1.8071174801042817, + 1.8730987195602364, + 1.9809217206224057, + 2.0758703334980475, 2.0903540202078914, - 2.1917398271767974, - 2.309218619378863, - 2.3623254706482895, + 2.191739827176797, + 2.3092186193788624, + 2.362325470648289, 2.4765856658037224, - 2.5200367259332537, - 2.5634877860627845, - 2.586017965389208, - 2.6632642945083744, + 2.5200367259332532, + 2.563487786062784, + 2.5860179653892077, + 2.663264294508374, 2.6857944738347976, 2.7694779970472276, - 2.8000546689902315, + 2.800054668990231, 2.8048825645601787, - 2.806491863083495, + 2.8064918630834947, 2.8225848483166547, - 2.8740824010627652, - 2.8917846848192412, + 2.874082401062765, + 2.891784684819241, 2.946500834611984, - 3.100993492850316, + 3.1009934928503156, 3.1283515677466873, 3.170193329352902, 3.194332807202642, - 3.2039885983425376, + 3.203988598342537, 3.229737374715593, 3.261923345181912, - 3.2683605392751764, + 3.268360539275176, 3.3053744053114436, - 3.4308996901300883, + 3.430899690130088, 3.810694141632655, 4.1888792946119064, 4.610515507720689, - 4.970998376943464, - 5.704838503575543, + 4.970998376943465, + 5.704838503575544, 6.282576673445974, 7.706805866580601, - 7.716461657720496 + 7.7164616577204965 ], - "yaxis": "y2" + "yaxis": "y3" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "smoker=No
time=Dinner
day=Sun
total_bill=%{x}
tip=%{y}", - "legendgroup": "smoker=No", + "hovertemplate": "smoker=No
time=Dinner
day=Sun
total_bill=%{x}
tip=%{y}", + "legendgroup": "No", "marker": { "color": "#636efa", "symbol": "circle" }, "mode": "markers", - "name": "smoker=No", + "name": "No", + "orientation": "v", "showlegend": false, "type": "scatter", - "uid": "ea5632c6-97c9-4a01-90c6-cf51a34197b0", "x": [ 16.99, 10.34, @@ -31779,23 +31238,19 @@ 4.5, 5 ], - "yaxis": "y2" + "yaxis": "y4" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "OLS trendline
tip = 0.111709 * total_bill + 0.877124
R2=0.549863

smoker=No
time=Dinner
day=Sun
total_bill=%{x}
tip=%{y} (trend)", - "legendgroup": "smoker=No", + "hovertemplate": "OLS trendline
tip = 0.111709 * total_bill + 0.877124
R2=0.549863

smoker=No
time=Dinner
day=Sun
total_bill=%{x}
tip=%{y} (trend)", + "legendgroup": "No", "marker": { "color": "#636efa", "symbol": "circle" }, "mode": "lines", - "name": "smoker=No", + "name": "No", "showlegend": false, "type": "scatter", - "uid": "fbab843e-1078-4e6a-bfef-c8339be6dda7", "x": [ 8.77, 9.68, @@ -31857,81 +31312,78 @@ ], "xaxis": "x4", "y": [ - 1.8568085380187975, - 1.958463332758577, - 1.9875075598270853, - 2.0243713864909614, - 2.0266055578039235, - 2.0310739004298477, - 2.032190986086329, - 2.2779498305121693, - 2.2913548583899424, + 1.856808538018798, + 1.9584633327585774, + 1.9875075598270857, + 2.024371386490962, + 2.026605557803924, + 2.031073900429848, + 2.0321909860863294, + 2.2779498305121697, + 2.291354858389943, 2.343857884244554, - 2.372902111313062, - 2.4198197088852678, - 2.434341822419522, - 2.4488639359537765, - 2.5281770175639338, - 2.5337624458463393, - 2.557221244632442, + 2.3729021113130626, + 2.419819708885268, + 2.4343418224195226, + 2.448863935953777, + 2.528177017563934, + 2.5337624458463397, + 2.5572212446324425, 2.599670499578724, - 2.68792026644073, - 2.6968569516925784, - 2.7191986648222004, - 2.7728187763332928, - 2.775052947646255, + 2.6879202664407305, + 2.6968569516925793, + 2.719198664822201, + 2.772818776333293, + 2.7750529476462553, 2.805214260371245, - 2.81079968865365, - 2.8275559735008664, - 2.8923469415767697, - 2.9202740829887968, + 2.8107996886536504, + 2.827555973500867, + 2.89234694157677, + 2.920274082988797, 2.9359132821795324, - 3.0543243617665277, - 3.0856027601479985, - 3.188374640544259, - 3.196194240139627, - 3.224121381551654, + 3.054324361766528, + 3.0856027601479994, + 3.18837464054426, + 3.1961942401396275, + 3.2241213815516545, 3.2788585787192277, 3.287795263971076, - 3.360405831642347, - 3.5223832518321054, - 3.552544564557095, - 3.616218446976517, - 3.6195697039459604, - 3.624038046571885, - 3.66983855848761, - 3.702234042525561, - 3.7323953552505507, - 3.749151640097767, - 3.8798506619060547, - 4.066403966538397, - 4.211625101880939, + 3.360405831642348, + 3.522383251832106, + 3.5525445645570954, + 3.616218446976518, + 3.6195697039459613, + 3.6240380465718856, + 3.6698385584876103, + 3.7022340425255615, + 3.732395355250551, + 3.749151640097768, + 3.8798506619060555, + 4.066403966538398, + 4.21162510188094, 4.220561787132788, - 4.273064812987399, + 4.2730648129874, 4.4194030339864225, 4.496481944283618, 4.765699587495561, - 4.815968442037209, - 5.129869511508397, - 6.2581260245543 + 4.81596844203721, + 5.129869511508398, + 6.258126024554301 ], - "yaxis": "y2" + "yaxis": "y4" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "smoker=Yes
time=Lunch
day=Thur
total_bill=%{x}
tip=%{y}", - "legendgroup": "smoker=Yes", + "hovertemplate": "smoker=Yes
time=Lunch
day=Thur
total_bill=%{x}
tip=%{y}", + "legendgroup": "Yes", "marker": { "color": "#EF553B", "symbol": "circle" }, "mode": "markers", - "name": "smoker=Yes", + "name": "Yes", + "orientation": "v", "showlegend": true, "type": "scatter", - "uid": "5b4ea011-5c58-4ab5-bade-d1c38338b775", "x": [ 19.44, 32.68, @@ -31951,7 +31403,7 @@ 20.53, 16.47 ], - "xaxis": "x", + "xaxis": "x5", "y": [ 3, 5, @@ -31971,23 +31423,19 @@ 4, 3.23 ], - "yaxis": "y" + "yaxis": "y5" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "OLS trendline
tip = 0.099046 * total_bill + 1.129247
R2=0.552344

smoker=Yes
time=Lunch
day=Thur
total_bill=%{x}
tip=%{y} (trend)", - "legendgroup": "smoker=Yes", + "hovertemplate": "OLS trendline
tip = 0.0990461 * total_bill + 1.12925
R2=0.552344

smoker=Yes
time=Lunch
day=Thur
total_bill=%{x}
tip=%{y} (trend)", + "legendgroup": "Yes", "marker": { "color": "#EF553B", "symbol": "circle" }, "mode": "lines", - "name": "smoker=Yes", + "name": "Yes", "showlegend": false, "type": "scatter", - "uid": "0edfbf29-4ed1-4c7d-8f03-7e1d644d79c4", "x": [ 10.34, 12.74, @@ -32007,43 +31455,40 @@ 32.68, 43.11 ], - "xaxis": "x", + "xaxis": "x5", "y": [ - 2.1533836248599583, - 2.3910942994958333, - 2.416846289248053, - 2.416846289248053, - 2.4673598076081764, - 2.6624806530384575, - 2.713984632542897, - 2.7536030783155425, - 2.7605363063257555, - 2.771431378913233, - 2.9823996026525728, - 3.0547032661876514, - 3.0913503285273483, - 3.162663530918111, - 3.9461182960721826, - 4.366073821262229, - 5.399124794783969 - ], - "yaxis": "y" + 2.1533836248599556, + 2.3910942994958306, + 2.416846289248051, + 2.416846289248051, + 2.467359807608174, + 2.662480653038455, + 2.7139846325428945, + 2.75360307831554, + 2.7605363063257533, + 2.7714313789132308, + 2.98239960265257, + 3.0547032661876488, + 3.091350328527346, + 3.162663530918109, + 3.9461182960721803, + 4.366073821262226, + 5.399124794783967 + ], + "yaxis": "y5" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "smoker=Yes
time=Lunch
day=Fri
total_bill=%{x}
tip=%{y}", - "legendgroup": "smoker=Yes", + "hovertemplate": "smoker=Yes
time=Lunch
day=Fri
total_bill=%{x}
tip=%{y}", + "legendgroup": "Yes", "marker": { "color": "#EF553B", "symbol": "circle" }, "mode": "markers", - "name": "smoker=Yes", + "name": "Yes", + "orientation": "v", "showlegend": false, "type": "scatter", - "uid": "756b2e0d-917e-4576-8e9c-ac56247a66a8", "x": [ 12.16, 13.42, @@ -32052,7 +31497,7 @@ 16.27, 10.09 ], - "xaxis": "x2", + "xaxis": "x6", "y": [ 2.2, 3.48, @@ -32061,23 +31506,19 @@ 2.5, 2 ], - "yaxis": "y" + "yaxis": "y6" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "OLS trendline
tip = 0.091941 * total_bill + 1.146981
R2=0.142666

smoker=Yes
time=Lunch
day=Fri
total_bill=%{x}
tip=%{y} (trend)", - "legendgroup": "smoker=Yes", + "hovertemplate": "OLS trendline
tip = 0.091941 * total_bill + 1.14698
R2=0.142666

smoker=Yes
time=Lunch
day=Fri
total_bill=%{x}
tip=%{y} (trend)", + "legendgroup": "Yes", "marker": { "color": "#EF553B", "symbol": "circle" }, "mode": "lines", - "name": "smoker=Yes", + "name": "Yes", "showlegend": false, "type": "scatter", - "uid": "fff2247b-60d1-4009-8e40-10df20df189b", "x": [ 8.58, 10.09, @@ -32086,32 +31527,29 @@ 13.42, 16.27 ], - "xaxis": "x2", + "xaxis": "x6", "y": [ - 1.93583434811431, - 2.0746651943335603, - 2.2649829768990224, - 2.3808285836779994, - 2.3808285836779994, - 2.642860313297114 + 1.9358343481143083, + 2.0746651943335586, + 2.2649829768990206, + 2.3808285836779977, + 2.3808285836779977, + 2.6428603132971125 ], - "yaxis": "y" + "yaxis": "y6" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "smoker=Yes
time=Dinner
day=Fri
total_bill=%{x}
tip=%{y}", - "legendgroup": "smoker=Yes", + "hovertemplate": "smoker=Yes
time=Dinner
day=Fri
total_bill=%{x}
tip=%{y}", + "legendgroup": "Yes", "marker": { "color": "#EF553B", "symbol": "circle" }, "mode": "markers", - "name": "smoker=Yes", + "name": "Yes", + "orientation": "v", "showlegend": false, "type": "scatter", - "uid": "fae65231-d430-4ae2-aa5e-11c8e64a3460", "x": [ 28.97, 5.75, @@ -32138,20 +31576,16 @@ "yaxis": "y2" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "OLS trendline
tip = 0.089588 * total_bill + 1.228894
R2=0.604292

smoker=Yes
time=Dinner
day=Fri
total_bill=%{x}
tip=%{y} (trend)", - "legendgroup": "smoker=Yes", + "hovertemplate": "OLS trendline
tip = 0.089588 * total_bill + 1.22889
R2=0.604292

smoker=Yes
time=Dinner
day=Fri
total_bill=%{x}
tip=%{y} (trend)", + "legendgroup": "Yes", "marker": { "color": "#EF553B", "symbol": "circle" }, "mode": "lines", - "name": "smoker=Yes", + "name": "Yes", "showlegend": false, "type": "scatter", - "uid": "0135b2f9-95cc-42a8-b516-a50803ca664f", "x": [ 5.75, 11.35, @@ -32165,33 +31599,30 @@ ], "xaxis": "x2", "y": [ - 1.7440246950916156, + 1.7440246950916154, 2.2457174890793046, 2.306637328349238, 2.606757124752588, 2.690969843743378, - 3.1111375587080676, - 3.6728543119764265, - 3.8242580301619964, - 4.827643618137374 + 3.111137558708068, + 3.672854311976427, + 3.8242580301619977, + 4.827643618137375 ], "yaxis": "y2" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "smoker=Yes
time=Dinner
day=Sat
total_bill=%{x}
tip=%{y}", - "legendgroup": "smoker=Yes", + "hovertemplate": "smoker=Yes
time=Dinner
day=Sat
total_bill=%{x}
tip=%{y}", + "legendgroup": "Yes", "marker": { "color": "#EF553B", "symbol": "circle" }, "mode": "markers", - "name": "smoker=Yes", + "name": "Yes", + "orientation": "v", "showlegend": false, "type": "scatter", - "uid": "1750068b-6c56-40f8-8008-1fb76c73302a", "x": [ 38.01, 11.24, @@ -32281,23 +31712,19 @@ 2, 2 ], - "yaxis": "y2" + "yaxis": "y3" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "OLS trendline
tip = 0.090893 * total_bill + 0.941566
R2=0.315040

smoker=Yes
time=Dinner
day=Sat
total_bill=%{x}
tip=%{y} (trend)", - "legendgroup": "smoker=Yes", + "hovertemplate": "OLS trendline
tip = 0.0908935 * total_bill + 0.941566
R2=0.315040

smoker=Yes
time=Dinner
day=Sat
total_bill=%{x}
tip=%{y} (trend)", + "legendgroup": "Yes", "marker": { "color": "#EF553B", "symbol": "circle" }, "mode": "lines", - "name": "smoker=Yes", + "name": "Yes", "showlegend": false, "type": "scatter", - "uid": "93ab32a8-79bc-4f2a-a143-19379fe9f496", "x": [ 3.07, 7.74, @@ -32344,21 +31771,21 @@ ], "xaxis": "x3", "y": [ - 1.2206090488624528, - 1.6450815617516594, - 1.9041279561272995, - 1.9077636949957295, - 1.9432121489629222, + 1.2206090488624524, + 1.6450815617516592, + 1.904127956127299, + 1.907763694995729, + 1.943212148962922, 1.9632087127392874, - 1.9950214278380503, - 2.0868238342659087, - 2.101366789739629, + 1.9950214278380498, + 2.0868238342659082, + 2.1013667897396284, 2.114091875779134, - 2.147722460312112, - 2.1968049350359173, - 2.2422516708912927, - 2.3058771010888184, - 2.337689816187581, + 2.1477224603121114, + 2.196804935035917, + 2.2422516708912923, + 2.305877101088818, + 2.3376898161875808, 2.3531417063784086, 2.367684661852129, 2.378591878457419, @@ -32367,43 +31794,40 @@ 2.7857946317215827, 2.803973326063733, 2.952129684952257, - 2.9793977264654825, + 2.979397726465482, 3.00212109439317, - 3.1239183464855764, - 3.1475506491303715, - 3.2329905125384775, - 3.23935305555823, + 3.123918346485576, + 3.147550649130371, + 3.232990512538477, + 3.2393530555582295, 3.294798073301788, - 3.3584235034993135, - 3.3829647408612162, - 3.4120506518086566, + 3.358423503499313, + 3.382964740861216, + 3.412050651808656, 3.5002173193680846, 3.5020351888023, 3.673823850335619, 3.681095328072479, 3.9255987669743986, - 4.396426950436088, + 4.396426950436089, 4.461870250067829, 4.968146887496712, 5.5598633883337 ], - "yaxis": "y2" + "yaxis": "y3" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "smoker=Yes
time=Dinner
day=Sun
total_bill=%{x}
tip=%{y}", - "legendgroup": "smoker=Yes", + "hovertemplate": "smoker=Yes
time=Dinner
day=Sun
total_bill=%{x}
tip=%{y}", + "legendgroup": "Yes", "marker": { "color": "#EF553B", "symbol": "circle" }, "mode": "markers", - "name": "smoker=Yes", + "name": "Yes", + "orientation": "v", "showlegend": false, "type": "scatter", - "uid": "147c50f1-addb-473b-9387-950df3ee3baf", "x": [ 17.51, 7.25, @@ -32447,23 +31871,19 @@ 4, 1.5 ], - "yaxis": "y2" + "yaxis": "y4" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "OLS trendline
tip = -0.010717 * total_bill + 3.775339
R2=0.007875

smoker=Yes
time=Dinner
day=Sun
total_bill=%{x}
tip=%{y} (trend)", - "legendgroup": "smoker=Yes", + "hovertemplate": "OLS trendline
tip = -0.0107171 * total_bill + 3.77534
R2=0.007875

smoker=Yes
time=Dinner
day=Sun
total_bill=%{x}
tip=%{y} (trend)", + "legendgroup": "Yes", "marker": { "color": "#EF553B", "symbol": "circle" }, "mode": "lines", - "name": "smoker=Yes", + "name": "Yes", "showlegend": false, "type": "scatter", - "uid": "53d7cef3-dab7-4fc2-8a4c-b480f9360ae4", "x": [ 7.25, 9.6, @@ -32487,116 +31907,104 @@ ], "xaxis": "x4", "y": [ - 3.6976401621288413, - 3.6724548963532424, - 3.620155280614977, - 3.6071875480241364, - 3.595077186183104, - 3.5876823634660133, - 3.583609852404427, - 3.5808233974675523, - 3.551351277942915, - 3.527773582323205, - 3.5270233829171236, - 3.5253086414175083, - 3.4488954733409036, - 3.433998656562996, - 3.422745665471771, - 3.404205023007181, - 3.4039906803197293, - 3.3407595875214167, - 3.289317342532959 + 3.6976401621288417, + 3.672454896353243, + 3.6201552806149775, + 3.6071875480241373, + 3.595077186183105, + 3.5876823634660138, + 3.5836098524044275, + 3.5808233974675527, + 3.5513512779429157, + 3.527773582323206, + 3.5270233829171245, + 3.525308641417509, + 3.4488954733409045, + 3.433998656562997, + 3.422745665471772, + 3.404205023007182, + 3.40399068031973, + 3.3407595875214176, + 3.2893173425329603 ], - "yaxis": "y2" + "yaxis": "y4" } ], "layout": { "annotations": [ { + "font": {}, "showarrow": false, "text": "day=Thur", - "textangle": 0, - "x": 0.1153846153846154, + "x": 0.11499999999999999, "xanchor": "center", "xref": "paper", - "y": 1.02, - "yanchor": "middle", + "y": 1, + "yanchor": "bottom", "yref": "paper" }, { + "font": {}, "showarrow": false, "text": "day=Fri", - "textangle": 0, - "x": 0.3717948717948718, + "x": 0.365, "xanchor": "center", "xref": "paper", - "y": 1.02, - "yanchor": "middle", + "y": 1, + "yanchor": "bottom", "yref": "paper" }, { + "font": {}, "showarrow": false, "text": "day=Sat", - "textangle": 0, - "x": 0.6282051282051283, + "x": 0.615, "xanchor": "center", "xref": "paper", - "y": 1.02, - "yanchor": "middle", + "y": 1, + "yanchor": "bottom", "yref": "paper" }, { + "font": {}, "showarrow": false, "text": "day=Sun", - "textangle": 0, - "x": 0.8846153846153848, + "x": 0.865, "xanchor": "center", "xref": "paper", - "y": 1.02, - "yanchor": "middle", + "y": 1, + "yanchor": "bottom", "yref": "paper" }, { + "font": {}, "showarrow": false, - "text": "time=Lunch", + "text": "time=Dinner", "textangle": 90, - "x": 1.01, - "xanchor": "center", + "x": 0.98, + "xanchor": "left", "xref": "paper", - "y": 0.763157894736842, + "y": 0.2425, "yanchor": "middle", "yref": "paper" }, { + "font": {}, "showarrow": false, - "text": "time=Dinner", + "text": "time=Lunch", "textangle": 90, - "x": 1.01, - "xanchor": "center", + "x": 0.98, + "xanchor": "left", "xref": "paper", - "y": 0.23684210526315788, + "y": 0.7575000000000001, "yanchor": "middle", "yref": "paper" } ], - "grid": { - "xaxes": [ - "x", - "x2", - "x3", - "x4" - ], - "xgap": 0.1, - "xside": "bottom", - "yaxes": [ - "y", - "y2" - ], - "ygap": 0.1, - "yside": "left" - }, - "height": 600, "legend": { + "title": { + "text": "smoker" + }, "tracegroupgap": 0 }, "margin": { @@ -32606,6 +32014,12 @@ "data": { "bar": [ { + "error_x": { + "color": "#2a3f5f" + }, + "error_y": { + "color": "#2a3f5f" + }, "marker": { "line": { "color": "#E5ECF6", @@ -32663,70 +32077,171 @@ "colorscale": [ [ 0, - "#0508b8" + "#0d0887" + ], + [ + 0.1111111111111111, + "#46039f" + ], + [ + 0.2222222222222222, + "#7201a8" + ], + [ + 0.3333333333333333, + "#9c179e" + ], + [ + 0.4444444444444444, + "#bd3786" + ], + [ + 0.5555555555555556, + "#d8576b" + ], + [ + 0.6666666666666666, + "#ed7953" ], [ - 0.0893854748603352, - "#1910d8" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.1787709497206704, - "#3c19f0" + 0.8888888888888888, + "#fdca26" ], [ - 0.2681564245810056, - "#6b1cfb" + 1, + "#f0f921" + ] + ], + "type": "contour" + } + ], + "contourcarpet": [ + { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + }, + "type": "contourcarpet" + } + ], + "heatmap": [ + { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + }, + "colorscale": [ + [ + 0, + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], - "type": "contour" + "type": "heatmap" } ], - "contourcarpet": [ + "heatmapgl": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, - "type": "contourcarpet" + "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" + ] + ], + "type": "heatmapgl" } ], - "heatmap": [ + "histogram": [ + { + "marker": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, + "type": "histogram" + } + ], + "histogram2d": [ { "colorbar": { "outlinewidth": 0, @@ -32735,138 +32250,43 @@ "colorscale": [ [ 0, - "#0508b8" + "#0d0887" ], [ - 0.0893854748603352, - "#1910d8" + 0.1111111111111111, + "#46039f" ], [ - 0.1787709497206704, - "#3c19f0" + 0.2222222222222222, + "#7201a8" ], [ - 0.2681564245810056, - "#6b1cfb" + 0.3333333333333333, + "#9c179e" ], [ - 0.3575418994413408, - "#981cfd" + 0.4444444444444444, + "#bd3786" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.5555555555555556, + "#d8576b" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.6666666666666666, + "#ed7953" ], [ - 0.6256983240223464, - "#f246fe" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.7150837988826816, - "#fc67fd" - ], - [ - 0.8044692737430168, - "#fe88fc" - ], - [ - 0.8938547486033519, - "#fea5fd" - ], - [ - 0.9832402234636871, - "#febefe" - ], - [ - 1, - "#fec3fe" - ] - ], - "type": "heatmap" - } - ], - "heatmapgl": [ - { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - }, - "type": "heatmapgl" - } - ], - "histogram": [ - { - "marker": { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - } - }, - "type": "histogram" - } - ], - "histogram2d": [ - { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - }, - "colorscale": [ - [ - 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" - ], - [ - 0.3575418994413408, - "#981cfd" - ], - [ - 0.44692737430167595, - "#bf1cfd" - ], - [ - 0.5363128491620112, - "#dd2bfd" - ], - [ - 0.6256983240223464, - "#f246fe" - ], - [ - 0.7150837988826816, - "#fc67fd" - ], - [ - 0.8044692737430168, - "#fe88fc" - ], - [ - 0.8938547486033519, - "#fea5fd" - ], - [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "histogram2d" @@ -32881,55 +32301,43 @@ "colorscale": [ [ 0, - "#0508b8" + "#0d0887" ], [ - 0.0893854748603352, - "#1910d8" + 0.1111111111111111, + "#46039f" ], [ - 0.1787709497206704, - "#3c19f0" + 0.2222222222222222, + "#7201a8" ], [ - 0.2681564245810056, - "#6b1cfb" + 0.3333333333333333, + "#9c179e" ], [ - 0.3575418994413408, - "#981cfd" + 0.4444444444444444, + "#bd3786" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.5555555555555556, + "#d8576b" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.6666666666666666, + "#ed7953" ], [ - 0.6256983240223464, - "#f246fe" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.7150837988826816, - "#fc67fd" - ], - [ - 0.8044692737430168, - "#fe88fc" - ], - [ - 0.8938547486033519, - "#fea5fd" - ], - [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "histogram2dcontour" @@ -32955,6 +32363,12 @@ "type": "parcoords" } ], + "pie": [ + { + "automargin": true, + "type": "pie" + } + ], "scatter": [ { "marker": { @@ -32968,6 +32382,12 @@ ], "scatter3d": [ { + "line": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, "marker": { "colorbar": { "outlinewidth": 0, @@ -33060,6 +32480,48 @@ "outlinewidth": 0, "ticks": "" }, + "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" + ] + ], "type": "surface" } ], @@ -33087,10 +32549,17 @@ }, "layout": { "annotationdefaults": { - "arrowcolor": "#506784", + "arrowcolor": "#2a3f5f", "arrowhead": 0, "arrowwidth": 1 }, + "autotypenumbers": "strict", + "coloraxis": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, "colorscale": { "diverging": [ [ @@ -33141,109 +32610,85 @@ "sequential": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "sequentialminus": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ] }, @@ -33252,12 +32697,12 @@ "#EF553B", "#00cc96", "#ab63fa", - "#19d3f3", - "#e763fa", - "#FECB52", "#FFA15A", + "#19d3f3", "#FF6692", - "#B6E880" + "#B6E880", + "#FF97FF", + "#FECB52" ], "font": { "color": "#2a3f5f" @@ -33322,11 +32767,9 @@ } }, "shapedefaults": { - "fillcolor": "#506784", "line": { - "width": 0 - }, - "opacity": 0.4 + "color": "#2a3f5f" + } }, "ternary": { "aaxis": { @@ -33354,6 +32797,9 @@ "gridcolor": "white", "linecolor": "white", "ticks": "", + "title": { + "standoff": 15 + }, "zerolinecolor": "white", "zerolinewidth": 2 }, @@ -33362,66 +32808,174 @@ "gridcolor": "white", "linecolor": "white", "ticks": "", + "title": { + "standoff": 15 + }, "zerolinecolor": "white", "zerolinewidth": 2 } } }, "xaxis": { + "anchor": "y", + "domain": [ + 0, + 0.22999999999999998 + ], "title": { "text": "total_bill" } }, "xaxis2": { + "anchor": "y2", + "domain": [ + 0.24999999999999997, + 0.48 + ], "matches": "x", "title": { "text": "total_bill" } }, "xaxis3": { + "anchor": "y3", + "domain": [ + 0.49999999999999994, + 0.73 + ], "matches": "x", "title": { "text": "total_bill" } }, "xaxis4": { + "anchor": "y4", + "domain": [ + 0.75, + 0.98 + ], "matches": "x", "title": { "text": "total_bill" } }, + "xaxis5": { + "anchor": "y5", + "domain": [ + 0, + 0.22999999999999998 + ], + "matches": "x", + "showticklabels": false + }, + "xaxis6": { + "anchor": "y6", + "domain": [ + 0.24999999999999997, + 0.48 + ], + "matches": "x", + "showticklabels": false + }, + "xaxis7": { + "anchor": "y7", + "domain": [ + 0.49999999999999994, + 0.73 + ], + "matches": "x", + "showticklabels": false + }, + "xaxis8": { + "anchor": "y8", + "domain": [ + 0.75, + 0.98 + ], + "matches": "x", + "showticklabels": false + }, "yaxis": { + "anchor": "x", + "domain": [ + 0, + 0.485 + ], "title": { "text": "tip" } }, "yaxis2": { + "anchor": "x2", + "domain": [ + 0, + 0.485 + ], + "matches": "y", + "showticklabels": false + }, + "yaxis3": { + "anchor": "x3", + "domain": [ + 0, + 0.485 + ], + "matches": "y", + "showticklabels": false + }, + "yaxis4": { + "anchor": "x4", + "domain": [ + 0, + 0.485 + ], + "matches": "y", + "showticklabels": false + }, + "yaxis5": { + "anchor": "x5", + "domain": [ + 0.515, + 1 + ], "matches": "y", "title": { "text": "tip" } + }, + "yaxis6": { + "anchor": "x6", + "domain": [ + 0.515, + 1 + ], + "matches": "y", + "showticklabels": false + }, + "yaxis7": { + "anchor": "x7", + "domain": [ + 0.515, + 1 + ], + "matches": "y", + "showticklabels": false + }, + "yaxis8": { + "anchor": "x8", + "domain": [ + 0.515, + 1 + ], + "matches": "y", + "showticklabels": false } } }, "text/html": [ - "
\n", - " \n", - " \n", - "
\n", - " \n", - "
" + " }) }; }); " ] }, "metadata": {}, @@ -33464,16 +33014,14 @@ }, { "cell_type": "code", - "execution_count": 39, + "execution_count": 12, "metadata": {}, "outputs": [ { "data": { "application/vnd.plotly.v1+json": { "config": { - "linkText": "Export to plot.ly", - "plotlyServerURL": "https://plot.ly", - "showLink": false + "plotlyServerURL": "https://plot.ly" }, "data": [ { @@ -34254,9 +33802,17 @@ ] } ], + "domain": { + "x": [ + 0, + 1 + ], + "y": [ + 0, + 1 + ] + }, "line": { - "cmax": 3, - "cmin": 1, "color": [ 1, 1, @@ -34409,50 +33965,51 @@ 3, 3 ], - "colorbar": { - "title": { - "text": "species_id" - } - }, - "colorscale": [ - [ - 0, - "rgb(0, 147, 146)" - ], - [ - 0.16666666666666666, - "rgb(114, 170, 161)" - ], - [ - 0.3333333333333333, - "rgb(177, 199, 179)" - ], - [ - 0.5, - "rgb(241, 234, 200)" - ], - [ - 0.6666666666666666, - "rgb(229, 185, 173)" - ], - [ - 0.8333333333333334, - "rgb(217, 137, 148)" - ], - [ - 1, - "rgb(208, 88, 126)" - ] - ], - "showscale": true + "coloraxis": "coloraxis" }, "name": "", - "type": "parcoords", - "uid": "83914771-ce36-4dd3-88d0-6caaf3970cfc" + "type": "parcoords" } ], "layout": { - "height": 600, + "coloraxis": { + "cmid": 2, + "colorbar": { + "title": { + "text": "species_id" + } + }, + "colorscale": [ + [ + 0, + "rgb(0, 147, 146)" + ], + [ + 0.16666666666666666, + "rgb(114, 170, 161)" + ], + [ + 0.3333333333333333, + "rgb(177, 199, 179)" + ], + [ + 0.5, + "rgb(241, 234, 200)" + ], + [ + 0.6666666666666666, + "rgb(229, 185, 173)" + ], + [ + 0.8333333333333334, + "rgb(217, 137, 148)" + ], + [ + 1, + "rgb(208, 88, 126)" + ] + ] + }, "legend": { "tracegroupgap": 0 }, @@ -34463,6 +34020,12 @@ "data": { "bar": [ { + "error_x": { + "color": "#2a3f5f" + }, + "error_y": { + "color": "#2a3f5f" + }, "marker": { "line": { "color": "#E5ECF6", @@ -34520,55 +34083,43 @@ "colorscale": [ [ 0, - "#0508b8" + "#0d0887" ], [ - 0.0893854748603352, - "#1910d8" + 0.1111111111111111, + "#46039f" ], [ - 0.1787709497206704, - "#3c19f0" + 0.2222222222222222, + "#7201a8" ], [ - 0.2681564245810056, - "#6b1cfb" + 0.3333333333333333, + "#9c179e" ], [ - 0.3575418994413408, - "#981cfd" + 0.4444444444444444, + "#bd3786" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.5555555555555556, + "#d8576b" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.6666666666666666, + "#ed7953" ], [ - 0.6256983240223464, - "#f246fe" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.7150837988826816, - "#fc67fd" - ], - [ - 0.8044692737430168, - "#fe88fc" - ], - [ - 0.8938547486033519, - "#fea5fd" - ], - [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "contour" @@ -34592,55 +34143,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" + "#0d0887" ], [ - 0.1787709497206704, - "#3c19f0" + 0.1111111111111111, + "#46039f" ], [ - 0.2681564245810056, - "#6b1cfb" + 0.2222222222222222, + "#7201a8" ], [ - 0.3575418994413408, - "#981cfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.4444444444444444, + "#bd3786" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.5555555555555556, + "#d8576b" ], [ - 0.6256983240223464, - "#f246fe" + 0.6666666666666666, + "#ed7953" ], [ - 0.7150837988826816, - "#fc67fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.8044692737430168, - "#fe88fc" - ], - [ - 0.8938547486033519, - "#fea5fd" - ], - [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "heatmap" @@ -34652,6 +34191,48 @@ "outlinewidth": 0, "ticks": "" }, + "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" + ] + ], "type": "heatmapgl" } ], @@ -34675,55 +34256,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "histogram2d" @@ -34738,55 +34307,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "histogram2dcontour" @@ -34812,6 +34369,12 @@ "type": "parcoords" } ], + "pie": [ + { + "automargin": true, + "type": "pie" + } + ], "scatter": [ { "marker": { @@ -34825,6 +34388,12 @@ ], "scatter3d": [ { + "line": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, "marker": { "colorbar": { "outlinewidth": 0, @@ -34917,6 +34486,48 @@ "outlinewidth": 0, "ticks": "" }, + "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" + ] + ], "type": "surface" } ], @@ -34944,10 +34555,17 @@ }, "layout": { "annotationdefaults": { - "arrowcolor": "#506784", + "arrowcolor": "#2a3f5f", "arrowhead": 0, "arrowwidth": 1 }, + "autotypenumbers": "strict", + "coloraxis": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, "colorscale": { "diverging": [ [ @@ -34998,109 +34616,85 @@ "sequential": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "sequentialminus": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ] }, @@ -35109,12 +34703,12 @@ "#EF553B", "#00cc96", "#ab63fa", - "#19d3f3", - "#e763fa", - "#FECB52", "#FFA15A", + "#19d3f3", "#FF6692", - "#B6E880" + "#B6E880", + "#FF97FF", + "#FECB52" ], "font": { "color": "#2a3f5f" @@ -35179,11 +34773,9 @@ } }, "shapedefaults": { - "fillcolor": "#506784", "line": { - "width": 0 - }, - "opacity": 0.4 + "color": "#2a3f5f" + } }, "ternary": { "aaxis": { @@ -35211,6 +34803,9 @@ "gridcolor": "white", "linecolor": "white", "ticks": "", + "title": { + "standoff": 15 + }, "zerolinecolor": "white", "zerolinewidth": 2 }, @@ -35219,6 +34814,9 @@ "gridcolor": "white", "linecolor": "white", "ticks": "", + "title": { + "standoff": 15 + }, "zerolinecolor": "white", "zerolinewidth": 2 } @@ -35227,24 +34825,9 @@ } }, "text/html": [ - "
\n", - " \n", - " \n", - "
\n", - " \n", - "
" + " }) }; }); " ] }, "metadata": {}, @@ -35285,16 +34864,14 @@ }, { "cell_type": "code", - "execution_count": 40, + "execution_count": 14, "metadata": {}, "outputs": [ { "data": { "application/vnd.plotly.v1+json": { "config": { - "linkText": "Export to plot.ly", - "plotlyServerURL": "https://plot.ly", - "showLink": false + "plotlyServerURL": "https://plot.ly" }, "data": [ { @@ -36545,9 +36122,17 @@ ] } ], + "domain": { + "x": [ + 0, + 1 + ], + "y": [ + 0, + 1 + ] + }, "line": { - "cmax": 6, - "cmin": 1, "color": [ 2, 3, @@ -36794,62 +36379,62 @@ 2, 2 ], - "colorbar": { - "title": { - "text": "size" - } - }, - "colorscale": [ - [ - 0, - "#000004" - ], - [ - 0.1111111111111111, - "#1b0c41" - ], - [ - 0.2222222222222222, - "#4a0c6b" - ], - [ - 0.3333333333333333, - "#781c6d" - ], - [ - 0.4444444444444444, - "#a52c60" - ], - [ - 0.5555555555555556, - "#cf4446" - ], - [ - 0.6666666666666666, - "#ed6925" - ], - [ - 0.7777777777777778, - "#fb9b06" - ], - [ - 0.8888888888888888, - "#f7d13d" - ], - [ - 1, - "#fcffa4" - ] - ], - "showscale": true + "coloraxis": "coloraxis" }, "name": "", - "type": "parcats", - "uid": "ec22efd2-b68d-4704-8300-56246bb9a6ce" + "type": "parcats" } ], "layout": { - "height": 600, + "coloraxis": { + "colorbar": { + "title": { + "text": "size" + } + }, + "colorscale": [ + [ + 0, + "#000004" + ], + [ + 0.1111111111111111, + "#1b0c41" + ], + [ + 0.2222222222222222, + "#4a0c6b" + ], + [ + 0.3333333333333333, + "#781c6d" + ], + [ + 0.4444444444444444, + "#a52c60" + ], + [ + 0.5555555555555556, + "#cf4446" + ], + [ + 0.6666666666666666, + "#ed6925" + ], + [ + 0.7777777777777778, + "#fb9b06" + ], + [ + 0.8888888888888888, + "#f7d13d" + ], + [ + 1, + "#fcffa4" + ] + ] + }, "legend": { "tracegroupgap": 0 }, @@ -36860,6 +36445,12 @@ "data": { "bar": [ { + "error_x": { + "color": "#2a3f5f" + }, + "error_y": { + "color": "#2a3f5f" + }, "marker": { "line": { "color": "#E5ECF6", @@ -36917,55 +36508,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "contour" @@ -36989,55 +36568,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "heatmap" @@ -37049,6 +36616,48 @@ "outlinewidth": 0, "ticks": "" }, + "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" + ] + ], "type": "heatmapgl" } ], @@ -37072,55 +36681,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "histogram2d" @@ -37135,55 +36732,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "histogram2dcontour" @@ -37209,6 +36794,12 @@ "type": "parcoords" } ], + "pie": [ + { + "automargin": true, + "type": "pie" + } + ], "scatter": [ { "marker": { @@ -37222,6 +36813,12 @@ ], "scatter3d": [ { + "line": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, "marker": { "colorbar": { "outlinewidth": 0, @@ -37314,6 +36911,48 @@ "outlinewidth": 0, "ticks": "" }, + "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" + ] + ], "type": "surface" } ], @@ -37341,10 +36980,17 @@ }, "layout": { "annotationdefaults": { - "arrowcolor": "#506784", + "arrowcolor": "#2a3f5f", "arrowhead": 0, "arrowwidth": 1 }, + "autotypenumbers": "strict", + "coloraxis": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, "colorscale": { "diverging": [ [ @@ -37395,109 +37041,85 @@ "sequential": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "sequentialminus": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ] }, @@ -37506,12 +37128,12 @@ "#EF553B", "#00cc96", "#ab63fa", - "#19d3f3", - "#e763fa", - "#FECB52", "#FFA15A", + "#19d3f3", "#FF6692", - "#B6E880" + "#B6E880", + "#FF97FF", + "#FECB52" ], "font": { "color": "#2a3f5f" @@ -37576,11 +37198,9 @@ } }, "shapedefaults": { - "fillcolor": "#506784", "line": { - "width": 0 - }, - "opacity": 0.4 + "color": "#2a3f5f" + } }, "ternary": { "aaxis": { @@ -37608,6 +37228,9 @@ "gridcolor": "white", "linecolor": "white", "ticks": "", + "title": { + "standoff": 15 + }, "zerolinecolor": "white", "zerolinewidth": 2 }, @@ -37616,6 +37239,9 @@ "gridcolor": "white", "linecolor": "white", "ticks": "", + "title": { + "standoff": 15 + }, "zerolinecolor": "white", "zerolinewidth": 2 } @@ -37624,24 +37250,9 @@ } }, "text/html": [ - "
\n", - " \n", - " \n", - "
\n", - " \n", - "
" + " }) }; }); " ] }, "metadata": {}, @@ -37680,22 +37287,21 @@ }, { "cell_type": "code", - "execution_count": 41, + "execution_count": 15, "metadata": {}, "outputs": [ { "data": { "application/vnd.plotly.v1+json": { "config": { - "linkText": "Export to plot.ly", - "plotlyServerURL": "https://plot.ly", - "showLink": false + "plotlyServerURL": "https://plot.ly" }, "data": [ { "contours": { "coloring": "none" }, + "hovertemplate": "sepal_width=%{x}
sepal_length=%{y}
count=%{z}", "legendgroup": "", "line": { "color": "#636efa" @@ -37703,7 +37309,6 @@ "name": "", "showlegend": false, "type": "histogram2dcontour", - "uid": "6a78dbed-c30f-43bb-ae6c-6b631f11bbc0", "x": [ 3.5, 3, @@ -37857,6 +37462,7 @@ 3 ], "xaxis": "x", + "xbingroup": "x", "y": [ 5.1, 4.9, @@ -38009,23 +37615,11 @@ 6.2, 5.9 ], - "yaxis": "y" + "yaxis": "y", + "ybingroup": "y" } ], "layout": { - "grid": { - "xaxes": [ - "x" - ], - "xgap": 0.1, - "xside": "bottom", - "yaxes": [ - "y" - ], - "ygap": 0.1, - "yside": "left" - }, - "height": 600, "legend": { "tracegroupgap": 0 }, @@ -38036,6 +37630,12 @@ "data": { "bar": [ { + "error_x": { + "color": "#2a3f5f" + }, + "error_y": { + "color": "#2a3f5f" + }, "marker": { "line": { "color": "#E5ECF6", @@ -38093,55 +37693,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "contour" @@ -38165,55 +37753,43 @@ "colorscale": [ [ 0, - "#0508b8" + "#0d0887" ], [ - 0.0893854748603352, - "#1910d8" + 0.1111111111111111, + "#46039f" ], [ - 0.1787709497206704, - "#3c19f0" + 0.2222222222222222, + "#7201a8" ], [ - 0.2681564245810056, - "#6b1cfb" + 0.3333333333333333, + "#9c179e" ], [ - 0.3575418994413408, - "#981cfd" + 0.4444444444444444, + "#bd3786" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.5555555555555556, + "#d8576b" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.6666666666666666, + "#ed7953" ], [ - 0.6256983240223464, - "#f246fe" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.7150837988826816, - "#fc67fd" - ], - [ - 0.8044692737430168, - "#fe88fc" - ], - [ - 0.8938547486033519, - "#fea5fd" - ], - [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "heatmap" @@ -38225,6 +37801,48 @@ "outlinewidth": 0, "ticks": "" }, + "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" + ] + ], "type": "heatmapgl" } ], @@ -38248,55 +37866,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" + "#0d0887" ], [ - 0.1787709497206704, - "#3c19f0" + 0.1111111111111111, + "#46039f" ], [ - 0.2681564245810056, - "#6b1cfb" + 0.2222222222222222, + "#7201a8" ], [ - 0.3575418994413408, - "#981cfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.4444444444444444, + "#bd3786" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.5555555555555556, + "#d8576b" ], [ - 0.6256983240223464, - "#f246fe" + 0.6666666666666666, + "#ed7953" ], [ - 0.7150837988826816, - "#fc67fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.8044692737430168, - "#fe88fc" - ], - [ - 0.8938547486033519, - "#fea5fd" - ], - [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "histogram2d" @@ -38311,55 +37917,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" + "#0d0887" ], [ - 0.2681564245810056, - "#6b1cfb" + 0.1111111111111111, + "#46039f" ], [ - 0.3575418994413408, - "#981cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.4444444444444444, + "#bd3786" ], [ - 0.6256983240223464, - "#f246fe" + 0.5555555555555556, + "#d8576b" ], [ - 0.7150837988826816, - "#fc67fd" + 0.6666666666666666, + "#ed7953" ], [ - 0.8044692737430168, - "#fe88fc" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.8938547486033519, - "#fea5fd" - ], - [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "histogram2dcontour" @@ -38385,6 +37979,12 @@ "type": "parcoords" } ], + "pie": [ + { + "automargin": true, + "type": "pie" + } + ], "scatter": [ { "marker": { @@ -38398,6 +37998,12 @@ ], "scatter3d": [ { + "line": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, "marker": { "colorbar": { "outlinewidth": 0, @@ -38490,6 +38096,48 @@ "outlinewidth": 0, "ticks": "" }, + "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" + ] + ], "type": "surface" } ], @@ -38517,10 +38165,17 @@ }, "layout": { "annotationdefaults": { - "arrowcolor": "#506784", + "arrowcolor": "#2a3f5f", "arrowhead": 0, "arrowwidth": 1 }, + "autotypenumbers": "strict", + "coloraxis": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, "colorscale": { "diverging": [ [ @@ -38571,109 +38226,85 @@ "sequential": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "sequentialminus": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ] }, @@ -38682,12 +38313,12 @@ "#EF553B", "#00cc96", "#ab63fa", - "#19d3f3", - "#e763fa", - "#FECB52", "#FFA15A", + "#19d3f3", "#FF6692", - "#B6E880" + "#B6E880", + "#FF97FF", + "#FECB52" ], "font": { "color": "#2a3f5f" @@ -38752,11 +38383,9 @@ } }, "shapedefaults": { - "fillcolor": "#506784", "line": { - "width": 0 - }, - "opacity": 0.4 + "color": "#2a3f5f" + } }, "ternary": { "aaxis": { @@ -38784,6 +38413,9 @@ "gridcolor": "white", "linecolor": "white", "ticks": "", + "title": { + "standoff": 15 + }, "zerolinecolor": "white", "zerolinewidth": 2 }, @@ -38792,17 +38424,30 @@ "gridcolor": "white", "linecolor": "white", "ticks": "", + "title": { + "standoff": 15 + }, "zerolinecolor": "white", "zerolinewidth": 2 } } }, "xaxis": { + "anchor": "y", + "domain": [ + 0, + 1 + ], "title": { "text": "sepal_width" } }, "yaxis": { + "anchor": "x", + "domain": [ + 0, + 1 + ], "title": { "text": "sepal_length" } @@ -38810,24 +38455,9 @@ } }, "text/html": [ - "
\n", - " \n", - " \n", - "
\n", - " \n", - "
" + " }) }; }); " ] }, "metadata": {}, @@ -38866,30 +38492,28 @@ }, { "cell_type": "code", - "execution_count": 42, + "execution_count": 16, "metadata": {}, "outputs": [ { "data": { "application/vnd.plotly.v1+json": { "config": { - "linkText": "Export to plot.ly", - "plotlyServerURL": "https://plot.ly", - "showLink": false + "plotlyServerURL": "https://plot.ly" }, "data": [ { "contours": { "coloring": "none" }, - "legendgroup": "species=setosa", + "hovertemplate": "species=setosa
sepal_width=%{x}
sepal_length=%{y}
count=%{z}", + "legendgroup": "setosa", "line": { "color": "#636efa" }, - "name": "species=setosa", + "name": "setosa", "showlegend": true, "type": "histogram2dcontour", - "uid": "c25bdf7d-3930-41fc-ad3a-8be1e9f64431", "x": [ 3.5, 3, @@ -38943,6 +38567,7 @@ 3.3 ], "xaxis": "x", + "xbingroup": "x", "y": [ 5.1, 4.9, @@ -38995,20 +38620,21 @@ 5.3, 5 ], - "yaxis": "y" + "yaxis": "y", + "ybingroup": "y" }, { "contours": { "coloring": "none" }, - "legendgroup": "species=versicolor", + "hovertemplate": "species=versicolor
sepal_width=%{x}
sepal_length=%{y}
count=%{z}", + "legendgroup": "versicolor", "line": { "color": "#EF553B" }, - "name": "species=versicolor", + "name": "versicolor", "showlegend": true, "type": "histogram2dcontour", - "uid": "88e34001-98ea-49ed-b683-ac17ac3ff8ca", "x": [ 3.2, 3.2, @@ -39062,6 +38688,7 @@ 2.8 ], "xaxis": "x", + "xbingroup": "x", "y": [ 7, 6.4, @@ -39114,20 +38741,21 @@ 5.1, 5.7 ], - "yaxis": "y" + "yaxis": "y", + "ybingroup": "y" }, { "contours": { "coloring": "none" }, - "legendgroup": "species=virginica", + "hovertemplate": "species=virginica
sepal_width=%{x}
sepal_length=%{y}
count=%{z}", + "legendgroup": "virginica", "line": { "color": "#00cc96" }, - "name": "species=virginica", + "name": "virginica", "showlegend": true, "type": "histogram2dcontour", - "uid": "4f9c1e1a-03b3-4f1c-a6e6-b8d012a26e28", "x": [ 3.3, 2.7, @@ -39181,6 +38809,7 @@ 3 ], "xaxis": "x", + "xbingroup": "x", "y": [ 6.3, 5.8, @@ -39233,24 +38862,15 @@ 6.2, 5.9 ], - "yaxis": "y" + "yaxis": "y", + "ybingroup": "y" } ], "layout": { - "grid": { - "xaxes": [ - "x" - ], - "xgap": 0.1, - "xside": "bottom", - "yaxes": [ - "y" - ], - "ygap": 0.1, - "yside": "left" - }, - "height": 600, "legend": { + "title": { + "text": "species" + }, "tracegroupgap": 0 }, "margin": { @@ -39260,6 +38880,12 @@ "data": { "bar": [ { + "error_x": { + "color": "#2a3f5f" + }, + "error_y": { + "color": "#2a3f5f" + }, "marker": { "line": { "color": "#E5ECF6", @@ -39317,55 +38943,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "contour" @@ -39389,55 +39003,43 @@ "colorscale": [ [ 0, - "#0508b8" + "#0d0887" ], [ - 0.0893854748603352, - "#1910d8" + 0.1111111111111111, + "#46039f" ], [ - 0.1787709497206704, - "#3c19f0" + 0.2222222222222222, + "#7201a8" ], [ - 0.2681564245810056, - "#6b1cfb" + 0.3333333333333333, + "#9c179e" ], [ - 0.3575418994413408, - "#981cfd" + 0.4444444444444444, + "#bd3786" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.5555555555555556, + "#d8576b" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.6666666666666666, + "#ed7953" ], [ - 0.6256983240223464, - "#f246fe" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.7150837988826816, - "#fc67fd" - ], - [ - 0.8044692737430168, - "#fe88fc" - ], - [ - 0.8938547486033519, - "#fea5fd" - ], - [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "heatmap" @@ -39449,6 +39051,48 @@ "outlinewidth": 0, "ticks": "" }, + "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" + ] + ], "type": "heatmapgl" } ], @@ -39472,55 +39116,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" + "#0d0887" ], [ - 0.1787709497206704, - "#3c19f0" + 0.1111111111111111, + "#46039f" ], [ - 0.2681564245810056, - "#6b1cfb" + 0.2222222222222222, + "#7201a8" ], [ - 0.3575418994413408, - "#981cfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.4444444444444444, + "#bd3786" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.5555555555555556, + "#d8576b" ], [ - 0.6256983240223464, - "#f246fe" + 0.6666666666666666, + "#ed7953" ], [ - 0.7150837988826816, - "#fc67fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.8044692737430168, - "#fe88fc" - ], - [ - 0.8938547486033519, - "#fea5fd" - ], - [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "histogram2d" @@ -39535,55 +39167,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "histogram2dcontour" @@ -39609,6 +39229,12 @@ "type": "parcoords" } ], + "pie": [ + { + "automargin": true, + "type": "pie" + } + ], "scatter": [ { "marker": { @@ -39622,6 +39248,12 @@ ], "scatter3d": [ { + "line": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, "marker": { "colorbar": { "outlinewidth": 0, @@ -39714,6 +39346,48 @@ "outlinewidth": 0, "ticks": "" }, + "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" + ] + ], "type": "surface" } ], @@ -39741,10 +39415,17 @@ }, "layout": { "annotationdefaults": { - "arrowcolor": "#506784", + "arrowcolor": "#2a3f5f", "arrowhead": 0, "arrowwidth": 1 }, + "autotypenumbers": "strict", + "coloraxis": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, "colorscale": { "diverging": [ [ @@ -39795,109 +39476,85 @@ "sequential": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "sequentialminus": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ] }, @@ -39906,12 +39563,12 @@ "#EF553B", "#00cc96", "#ab63fa", - "#19d3f3", - "#e763fa", - "#FECB52", "#FFA15A", + "#19d3f3", "#FF6692", - "#B6E880" + "#B6E880", + "#FF97FF", + "#FECB52" ], "font": { "color": "#2a3f5f" @@ -39976,11 +39633,9 @@ } }, "shapedefaults": { - "fillcolor": "#506784", "line": { - "width": 0 - }, - "opacity": 0.4 + "color": "#2a3f5f" + } }, "ternary": { "aaxis": { @@ -40008,6 +39663,9 @@ "gridcolor": "white", "linecolor": "white", "ticks": "", + "title": { + "standoff": 15 + }, "zerolinecolor": "white", "zerolinewidth": 2 }, @@ -40016,17 +39674,30 @@ "gridcolor": "white", "linecolor": "white", "ticks": "", + "title": { + "standoff": 15 + }, "zerolinecolor": "white", "zerolinewidth": 2 } } }, "xaxis": { + "anchor": "y", + "domain": [ + 0, + 1 + ], "title": { "text": "sepal_width" } }, "yaxis": { + "anchor": "x", + "domain": [ + 0, + 1 + ], "title": { "text": "sepal_length" } @@ -40034,24 +39705,9 @@ } }, "text/html": [ - "
\n", - " \n", - " \n", - "
\n", - " \n", - "
" + " }) }; }); " ] }, "metadata": {}, @@ -40090,34 +39742,29 @@ }, { "cell_type": "code", - "execution_count": 43, + "execution_count": 17, "metadata": {}, "outputs": [ { "data": { "application/vnd.plotly.v1+json": { "config": { - "linkText": "Export to plot.ly", - "plotlyServerURL": "https://plot.ly", - "showLink": false + "plotlyServerURL": "https://plot.ly" }, "data": [ { "alignmentgroup": "True", - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "smoker=No
day=Sun
time=Dinner
total_bill=%{x}
count=%{y}", - "legendgroup": "smoker=No", + "bingroup": "x", + "hovertemplate": "smoker=No
day=Sun
time=Dinner
total_bill=%{x}
count=%{y}", + "legendgroup": "No", "marker": { "color": "#636efa" }, - "name": "smoker=No", - "offsetgroup": "smoker=No", + "name": "No", + "offsetgroup": "No", "orientation": "v", "showlegend": true, "type": "histogram", - "uid": "aad4d0ff-a32c-4fc5-9266-0c333c2e6475", "x": [ 16.99, 10.34, @@ -40177,25 +39824,22 @@ 31.71, 20.69 ], - "xaxis": "x", - "yaxis": "y" + "xaxis": "x7", + "yaxis": "y7" }, { "alignmentgroup": "True", - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "smoker=No
day=Sat
time=Dinner
total_bill=%{x}
count=%{y}", - "legendgroup": "smoker=No", + "bingroup": "x", + "hovertemplate": "smoker=No
day=Sat
time=Dinner
total_bill=%{x}
count=%{y}", + "legendgroup": "No", "marker": { "color": "#636efa" }, - "name": "smoker=No", - "offsetgroup": "smoker=No", + "name": "No", + "offsetgroup": "No", "orientation": "v", "showlegend": false, "type": "histogram", - "uid": "4c9bf4ed-5d3c-4960-89ad-59e6d0271280", "x": [ 20.65, 17.92, @@ -40243,47 +39887,41 @@ 29.03, 17.82 ], - "xaxis": "x", - "yaxis": "y2" + "xaxis": "x5", + "yaxis": "y5" }, { "alignmentgroup": "True", - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "smoker=No
day=Thur
time=Dinner
total_bill=%{x}
count=%{y}", - "legendgroup": "smoker=No", + "bingroup": "x", + "hovertemplate": "smoker=No
day=Thur
time=Dinner
total_bill=%{x}
count=%{y}", + "legendgroup": "No", "marker": { "color": "#636efa" }, - "name": "smoker=No", - "offsetgroup": "smoker=No", + "name": "No", + "offsetgroup": "No", "orientation": "v", "showlegend": false, "type": "histogram", - "uid": "ca4fba0c-71d5-4fbf-9ac2-7fa1cbd2af8c", "x": [ 18.78 ], - "xaxis": "x", + "xaxis": "x3", "yaxis": "y3" }, { "alignmentgroup": "True", - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "smoker=No
day=Thur
time=Lunch
total_bill=%{x}
count=%{y}", - "legendgroup": "smoker=No", + "bingroup": "x", + "hovertemplate": "smoker=No
day=Thur
time=Lunch
total_bill=%{x}
count=%{y}", + "legendgroup": "No", "marker": { "color": "#636efa" }, - "name": "smoker=No", - "offsetgroup": "smoker=No", + "name": "No", + "offsetgroup": "No", "orientation": "v", "showlegend": false, "type": "histogram", - "uid": "42c6eb30-c8b7-494c-b107-8cbd77bedb9a", "x": [ 27.2, 22.76, @@ -40330,71 +39968,62 @@ 7.51, 7.56 ], - "xaxis": "x2", - "yaxis": "y3" + "xaxis": "x4", + "yaxis": "y4" }, { "alignmentgroup": "True", - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "smoker=No
day=Fri
time=Dinner
total_bill=%{x}
count=%{y}", - "legendgroup": "smoker=No", + "bingroup": "x", + "hovertemplate": "smoker=No
day=Fri
time=Dinner
total_bill=%{x}
count=%{y}", + "legendgroup": "No", "marker": { "color": "#636efa" }, - "name": "smoker=No", - "offsetgroup": "smoker=No", + "name": "No", + "offsetgroup": "No", "orientation": "v", "showlegend": false, "type": "histogram", - "uid": "0523dab0-5261-409a-b8ed-4c2724d19091", "x": [ 22.49, 22.75, 12.46 ], "xaxis": "x", - "yaxis": "y4" + "yaxis": "y" }, { "alignmentgroup": "True", - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "smoker=No
day=Fri
time=Lunch
total_bill=%{x}
count=%{y}", - "legendgroup": "smoker=No", + "bingroup": "x", + "hovertemplate": "smoker=No
day=Fri
time=Lunch
total_bill=%{x}
count=%{y}", + "legendgroup": "No", "marker": { "color": "#636efa" }, - "name": "smoker=No", - "offsetgroup": "smoker=No", + "name": "No", + "offsetgroup": "No", "orientation": "v", "showlegend": false, "type": "histogram", - "uid": "519db12a-8c69-493b-8bc0-75d2d42d6405", "x": [ 15.98 ], "xaxis": "x2", - "yaxis": "y4" + "yaxis": "y2" }, { "alignmentgroup": "True", - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "smoker=Yes
day=Sun
time=Dinner
total_bill=%{x}
count=%{y}", - "legendgroup": "smoker=Yes", + "bingroup": "x", + "hovertemplate": "smoker=Yes
day=Sun
time=Dinner
total_bill=%{x}
count=%{y}", + "legendgroup": "Yes", "marker": { "color": "#EF553B" }, - "name": "smoker=Yes", - "offsetgroup": "smoker=Yes", + "name": "Yes", + "offsetgroup": "Yes", "orientation": "v", "showlegend": true, "type": "histogram", - "uid": "0b2b5cf7-887f-4d3a-a93c-e044e8417ee3", "x": [ 17.51, 7.25, @@ -40416,25 +40045,22 @@ 23.1, 15.69 ], - "xaxis": "x", - "yaxis": "y" + "xaxis": "x7", + "yaxis": "y7" }, { "alignmentgroup": "True", - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "smoker=Yes
day=Sat
time=Dinner
total_bill=%{x}
count=%{y}", - "legendgroup": "smoker=Yes", + "bingroup": "x", + "hovertemplate": "smoker=Yes
day=Sat
time=Dinner
total_bill=%{x}
count=%{y}", + "legendgroup": "Yes", "marker": { "color": "#EF553B" }, - "name": "smoker=Yes", - "offsetgroup": "smoker=Yes", + "name": "Yes", + "offsetgroup": "Yes", "orientation": "v", "showlegend": false, "type": "histogram", - "uid": "b644517c-6269-4fc7-ad9e-2b50f91707b6", "x": [ 38.01, 11.24, @@ -40479,25 +40105,22 @@ 27.18, 22.67 ], - "xaxis": "x", - "yaxis": "y2" + "xaxis": "x5", + "yaxis": "y5" }, { "alignmentgroup": "True", - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "smoker=Yes
day=Thur
time=Lunch
total_bill=%{x}
count=%{y}", - "legendgroup": "smoker=Yes", + "bingroup": "x", + "hovertemplate": "smoker=Yes
day=Thur
time=Lunch
total_bill=%{x}
count=%{y}", + "legendgroup": "Yes", "marker": { "color": "#EF553B" }, - "name": "smoker=Yes", - "offsetgroup": "smoker=Yes", + "name": "Yes", + "offsetgroup": "Yes", "orientation": "v", "showlegend": false, "type": "histogram", - "uid": "2362b16b-ab94-475c-bbf7-02879c1ba4d7", "x": [ 19.44, 32.68, @@ -40517,25 +40140,22 @@ 20.53, 16.47 ], - "xaxis": "x2", - "yaxis": "y3" + "xaxis": "x4", + "yaxis": "y4" }, { "alignmentgroup": "True", - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "smoker=Yes
day=Fri
time=Dinner
total_bill=%{x}
count=%{y}", - "legendgroup": "smoker=Yes", + "bingroup": "x", + "hovertemplate": "smoker=Yes
day=Fri
time=Dinner
total_bill=%{x}
count=%{y}", + "legendgroup": "Yes", "marker": { "color": "#EF553B" }, - "name": "smoker=Yes", - "offsetgroup": "smoker=Yes", + "name": "Yes", + "offsetgroup": "Yes", "orientation": "v", "showlegend": false, "type": "histogram", - "uid": "da06e084-bdbb-44e8-be19-24eff0a3f49f", "x": [ 28.97, 5.75, @@ -40548,24 +40168,21 @@ 15.38 ], "xaxis": "x", - "yaxis": "y4" + "yaxis": "y" }, { "alignmentgroup": "True", - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "smoker=Yes
day=Fri
time=Lunch
total_bill=%{x}
count=%{y}", - "legendgroup": "smoker=Yes", + "bingroup": "x", + "hovertemplate": "smoker=Yes
day=Fri
time=Lunch
total_bill=%{x}
count=%{y}", + "legendgroup": "Yes", "marker": { "color": "#EF553B" }, - "name": "smoker=Yes", - "offsetgroup": "smoker=Yes", + "name": "Yes", + "offsetgroup": "Yes", "orientation": "v", "showlegend": false, "type": "histogram", - "uid": "b6e24247-b371-4d20-838d-cf3d0103139c", "x": [ 12.16, 13.42, @@ -40575,97 +40192,87 @@ 10.09 ], "xaxis": "x2", - "yaxis": "y4" + "yaxis": "y2" } ], "layout": { "annotations": [ { + "font": {}, "showarrow": false, "text": "time=Dinner", - "textangle": 0, - "x": 0.23684210526315788, + "x": 0.24, "xanchor": "center", "xref": "paper", - "y": 1.02, - "yanchor": "middle", + "y": 1, + "yanchor": "bottom", "yref": "paper" }, { + "font": {}, "showarrow": false, "text": "time=Lunch", - "textangle": 0, - "x": 0.763157894736842, + "x": 0.74, "xanchor": "center", "xref": "paper", - "y": 1.02, - "yanchor": "middle", + "y": 1, + "yanchor": "bottom", "yref": "paper" }, { + "font": {}, "showarrow": false, - "text": "day=Sun", + "text": "day=Fri", "textangle": 90, - "x": 1.01, - "xanchor": "center", + "x": 0.98, + "xanchor": "left", "xref": "paper", - "y": 0.8846153846153848, + "y": 0.11375, "yanchor": "middle", "yref": "paper" }, { + "font": {}, "showarrow": false, - "text": "day=Sat", + "text": "day=Thur", "textangle": 90, - "x": 1.01, - "xanchor": "center", + "x": 0.98, + "xanchor": "left", "xref": "paper", - "y": 0.6282051282051283, + "y": 0.37124999999999997, "yanchor": "middle", "yref": "paper" }, { + "font": {}, "showarrow": false, - "text": "day=Thur", + "text": "day=Sat", "textangle": 90, - "x": 1.01, - "xanchor": "center", + "x": 0.98, + "xanchor": "left", "xref": "paper", - "y": 0.3717948717948718, + "y": 0.62875, "yanchor": "middle", "yref": "paper" }, { + "font": {}, "showarrow": false, - "text": "day=Fri", + "text": "day=Sun", "textangle": 90, - "x": 1.01, - "xanchor": "center", + "x": 0.98, + "xanchor": "left", "xref": "paper", - "y": 0.1153846153846154, + "y": 0.88625, "yanchor": "middle", "yref": "paper" } ], "barmode": "relative", - "grid": { - "xaxes": [ - "x", - "x2" - ], - "xgap": 0.1, - "xside": "bottom", - "yaxes": [ - "y", - "y2", - "y3", - "y4" - ], - "ygap": 0.1, - "yside": "left" - }, - "height": 600, "legend": { + "title": { + "text": "smoker" + }, "tracegroupgap": 0 }, "margin": { @@ -40675,6 +40282,12 @@ "data": { "bar": [ { + "error_x": { + "color": "#2a3f5f" + }, + "error_y": { + "color": "#2a3f5f" + }, "marker": { "line": { "color": "#E5ECF6", @@ -40732,55 +40345,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "contour" @@ -40804,81 +40405,49 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "heatmap" } ], "heatmapgl": [ - { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - }, - "type": "heatmapgl" - } - ], - "histogram": [ - { - "marker": { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - } - }, - "type": "histogram" - } - ], - "histogram2d": [ { "colorbar": { "outlinewidth": 0, @@ -40887,61 +40456,60 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], - "type": "histogram2d" + "type": "heatmapgl" } ], - "histogram2dcontour": [ + "histogram": [ + { + "marker": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, + "type": "histogram" + } + ], + "histogram2d": [ { "colorbar": { "outlinewidth": 0, @@ -40950,55 +40518,94 @@ "colorscale": [ [ 0, - "#0508b8" + "#0d0887" ], [ - 0.0893854748603352, - "#1910d8" + 0.1111111111111111, + "#46039f" ], [ - 0.1787709497206704, - "#3c19f0" + 0.2222222222222222, + "#7201a8" ], [ - 0.2681564245810056, - "#6b1cfb" + 0.3333333333333333, + "#9c179e" ], [ - 0.3575418994413408, - "#981cfd" + 0.4444444444444444, + "#bd3786" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.5555555555555556, + "#d8576b" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.6666666666666666, + "#ed7953" ], [ - 0.6256983240223464, - "#f246fe" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.7150837988826816, - "#fc67fd" + 0.8888888888888888, + "#fdca26" ], [ - 0.8044692737430168, - "#fe88fc" + 1, + "#f0f921" + ] + ], + "type": "histogram2d" + } + ], + "histogram2dcontour": [ + { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + }, + "colorscale": [ + [ + 0, + "#0d0887" + ], + [ + 0.1111111111111111, + "#46039f" + ], + [ + 0.2222222222222222, + "#7201a8" + ], + [ + 0.3333333333333333, + "#9c179e" + ], + [ + 0.4444444444444444, + "#bd3786" + ], + [ + 0.5555555555555556, + "#d8576b" + ], + [ + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "histogram2dcontour" @@ -41024,6 +40631,12 @@ "type": "parcoords" } ], + "pie": [ + { + "automargin": true, + "type": "pie" + } + ], "scatter": [ { "marker": { @@ -41037,6 +40650,12 @@ ], "scatter3d": [ { + "line": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, "marker": { "colorbar": { "outlinewidth": 0, @@ -41129,6 +40748,48 @@ "outlinewidth": 0, "ticks": "" }, + "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" + ] + ], "type": "surface" } ], @@ -41156,10 +40817,17 @@ }, "layout": { "annotationdefaults": { - "arrowcolor": "#506784", + "arrowcolor": "#2a3f5f", "arrowhead": 0, "arrowwidth": 1 }, + "autotypenumbers": "strict", + "coloraxis": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, "colorscale": { "diverging": [ [ @@ -41210,109 +40878,85 @@ "sequential": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "sequentialminus": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ] }, @@ -41321,12 +40965,12 @@ "#EF553B", "#00cc96", "#ab63fa", - "#19d3f3", - "#e763fa", - "#FECB52", "#FFA15A", + "#19d3f3", "#FF6692", - "#B6E880" + "#B6E880", + "#FF97FF", + "#FECB52" ], "font": { "color": "#2a3f5f" @@ -41391,11 +41035,9 @@ } }, "shapedefaults": { - "fillcolor": "#506784", "line": { - "width": 0 - }, - "opacity": 0.4 + "color": "#2a3f5f" + } }, "ternary": { "aaxis": { @@ -41423,6 +41065,9 @@ "gridcolor": "white", "linecolor": "white", "ticks": "", + "title": { + "standoff": 15 + }, "zerolinecolor": "white", "zerolinewidth": 2 }, @@ -41431,66 +41076,174 @@ "gridcolor": "white", "linecolor": "white", "ticks": "", + "title": { + "standoff": 15 + }, "zerolinecolor": "white", "zerolinewidth": 2 } } }, "xaxis": { + "anchor": "y", + "domain": [ + 0, + 0.48 + ], "title": { "text": "total_bill" } }, "xaxis2": { + "anchor": "y2", + "domain": [ + 0.5, + 0.98 + ], "matches": "x", "title": { "text": "total_bill" } }, + "xaxis3": { + "anchor": "y3", + "domain": [ + 0, + 0.48 + ], + "matches": "x", + "showticklabels": false + }, + "xaxis4": { + "anchor": "y4", + "domain": [ + 0.5, + 0.98 + ], + "matches": "x", + "showticklabels": false + }, + "xaxis5": { + "anchor": "y5", + "domain": [ + 0, + 0.48 + ], + "matches": "x", + "showticklabels": false + }, + "xaxis6": { + "anchor": "y6", + "domain": [ + 0.5, + 0.98 + ], + "matches": "x", + "showticklabels": false + }, + "xaxis7": { + "anchor": "y7", + "domain": [ + 0, + 0.48 + ], + "matches": "x", + "showticklabels": false + }, + "xaxis8": { + "anchor": "y8", + "domain": [ + 0.5, + 0.98 + ], + "matches": "x", + "showticklabels": false + }, "yaxis": { + "anchor": "x", + "domain": [ + 0, + 0.2275 + ], "title": { "text": "count" } }, "yaxis2": { + "anchor": "x2", + "domain": [ + 0, + 0.2275 + ], + "matches": "y", + "showticklabels": false + }, + "yaxis3": { + "anchor": "x3", + "domain": [ + 0.2575, + 0.485 + ], "matches": "y", "title": { "text": "count" } }, - "yaxis3": { + "yaxis4": { + "anchor": "x4", + "domain": [ + 0.2575, + 0.485 + ], + "matches": "y", + "showticklabels": false + }, + "yaxis5": { + "anchor": "x5", + "domain": [ + 0.515, + 0.7425 + ], "matches": "y", "title": { "text": "count" } }, - "yaxis4": { + "yaxis6": { + "anchor": "x6", + "domain": [ + 0.515, + 0.7425 + ], + "matches": "y", + "showticklabels": false + }, + "yaxis7": { + "anchor": "x7", + "domain": [ + 0.7725, + 1 + ], "matches": "y", "title": { "text": "count" } + }, + "yaxis8": { + "anchor": "x8", + "domain": [ + 0.7725, + 1 + ], + "matches": "y", + "showticklabels": false } } }, "text/html": [ - "
\n", - " \n", - " \n", - "
\n", - " \n", - "
" + " }) }; }); " ] }, "metadata": {}, @@ -41529,35 +41278,29 @@ }, { "cell_type": "code", - "execution_count": 44, + "execution_count": 18, "metadata": {}, "outputs": [ { "data": { "application/vnd.plotly.v1+json": { "config": { - "linkText": "Export to plot.ly", - "plotlyServerURL": "https://plot.ly", - "showLink": false + "plotlyServerURL": "https://plot.ly" }, "data": [ { "alignmentgroup": "True", - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "smoker=No
time=Lunch
day=Thur
sex=%{x}
tip=%{y}", - "legendgroup": "smoker=No", + "hovertemplate": "smoker=No
time=Lunch
day=Thur
sex=%{x}
tip=%{y}", + "legendgroup": "No", "marker": { "color": "#636efa" }, - "name": "smoker=No", + "name": "No", "notched": false, - "offsetgroup": "smoker=No", + "offsetgroup": "No", "orientation": "v", "showlegend": true, "type": "box", - "uid": "cd463482-4b60-460f-a381-d56bfbace658", "x": [ "Male", "Male", @@ -41605,7 +41348,7 @@ "Male" ], "x0": " ", - "xaxis": "x", + "xaxis": "x5", "y": [ 4, 3, @@ -41653,53 +41396,45 @@ 1.44 ], "y0": " ", - "yaxis": "y" + "yaxis": "y5" }, { "alignmentgroup": "True", - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "smoker=No
time=Lunch
day=Fri
sex=%{x}
tip=%{y}", - "legendgroup": "smoker=No", + "hovertemplate": "smoker=No
time=Lunch
day=Fri
sex=%{x}
tip=%{y}", + "legendgroup": "No", "marker": { "color": "#636efa" }, - "name": "smoker=No", + "name": "No", "notched": false, - "offsetgroup": "smoker=No", + "offsetgroup": "No", "orientation": "v", "showlegend": false, "type": "box", - "uid": "a0f6c871-8668-4260-929d-12c878324964", "x": [ "Female" ], "x0": " ", - "xaxis": "x2", + "xaxis": "x6", "y": [ 3 ], "y0": " ", - "yaxis": "y" + "yaxis": "y6" }, { "alignmentgroup": "True", - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "smoker=No
time=Dinner
day=Thur
sex=%{x}
tip=%{y}", - "legendgroup": "smoker=No", + "hovertemplate": "smoker=No
time=Dinner
day=Thur
sex=%{x}
tip=%{y}", + "legendgroup": "No", "marker": { "color": "#636efa" }, - "name": "smoker=No", + "name": "No", "notched": false, - "offsetgroup": "smoker=No", + "offsetgroup": "No", "orientation": "v", "showlegend": false, "type": "box", - "uid": "a6e09f01-ff37-431f-8b95-b1d8d1520b41", "x": [ "Female" ], @@ -41709,25 +41444,21 @@ 3 ], "y0": " ", - "yaxis": "y2" + "yaxis": "y" }, { "alignmentgroup": "True", - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "smoker=No
time=Dinner
day=Fri
sex=%{x}
tip=%{y}", - "legendgroup": "smoker=No", + "hovertemplate": "smoker=No
time=Dinner
day=Fri
sex=%{x}
tip=%{y}", + "legendgroup": "No", "marker": { "color": "#636efa" }, - "name": "smoker=No", + "name": "No", "notched": false, - "offsetgroup": "smoker=No", + "offsetgroup": "No", "orientation": "v", "showlegend": false, "type": "box", - "uid": "8e33d078-4645-408f-940c-4b076618f3cb", "x": [ "Male", "Female", @@ -41745,21 +41476,17 @@ }, { "alignmentgroup": "True", - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "smoker=No
time=Dinner
day=Sat
sex=%{x}
tip=%{y}", - "legendgroup": "smoker=No", + "hovertemplate": "smoker=No
time=Dinner
day=Sat
sex=%{x}
tip=%{y}", + "legendgroup": "No", "marker": { "color": "#636efa" }, - "name": "smoker=No", + "name": "No", "notched": false, - "offsetgroup": "smoker=No", + "offsetgroup": "No", "orientation": "v", "showlegend": false, "type": "box", - "uid": "038ff1d2-55d0-4664-a323-89fb0e6ec320", "x": [ "Male", "Male", @@ -41857,25 +41584,21 @@ 1.75 ], "y0": " ", - "yaxis": "y2" + "yaxis": "y3" }, { "alignmentgroup": "True", - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "smoker=No
time=Dinner
day=Sun
sex=%{x}
tip=%{y}", - "legendgroup": "smoker=No", + "hovertemplate": "smoker=No
time=Dinner
day=Sun
sex=%{x}
tip=%{y}", + "legendgroup": "No", "marker": { "color": "#636efa" }, - "name": "smoker=No", + "name": "No", "notched": false, - "offsetgroup": "smoker=No", + "offsetgroup": "No", "orientation": "v", "showlegend": false, "type": "box", - "uid": "74f912ae-868d-41db-a859-d82d2a9cdda7", "x": [ "Female", "Male", @@ -41997,25 +41720,21 @@ 5 ], "y0": " ", - "yaxis": "y2" + "yaxis": "y4" }, { "alignmentgroup": "True", - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "smoker=Yes
time=Lunch
day=Thur
sex=%{x}
tip=%{y}", - "legendgroup": "smoker=Yes", + "hovertemplate": "smoker=Yes
time=Lunch
day=Thur
sex=%{x}
tip=%{y}", + "legendgroup": "Yes", "marker": { "color": "#EF553B" }, - "name": "smoker=Yes", + "name": "Yes", "notched": false, - "offsetgroup": "smoker=Yes", + "offsetgroup": "Yes", "orientation": "v", "showlegend": true, "type": "box", - "uid": "d568a32a-691b-4747-a6f4-ea33042a00a1", "x": [ "Male", "Male", @@ -42036,7 +41755,7 @@ "Female" ], "x0": " ", - "xaxis": "x", + "xaxis": "x5", "y": [ 3, 5, @@ -42057,25 +41776,21 @@ 3.23 ], "y0": " ", - "yaxis": "y" + "yaxis": "y5" }, { "alignmentgroup": "True", - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "smoker=Yes
time=Lunch
day=Fri
sex=%{x}
tip=%{y}", - "legendgroup": "smoker=Yes", + "hovertemplate": "smoker=Yes
time=Lunch
day=Fri
sex=%{x}
tip=%{y}", + "legendgroup": "Yes", "marker": { "color": "#EF553B" }, - "name": "smoker=Yes", + "name": "Yes", "notched": false, - "offsetgroup": "smoker=Yes", + "offsetgroup": "Yes", "orientation": "v", "showlegend": false, "type": "box", - "uid": "02b5ee09-abd0-47a0-851e-e180add154ea", "x": [ "Male", "Female", @@ -42085,7 +41800,7 @@ "Female" ], "x0": " ", - "xaxis": "x2", + "xaxis": "x6", "y": [ 2.2, 3.48, @@ -42095,25 +41810,21 @@ 2 ], "y0": " ", - "yaxis": "y" + "yaxis": "y6" }, { "alignmentgroup": "True", - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "smoker=Yes
time=Dinner
day=Fri
sex=%{x}
tip=%{y}", - "legendgroup": "smoker=Yes", + "hovertemplate": "smoker=Yes
time=Dinner
day=Fri
sex=%{x}
tip=%{y}", + "legendgroup": "Yes", "marker": { "color": "#EF553B" }, - "name": "smoker=Yes", + "name": "Yes", "notched": false, - "offsetgroup": "smoker=Yes", + "offsetgroup": "Yes", "orientation": "v", "showlegend": false, "type": "box", - "uid": "51849364-21ac-4f5d-8b6f-d9bcce1e5849", "x": [ "Male", "Female", @@ -42143,21 +41854,17 @@ }, { "alignmentgroup": "True", - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "smoker=Yes
time=Dinner
day=Sat
sex=%{x}
tip=%{y}", - "legendgroup": "smoker=Yes", + "hovertemplate": "smoker=Yes
time=Dinner
day=Sat
sex=%{x}
tip=%{y}", + "legendgroup": "Yes", "marker": { "color": "#EF553B" }, - "name": "smoker=Yes", + "name": "Yes", "notched": false, - "offsetgroup": "smoker=Yes", + "offsetgroup": "Yes", "orientation": "v", "showlegend": false, "type": "box", - "uid": "ad94ec1f-9c7c-4f25-9dd2-a658b62b5316", "x": [ "Male", "Male", @@ -42249,25 +41956,21 @@ 2 ], "y0": " ", - "yaxis": "y2" + "yaxis": "y3" }, { "alignmentgroup": "True", - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "smoker=Yes
time=Dinner
day=Sun
sex=%{x}
tip=%{y}", - "legendgroup": "smoker=Yes", + "hovertemplate": "smoker=Yes
time=Dinner
day=Sun
sex=%{x}
tip=%{y}", + "legendgroup": "Yes", "marker": { "color": "#EF553B" }, - "name": "smoker=Yes", + "name": "Yes", "notched": false, - "offsetgroup": "smoker=Yes", + "offsetgroup": "Yes", "orientation": "v", "showlegend": false, "type": "box", - "uid": "23ecc4e1-2d68-4d66-8e98-104021aa92cb", "x": [ "Female", "Male", @@ -42313,97 +42016,85 @@ 1.5 ], "y0": " ", - "yaxis": "y2" + "yaxis": "y4" } ], "layout": { "annotations": [ { + "font": {}, "showarrow": false, "text": "day=Thur", - "textangle": 0, - "x": 0.1153846153846154, + "x": 0.11499999999999999, "xanchor": "center", "xref": "paper", - "y": 1.02, - "yanchor": "middle", + "y": 1, + "yanchor": "bottom", "yref": "paper" }, { + "font": {}, "showarrow": false, "text": "day=Fri", - "textangle": 0, - "x": 0.3717948717948718, + "x": 0.365, "xanchor": "center", "xref": "paper", - "y": 1.02, - "yanchor": "middle", + "y": 1, + "yanchor": "bottom", "yref": "paper" }, { + "font": {}, "showarrow": false, "text": "day=Sat", - "textangle": 0, - "x": 0.6282051282051283, + "x": 0.615, "xanchor": "center", "xref": "paper", - "y": 1.02, - "yanchor": "middle", + "y": 1, + "yanchor": "bottom", "yref": "paper" }, { + "font": {}, "showarrow": false, "text": "day=Sun", - "textangle": 0, - "x": 0.8846153846153848, + "x": 0.865, "xanchor": "center", "xref": "paper", - "y": 1.02, - "yanchor": "middle", + "y": 1, + "yanchor": "bottom", "yref": "paper" }, { + "font": {}, "showarrow": false, - "text": "time=Lunch", + "text": "time=Dinner", "textangle": 90, - "x": 1.01, - "xanchor": "center", + "x": 0.98, + "xanchor": "left", "xref": "paper", - "y": 0.763157894736842, + "y": 0.2425, "yanchor": "middle", "yref": "paper" }, { + "font": {}, "showarrow": false, - "text": "time=Dinner", + "text": "time=Lunch", "textangle": 90, - "x": 1.01, - "xanchor": "center", + "x": 0.98, + "xanchor": "left", "xref": "paper", - "y": 0.23684210526315788, + "y": 0.7575000000000001, "yanchor": "middle", "yref": "paper" } ], "boxmode": "group", - "grid": { - "xaxes": [ - "x", - "x2", - "x3", - "x4" - ], - "xgap": 0.1, - "xside": "bottom", - "yaxes": [ - "y", - "y2" - ], - "ygap": 0.1, - "yside": "left" - }, - "height": 600, "legend": { + "title": { + "text": "smoker" + }, "tracegroupgap": 0 }, "margin": { @@ -42413,6 +42104,12 @@ "data": { "bar": [ { + "error_x": { + "color": "#2a3f5f" + }, + "error_y": { + "color": "#2a3f5f" + }, "marker": { "line": { "color": "#E5ECF6", @@ -42470,55 +42167,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "contour" @@ -42542,81 +42227,49 @@ "colorscale": [ [ 0, - "#0508b8" + "#0d0887" ], [ - 0.0893854748603352, - "#1910d8" + 0.1111111111111111, + "#46039f" ], [ - 0.1787709497206704, - "#3c19f0" + 0.2222222222222222, + "#7201a8" ], [ - 0.2681564245810056, - "#6b1cfb" + 0.3333333333333333, + "#9c179e" ], [ - 0.3575418994413408, - "#981cfd" + 0.4444444444444444, + "#bd3786" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.5555555555555556, + "#d8576b" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.6666666666666666, + "#ed7953" ], [ - 0.6256983240223464, - "#f246fe" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.7150837988826816, - "#fc67fd" - ], - [ - 0.8044692737430168, - "#fe88fc" - ], - [ - 0.8938547486033519, - "#fea5fd" - ], - [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "heatmap" } ], "heatmapgl": [ - { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - }, - "type": "heatmapgl" - } - ], - "histogram": [ - { - "marker": { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - } - }, - "type": "histogram" - } - ], - "histogram2d": [ { "colorbar": { "outlinewidth": 0, @@ -42625,55 +42278,105 @@ "colorscale": [ [ 0, - "#0508b8" + "#0d0887" ], [ - 0.0893854748603352, - "#1910d8" + 0.1111111111111111, + "#46039f" ], [ - 0.1787709497206704, - "#3c19f0" + 0.2222222222222222, + "#7201a8" ], [ - 0.2681564245810056, - "#6b1cfb" + 0.3333333333333333, + "#9c179e" ], [ - 0.3575418994413408, - "#981cfd" + 0.4444444444444444, + "#bd3786" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.5555555555555556, + "#d8576b" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.6666666666666666, + "#ed7953" ], [ - 0.6256983240223464, - "#f246fe" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.7150837988826816, - "#fc67fd" + 0.8888888888888888, + "#fdca26" ], [ - 0.8044692737430168, - "#fe88fc" + 1, + "#f0f921" + ] + ], + "type": "heatmapgl" + } + ], + "histogram": [ + { + "marker": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, + "type": "histogram" + } + ], + "histogram2d": [ + { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + }, + "colorscale": [ + [ + 0, + "#0d0887" + ], + [ + 0.1111111111111111, + "#46039f" + ], + [ + 0.2222222222222222, + "#7201a8" + ], + [ + 0.3333333333333333, + "#9c179e" ], [ - 0.8938547486033519, - "#fea5fd" + 0.4444444444444444, + "#bd3786" ], [ - 0.9832402234636871, - "#febefe" + 0.5555555555555556, + "#d8576b" + ], + [ + 0.6666666666666666, + "#ed7953" + ], + [ + 0.7777777777777778, + "#fb9f3a" + ], + [ + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "histogram2d" @@ -42688,55 +42391,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "histogram2dcontour" @@ -42762,6 +42453,12 @@ "type": "parcoords" } ], + "pie": [ + { + "automargin": true, + "type": "pie" + } + ], "scatter": [ { "marker": { @@ -42775,6 +42472,12 @@ ], "scatter3d": [ { + "line": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, "marker": { "colorbar": { "outlinewidth": 0, @@ -42867,6 +42570,48 @@ "outlinewidth": 0, "ticks": "" }, + "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" + ] + ], "type": "surface" } ], @@ -42894,10 +42639,17 @@ }, "layout": { "annotationdefaults": { - "arrowcolor": "#506784", + "arrowcolor": "#2a3f5f", "arrowhead": 0, "arrowwidth": 1 }, + "autotypenumbers": "strict", + "coloraxis": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, "colorscale": { "diverging": [ [ @@ -42948,109 +42700,85 @@ "sequential": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "sequentialminus": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ] }, @@ -43059,12 +42787,12 @@ "#EF553B", "#00cc96", "#ab63fa", - "#19d3f3", - "#e763fa", - "#FECB52", "#FFA15A", + "#19d3f3", "#FF6692", - "#B6E880" + "#B6E880", + "#FF97FF", + "#FECB52" ], "font": { "color": "#2a3f5f" @@ -43129,11 +42857,9 @@ } }, "shapedefaults": { - "fillcolor": "#506784", "line": { - "width": 0 - }, - "opacity": 0.4 + "color": "#2a3f5f" + } }, "ternary": { "aaxis": { @@ -43161,6 +42887,9 @@ "gridcolor": "white", "linecolor": "white", "ticks": "", + "title": { + "standoff": 15 + }, "zerolinecolor": "white", "zerolinewidth": 2 }, @@ -43169,66 +42898,174 @@ "gridcolor": "white", "linecolor": "white", "ticks": "", + "title": { + "standoff": 15 + }, "zerolinecolor": "white", "zerolinewidth": 2 } } }, "xaxis": { + "anchor": "y", + "domain": [ + 0, + 0.22999999999999998 + ], "title": { "text": "sex" } }, "xaxis2": { + "anchor": "y2", + "domain": [ + 0.24999999999999997, + 0.48 + ], "matches": "x", "title": { "text": "sex" } }, "xaxis3": { + "anchor": "y3", + "domain": [ + 0.49999999999999994, + 0.73 + ], "matches": "x", "title": { "text": "sex" } }, "xaxis4": { + "anchor": "y4", + "domain": [ + 0.75, + 0.98 + ], "matches": "x", "title": { "text": "sex" } }, + "xaxis5": { + "anchor": "y5", + "domain": [ + 0, + 0.22999999999999998 + ], + "matches": "x", + "showticklabels": false + }, + "xaxis6": { + "anchor": "y6", + "domain": [ + 0.24999999999999997, + 0.48 + ], + "matches": "x", + "showticklabels": false + }, + "xaxis7": { + "anchor": "y7", + "domain": [ + 0.49999999999999994, + 0.73 + ], + "matches": "x", + "showticklabels": false + }, + "xaxis8": { + "anchor": "y8", + "domain": [ + 0.75, + 0.98 + ], + "matches": "x", + "showticklabels": false + }, "yaxis": { + "anchor": "x", + "domain": [ + 0, + 0.485 + ], "title": { "text": "tip" } }, "yaxis2": { + "anchor": "x2", + "domain": [ + 0, + 0.485 + ], + "matches": "y", + "showticklabels": false + }, + "yaxis3": { + "anchor": "x3", + "domain": [ + 0, + 0.485 + ], + "matches": "y", + "showticklabels": false + }, + "yaxis4": { + "anchor": "x4", + "domain": [ + 0, + 0.485 + ], + "matches": "y", + "showticklabels": false + }, + "yaxis5": { + "anchor": "x5", + "domain": [ + 0.515, + 1 + ], "matches": "y", "title": { "text": "tip" } + }, + "yaxis6": { + "anchor": "x6", + "domain": [ + 0.515, + 1 + ], + "matches": "y", + "showticklabels": false + }, + "yaxis7": { + "anchor": "x7", + "domain": [ + 0.515, + 1 + ], + "matches": "y", + "showticklabels": false + }, + "yaxis8": { + "anchor": "x8", + "domain": [ + 0.515, + 1 + ], + "matches": "y", + "showticklabels": false } } }, "text/html": [ - "
\n", - " \n", - " \n", - "
\n", - " \n", - "
" + " }) }; }); " ] }, "metadata": {}, @@ -43268,16 +43101,14 @@ }, { "cell_type": "code", - "execution_count": 45, + "execution_count": 19, "metadata": {}, "outputs": [ { "data": { "application/vnd.plotly.v1+json": { "config": { - "linkText": "Export to plot.ly", - "plotlyServerURL": "https://plot.ly", - "showLink": false + "plotlyServerURL": "https://plot.ly" }, "data": [ { @@ -43285,21 +43116,17 @@ "box": { "visible": false }, - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "smoker=No
time=Lunch
day=Thur
sex=%{x}
tip=%{y}", - "legendgroup": "smoker=No", + "hovertemplate": "smoker=No
time=Lunch
day=Thur
sex=%{x}
tip=%{y}", + "legendgroup": "No", "marker": { "color": "#636efa" }, - "name": "smoker=No", - "offsetgroup": "smoker=No", + "name": "No", + "offsetgroup": "No", "orientation": "v", "scalegroup": "True", "showlegend": true, "type": "violin", - "uid": "0632497e-53f8-4e5e-8b13-b615bc142bec", "x": [ "Male", "Male", @@ -43347,7 +43174,7 @@ "Male" ], "x0": " ", - "xaxis": "x", + "xaxis": "x5", "y": [ 4, 3, @@ -43395,59 +43222,51 @@ 1.44 ], "y0": " ", - "yaxis": "y" + "yaxis": "y5" }, { "alignmentgroup": "True", "box": { "visible": false }, - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "smoker=No
time=Lunch
day=Fri
sex=%{x}
tip=%{y}", - "legendgroup": "smoker=No", + "hovertemplate": "smoker=No
time=Lunch
day=Fri
sex=%{x}
tip=%{y}", + "legendgroup": "No", "marker": { "color": "#636efa" }, - "name": "smoker=No", - "offsetgroup": "smoker=No", + "name": "No", + "offsetgroup": "No", "orientation": "v", "scalegroup": "True", "showlegend": false, "type": "violin", - "uid": "abe53957-85df-408c-b809-174d110b152d", "x": [ "Female" ], "x0": " ", - "xaxis": "x2", + "xaxis": "x6", "y": [ 3 ], "y0": " ", - "yaxis": "y" + "yaxis": "y6" }, { "alignmentgroup": "True", "box": { "visible": false }, - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "smoker=No
time=Dinner
day=Thur
sex=%{x}
tip=%{y}", - "legendgroup": "smoker=No", + "hovertemplate": "smoker=No
time=Dinner
day=Thur
sex=%{x}
tip=%{y}", + "legendgroup": "No", "marker": { "color": "#636efa" }, - "name": "smoker=No", - "offsetgroup": "smoker=No", + "name": "No", + "offsetgroup": "No", "orientation": "v", "scalegroup": "True", "showlegend": false, "type": "violin", - "uid": "bc7159f9-802b-4f43-8991-67b531ab5ac6", "x": [ "Female" ], @@ -43457,28 +43276,24 @@ 3 ], "y0": " ", - "yaxis": "y2" + "yaxis": "y" }, { "alignmentgroup": "True", "box": { "visible": false }, - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "smoker=No
time=Dinner
day=Fri
sex=%{x}
tip=%{y}", - "legendgroup": "smoker=No", + "hovertemplate": "smoker=No
time=Dinner
day=Fri
sex=%{x}
tip=%{y}", + "legendgroup": "No", "marker": { "color": "#636efa" }, - "name": "smoker=No", - "offsetgroup": "smoker=No", + "name": "No", + "offsetgroup": "No", "orientation": "v", "scalegroup": "True", "showlegend": false, "type": "violin", - "uid": "71d68c76-e816-40de-bb31-de0067c0c988", "x": [ "Male", "Female", @@ -43499,21 +43314,17 @@ "box": { "visible": false }, - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "smoker=No
time=Dinner
day=Sat
sex=%{x}
tip=%{y}", - "legendgroup": "smoker=No", + "hovertemplate": "smoker=No
time=Dinner
day=Sat
sex=%{x}
tip=%{y}", + "legendgroup": "No", "marker": { "color": "#636efa" }, - "name": "smoker=No", - "offsetgroup": "smoker=No", + "name": "No", + "offsetgroup": "No", "orientation": "v", "scalegroup": "True", "showlegend": false, "type": "violin", - "uid": "f347c24d-ceab-4191-8503-437cfae12bcc", "x": [ "Male", "Male", @@ -43611,28 +43422,24 @@ 1.75 ], "y0": " ", - "yaxis": "y2" + "yaxis": "y3" }, { "alignmentgroup": "True", "box": { "visible": false }, - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "smoker=No
time=Dinner
day=Sun
sex=%{x}
tip=%{y}", - "legendgroup": "smoker=No", + "hovertemplate": "smoker=No
time=Dinner
day=Sun
sex=%{x}
tip=%{y}", + "legendgroup": "No", "marker": { "color": "#636efa" }, - "name": "smoker=No", - "offsetgroup": "smoker=No", + "name": "No", + "offsetgroup": "No", "orientation": "v", "scalegroup": "True", "showlegend": false, "type": "violin", - "uid": "93868c69-0239-4a0e-aded-3ae49efa991d", "x": [ "Female", "Male", @@ -43754,28 +43561,24 @@ 5 ], "y0": " ", - "yaxis": "y2" + "yaxis": "y4" }, { "alignmentgroup": "True", "box": { "visible": false }, - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "smoker=Yes
time=Lunch
day=Thur
sex=%{x}
tip=%{y}", - "legendgroup": "smoker=Yes", + "hovertemplate": "smoker=Yes
time=Lunch
day=Thur
sex=%{x}
tip=%{y}", + "legendgroup": "Yes", "marker": { "color": "#EF553B" }, - "name": "smoker=Yes", - "offsetgroup": "smoker=Yes", + "name": "Yes", + "offsetgroup": "Yes", "orientation": "v", "scalegroup": "True", "showlegend": true, "type": "violin", - "uid": "6d94aa75-f3ee-4ba5-8e83-a7dbda660348", "x": [ "Male", "Male", @@ -43796,7 +43599,7 @@ "Female" ], "x0": " ", - "xaxis": "x", + "xaxis": "x5", "y": [ 3, 5, @@ -43817,28 +43620,24 @@ 3.23 ], "y0": " ", - "yaxis": "y" + "yaxis": "y5" }, { "alignmentgroup": "True", "box": { "visible": false }, - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "smoker=Yes
time=Lunch
day=Fri
sex=%{x}
tip=%{y}", - "legendgroup": "smoker=Yes", + "hovertemplate": "smoker=Yes
time=Lunch
day=Fri
sex=%{x}
tip=%{y}", + "legendgroup": "Yes", "marker": { "color": "#EF553B" }, - "name": "smoker=Yes", - "offsetgroup": "smoker=Yes", + "name": "Yes", + "offsetgroup": "Yes", "orientation": "v", "scalegroup": "True", "showlegend": false, "type": "violin", - "uid": "cfed2c77-8dc6-449f-9e2e-f63fea044fce", "x": [ "Male", "Female", @@ -43848,7 +43647,7 @@ "Female" ], "x0": " ", - "xaxis": "x2", + "xaxis": "x6", "y": [ 2.2, 3.48, @@ -43858,28 +43657,24 @@ 2 ], "y0": " ", - "yaxis": "y" + "yaxis": "y6" }, { "alignmentgroup": "True", "box": { "visible": false }, - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "smoker=Yes
time=Dinner
day=Fri
sex=%{x}
tip=%{y}", - "legendgroup": "smoker=Yes", + "hovertemplate": "smoker=Yes
time=Dinner
day=Fri
sex=%{x}
tip=%{y}", + "legendgroup": "Yes", "marker": { "color": "#EF553B" }, - "name": "smoker=Yes", - "offsetgroup": "smoker=Yes", + "name": "Yes", + "offsetgroup": "Yes", "orientation": "v", "scalegroup": "True", "showlegend": false, "type": "violin", - "uid": "269af9b2-4c67-4e16-84aa-6ff2f0d9e3d7", "x": [ "Male", "Female", @@ -43912,21 +43707,17 @@ "box": { "visible": false }, - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "smoker=Yes
time=Dinner
day=Sat
sex=%{x}
tip=%{y}", - "legendgroup": "smoker=Yes", + "hovertemplate": "smoker=Yes
time=Dinner
day=Sat
sex=%{x}
tip=%{y}", + "legendgroup": "Yes", "marker": { "color": "#EF553B" }, - "name": "smoker=Yes", - "offsetgroup": "smoker=Yes", + "name": "Yes", + "offsetgroup": "Yes", "orientation": "v", "scalegroup": "True", "showlegend": false, "type": "violin", - "uid": "bb49c41f-4cd7-42de-9b75-00644fb50f91", "x": [ "Male", "Male", @@ -44018,28 +43809,24 @@ 2 ], "y0": " ", - "yaxis": "y2" + "yaxis": "y3" }, { "alignmentgroup": "True", "box": { "visible": false }, - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "smoker=Yes
time=Dinner
day=Sun
sex=%{x}
tip=%{y}", - "legendgroup": "smoker=Yes", + "hovertemplate": "smoker=Yes
time=Dinner
day=Sun
sex=%{x}
tip=%{y}", + "legendgroup": "Yes", "marker": { "color": "#EF553B" }, - "name": "smoker=Yes", - "offsetgroup": "smoker=Yes", + "name": "Yes", + "offsetgroup": "Yes", "orientation": "v", "scalegroup": "True", "showlegend": false, "type": "violin", - "uid": "08119246-b9aa-40f5-abfe-0f622be18ac0", "x": [ "Female", "Male", @@ -44085,96 +43872,84 @@ 1.5 ], "y0": " ", - "yaxis": "y2" + "yaxis": "y4" } ], "layout": { "annotations": [ { + "font": {}, "showarrow": false, "text": "day=Thur", - "textangle": 0, - "x": 0.1153846153846154, + "x": 0.11499999999999999, "xanchor": "center", "xref": "paper", - "y": 1.02, - "yanchor": "middle", + "y": 1, + "yanchor": "bottom", "yref": "paper" }, { + "font": {}, "showarrow": false, "text": "day=Fri", - "textangle": 0, - "x": 0.3717948717948718, + "x": 0.365, "xanchor": "center", "xref": "paper", - "y": 1.02, - "yanchor": "middle", + "y": 1, + "yanchor": "bottom", "yref": "paper" }, { + "font": {}, "showarrow": false, "text": "day=Sat", - "textangle": 0, - "x": 0.6282051282051283, + "x": 0.615, "xanchor": "center", "xref": "paper", - "y": 1.02, - "yanchor": "middle", + "y": 1, + "yanchor": "bottom", "yref": "paper" }, { + "font": {}, "showarrow": false, "text": "day=Sun", - "textangle": 0, - "x": 0.8846153846153848, + "x": 0.865, "xanchor": "center", "xref": "paper", - "y": 1.02, - "yanchor": "middle", + "y": 1, + "yanchor": "bottom", "yref": "paper" }, { + "font": {}, "showarrow": false, - "text": "time=Lunch", + "text": "time=Dinner", "textangle": 90, - "x": 1.01, - "xanchor": "center", + "x": 0.98, + "xanchor": "left", "xref": "paper", - "y": 0.763157894736842, + "y": 0.2425, "yanchor": "middle", "yref": "paper" }, { + "font": {}, "showarrow": false, - "text": "time=Dinner", + "text": "time=Lunch", "textangle": 90, - "x": 1.01, - "xanchor": "center", + "x": 0.98, + "xanchor": "left", "xref": "paper", - "y": 0.23684210526315788, + "y": 0.7575000000000001, "yanchor": "middle", "yref": "paper" } ], - "grid": { - "xaxes": [ - "x", - "x2", - "x3", - "x4" - ], - "xgap": 0.1, - "xside": "bottom", - "yaxes": [ - "y", - "y2" - ], - "ygap": 0.1, - "yside": "left" - }, - "height": 600, "legend": { + "title": { + "text": "smoker" + }, "tracegroupgap": 0 }, "margin": { @@ -44184,6 +43959,12 @@ "data": { "bar": [ { + "error_x": { + "color": "#2a3f5f" + }, + "error_y": { + "color": "#2a3f5f" + }, "marker": { "line": { "color": "#E5ECF6", @@ -44241,55 +44022,43 @@ "colorscale": [ [ 0, - "#0508b8" + "#0d0887" ], [ - 0.0893854748603352, - "#1910d8" + 0.1111111111111111, + "#46039f" ], [ - 0.1787709497206704, - "#3c19f0" + 0.2222222222222222, + "#7201a8" ], [ - 0.2681564245810056, - "#6b1cfb" + 0.3333333333333333, + "#9c179e" ], [ - 0.3575418994413408, - "#981cfd" + 0.4444444444444444, + "#bd3786" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.5555555555555556, + "#d8576b" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.6666666666666666, + "#ed7953" ], [ - 0.6256983240223464, - "#f246fe" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.7150837988826816, - "#fc67fd" - ], - [ - 0.8044692737430168, - "#fe88fc" - ], - [ - 0.8938547486033519, - "#fea5fd" - ], - [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "contour" @@ -44313,55 +44082,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" + "#0d0887" ], [ - 0.1787709497206704, - "#3c19f0" + 0.1111111111111111, + "#46039f" ], [ - 0.2681564245810056, - "#6b1cfb" + 0.2222222222222222, + "#7201a8" ], [ - 0.3575418994413408, - "#981cfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.4444444444444444, + "#bd3786" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.5555555555555556, + "#d8576b" ], [ - 0.6256983240223464, - "#f246fe" + 0.6666666666666666, + "#ed7953" ], [ - 0.7150837988826816, - "#fc67fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.8044692737430168, - "#fe88fc" - ], - [ - 0.8938547486033519, - "#fea5fd" - ], - [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "heatmap" @@ -44373,6 +44130,48 @@ "outlinewidth": 0, "ticks": "" }, + "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" + ] + ], "type": "heatmapgl" } ], @@ -44396,55 +44195,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "histogram2d" @@ -44459,55 +44246,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "histogram2dcontour" @@ -44533,6 +44308,12 @@ "type": "parcoords" } ], + "pie": [ + { + "automargin": true, + "type": "pie" + } + ], "scatter": [ { "marker": { @@ -44546,6 +44327,12 @@ ], "scatter3d": [ { + "line": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, "marker": { "colorbar": { "outlinewidth": 0, @@ -44638,6 +44425,48 @@ "outlinewidth": 0, "ticks": "" }, + "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" + ] + ], "type": "surface" } ], @@ -44665,10 +44494,17 @@ }, "layout": { "annotationdefaults": { - "arrowcolor": "#506784", + "arrowcolor": "#2a3f5f", "arrowhead": 0, "arrowwidth": 1 }, + "autotypenumbers": "strict", + "coloraxis": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, "colorscale": { "diverging": [ [ @@ -44719,109 +44555,85 @@ "sequential": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "sequentialminus": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ] }, @@ -44830,12 +44642,12 @@ "#EF553B", "#00cc96", "#ab63fa", - "#19d3f3", - "#e763fa", - "#FECB52", "#FFA15A", + "#19d3f3", "#FF6692", - "#B6E880" + "#B6E880", + "#FF97FF", + "#FECB52" ], "font": { "color": "#2a3f5f" @@ -44900,11 +44712,9 @@ } }, "shapedefaults": { - "fillcolor": "#506784", "line": { - "width": 0 - }, - "opacity": 0.4 + "color": "#2a3f5f" + } }, "ternary": { "aaxis": { @@ -44932,6 +44742,9 @@ "gridcolor": "white", "linecolor": "white", "ticks": "", + "title": { + "standoff": 15 + }, "zerolinecolor": "white", "zerolinewidth": 2 }, @@ -44940,6 +44753,9 @@ "gridcolor": "white", "linecolor": "white", "ticks": "", + "title": { + "standoff": 15 + }, "zerolinecolor": "white", "zerolinewidth": 2 } @@ -44947,60 +44763,165 @@ }, "violinmode": "group", "xaxis": { + "anchor": "y", + "domain": [ + 0, + 0.22999999999999998 + ], "title": { "text": "sex" } }, "xaxis2": { + "anchor": "y2", + "domain": [ + 0.24999999999999997, + 0.48 + ], "matches": "x", "title": { "text": "sex" } }, "xaxis3": { + "anchor": "y3", + "domain": [ + 0.49999999999999994, + 0.73 + ], "matches": "x", "title": { "text": "sex" } }, "xaxis4": { + "anchor": "y4", + "domain": [ + 0.75, + 0.98 + ], "matches": "x", "title": { "text": "sex" } }, + "xaxis5": { + "anchor": "y5", + "domain": [ + 0, + 0.22999999999999998 + ], + "matches": "x", + "showticklabels": false + }, + "xaxis6": { + "anchor": "y6", + "domain": [ + 0.24999999999999997, + 0.48 + ], + "matches": "x", + "showticklabels": false + }, + "xaxis7": { + "anchor": "y7", + "domain": [ + 0.49999999999999994, + 0.73 + ], + "matches": "x", + "showticklabels": false + }, + "xaxis8": { + "anchor": "y8", + "domain": [ + 0.75, + 0.98 + ], + "matches": "x", + "showticklabels": false + }, "yaxis": { + "anchor": "x", + "domain": [ + 0, + 0.485 + ], "title": { "text": "tip" } }, "yaxis2": { + "anchor": "x2", + "domain": [ + 0, + 0.485 + ], + "matches": "y", + "showticklabels": false + }, + "yaxis3": { + "anchor": "x3", + "domain": [ + 0, + 0.485 + ], + "matches": "y", + "showticklabels": false + }, + "yaxis4": { + "anchor": "x4", + "domain": [ + 0, + 0.485 + ], + "matches": "y", + "showticklabels": false + }, + "yaxis5": { + "anchor": "x5", + "domain": [ + 0.515, + 1 + ], "matches": "y", "title": { "text": "tip" } + }, + "yaxis6": { + "anchor": "x6", + "domain": [ + 0.515, + 1 + ], + "matches": "y", + "showticklabels": false + }, + "yaxis7": { + "anchor": "x7", + "domain": [ + 0.515, + 1 + ], + "matches": "y", + "showticklabels": false + }, + "yaxis8": { + "anchor": "x8", + "domain": [ + 0.515, + 1 + ], + "matches": "y", + "showticklabels": false } } }, "text/html": [ - "
\n", - " \n", - " \n", - "
\n", - " \n", - "
" + " }) }; }); " ] }, "metadata": {}, @@ -45040,16 +44957,14 @@ }, { "cell_type": "code", - "execution_count": 46, + "execution_count": 20, "metadata": {}, "outputs": [ { "data": { "application/vnd.plotly.v1+json": { "config": { - "linkText": "Export to plot.ly", - "plotlyServerURL": "https://plot.ly", - "showLink": false + "plotlyServerURL": "https://plot.ly" }, "data": [ { @@ -45095,14 +45010,11 @@ 1205, 224 ], - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

winner=Joly
result=plurality
Joly=%{a}
Coderre=%{b}
Bergeron=%{c}
total=%{marker.size}", + "hovertemplate": "%{hovertext}

winner=Joly
result=plurality
Joly=%{a}
Coderre=%{b}
Bergeron=%{c}
total=%{marker.size}", "hovertext": [ "101-Bois-de-Liesse", "102-Cap-Saint-Jacques", - "161-Saint-Henri?Petite-Bourgogne?Pointe-Saint-Charles", + "161-Saint-HenriPetite-BourgognePointe-Saint-Charles", "172-Desmarchais-Crawford", "181-Peter-McGill", "182-Saint-Jacques", @@ -45113,7 +45025,7 @@ "43-Fort-Rolland", "63-Jacques-Bizard" ], - "legendgroup": "winner=Joly, result=plurality", + "legendgroup": "Joly, plurality", "marker": { "color": "blue", "size": [ @@ -45135,10 +45047,10 @@ "symbol": "circle" }, "mode": "markers", - "name": "winner=Joly, result=plurality", + "name": "Joly, plurality", "showlegend": true, - "type": "scatterternary", - "uid": "e95a1947-94a2-4e05-8855-b4081a42fa0b" + "subplot": "ternary", + "type": "scatterternary" }, { "a": [ @@ -45153,15 +45065,12 @@ 258, 226 ], - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

winner=Joly
result=majority
Joly=%{a}
Coderre=%{b}
Bergeron=%{c}
total=%{marker.size}", + "hovertemplate": "%{hovertext}

winner=Joly
result=majority
Joly=%{a}
Coderre=%{b}
Bergeron=%{c}
total=%{marker.size}", "hovertext": [ "61-Pierre-Foretier", "62-Denis-Benjamin-Viger" ], - "legendgroup": "winner=Joly, result=majority", + "legendgroup": "Joly, majority", "marker": { "color": "blue", "size": [ @@ -45173,10 +45082,10 @@ "symbol": "diamond" }, "mode": "markers", - "name": "winner=Joly, result=majority", + "name": "Joly, majority", "showlegend": true, - "type": "scatterternary", - "uid": "4803bc48-5ccf-431a-b7ae-0a12c7fa7a57" + "subplot": "ternary", + "type": "scatterternary" }, { "a": [ @@ -45242,10 +45151,7 @@ 2178, 643 ], - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

winner=Coderre
result=plurality
Joly=%{a}
Coderre=%{b}
Bergeron=%{c}
total=%{marker.size}", + "hovertemplate": "%{hovertext}

winner=Coderre
result=plurality
Joly=%{a}
Coderre=%{b}
Bergeron=%{c}
total=%{marker.size}", "hovertext": [ "11-Sault-au-Récollet", "12-Saint-Sulpice", @@ -45253,8 +45159,8 @@ "14-Bordeaux-Cartierville", "141-Côte-de-Liesse", "142-Norman-McLaren", - "162-Saint-Paul?Émard", - "171-Champlain?L'╫le-des-Soeurs", + "162-Saint-PaulÉmard", + "171-ChamplainL'Île-des-Soeurs", "192-François-Perrault", "194-Parc-Extension", "22-Est", @@ -45267,7 +45173,7 @@ "74-Louis-Riel", "91-Claude-Ryan" ], - "legendgroup": "winner=Coderre, result=plurality", + "legendgroup": "Coderre, plurality", "marker": { "color": "red", "size": [ @@ -45296,10 +45202,10 @@ "symbol": "circle" }, "mode": "markers", - "name": "winner=Coderre, result=plurality", + "name": "Coderre, plurality", "showlegend": true, - "type": "scatterternary", - "uid": "1e35a26a-6a85-43fe-90a6-e19cc0d51b34" + "subplot": "ternary", + "type": "scatterternary" }, { "a": [ @@ -45338,10 +45244,7 @@ 1085, 780 ], - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

winner=Coderre
result=majority
Joly=%{a}
Coderre=%{b}
Bergeron=%{c}
total=%{marker.size}", + "hovertemplate": "%{hovertext}

winner=Coderre
result=majority
Joly=%{a}
Coderre=%{b}
Bergeron=%{c}
total=%{marker.size}", "hovertext": [ "121-La Pointe-aux-Prairies", "122-Pointe-aux-Trembles", @@ -45354,7 +45257,7 @@ "81-Marie-Clarac", "82-Ovide-Clermont" ], - "legendgroup": "winner=Coderre, result=majority", + "legendgroup": "Coderre, majority", "marker": { "color": "red", "size": [ @@ -45374,10 +45277,10 @@ "symbol": "diamond" }, "mode": "markers", - "name": "winner=Coderre, result=majority", + "name": "Coderre, majority", "showlegend": true, - "type": "scatterternary", - "uid": "c6f2b617-6cc5-48d6-b993-c0292ae66793" + "subplot": "ternary", + "type": "scatterternary" }, { "a": [ @@ -45416,23 +45319,20 @@ 465, 698 ], - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

winner=Bergeron
result=plurality
Joly=%{a}
Coderre=%{b}
Bergeron=%{c}
total=%{marker.size}", + "hovertemplate": "%{hovertext}

winner=Bergeron
result=plurality
Joly=%{a}
Coderre=%{b}
Bergeron=%{c}
total=%{marker.size}", "hovertext": [ "113-Jeanne-Mance", "13-Ahuntsic", "133-Vieux-Rosemont", "183-Sainte-Marie", "32-Côte-des-Neiges", - "72-Maisonneuve?Longue-Pointe", + "72-MaisonneuveLongue-Pointe", "73-Hochelaga", "92-Joseph-Beaubien", "93-Robert-Bourassa", "94-Jeanne-Sauvé" ], - "legendgroup": "winner=Bergeron, result=plurality", + "legendgroup": "Bergeron, plurality", "marker": { "color": "green", "size": [ @@ -45452,10 +45352,10 @@ "symbol": "circle" }, "mode": "markers", - "name": "winner=Bergeron, result=plurality", + "name": "Bergeron, plurality", "showlegend": true, - "type": "scatterternary", - "uid": "5aa559b8-5584-4de1-95d1-20fc8fb6a382" + "subplot": "ternary", + "type": "scatterternary" }, { "a": [ @@ -45479,10 +45379,7 @@ 5748, 5819 ], - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

winner=Bergeron
result=majority
Joly=%{a}
Coderre=%{b}
Bergeron=%{c}
total=%{marker.size}", + "hovertemplate": "%{hovertext}

winner=Bergeron
result=majority
Joly=%{a}
Coderre=%{b}
Bergeron=%{c}
total=%{marker.size}", "hovertext": [ "111-Mile-End", "112-DeLorimier", @@ -45490,7 +45387,7 @@ "132-Étienne-Desmarteau", "193-Villeray" ], - "legendgroup": "winner=Bergeron, result=majority", + "legendgroup": "Bergeron, majority", "marker": { "color": "green", "size": [ @@ -45505,16 +45402,18 @@ "symbol": "diamond" }, "mode": "markers", - "name": "winner=Bergeron, result=majority", + "name": "Bergeron, majority", "showlegend": true, - "type": "scatterternary", - "uid": "260d87a3-3ac8-41da-bdf2-730f1ee91c27" + "subplot": "ternary", + "type": "scatterternary" } ], "layout": { - "height": 600, "legend": { "itemsizing": "constant", + "title": { + "text": "winner, result" + }, "tracegroupgap": 0 }, "margin": { @@ -45524,6 +45423,12 @@ "data": { "bar": [ { + "error_x": { + "color": "#2a3f5f" + }, + "error_y": { + "color": "#2a3f5f" + }, "marker": { "line": { "color": "#E5ECF6", @@ -45581,55 +45486,43 @@ "colorscale": [ [ 0, - "#0508b8" + "#0d0887" ], [ - 0.0893854748603352, - "#1910d8" + 0.1111111111111111, + "#46039f" ], [ - 0.1787709497206704, - "#3c19f0" + 0.2222222222222222, + "#7201a8" ], [ - 0.2681564245810056, - "#6b1cfb" + 0.3333333333333333, + "#9c179e" ], [ - 0.3575418994413408, - "#981cfd" + 0.4444444444444444, + "#bd3786" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.5555555555555556, + "#d8576b" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.6666666666666666, + "#ed7953" ], [ - 0.6256983240223464, - "#f246fe" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.7150837988826816, - "#fc67fd" - ], - [ - 0.8044692737430168, - "#fe88fc" - ], - [ - 0.8938547486033519, - "#fea5fd" - ], - [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "contour" @@ -45653,81 +45546,49 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" + "#0d0887" ], [ - 0.1787709497206704, - "#3c19f0" + 0.1111111111111111, + "#46039f" ], [ - 0.2681564245810056, - "#6b1cfb" + 0.2222222222222222, + "#7201a8" ], [ - 0.3575418994413408, - "#981cfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.4444444444444444, + "#bd3786" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.5555555555555556, + "#d8576b" ], [ - 0.6256983240223464, - "#f246fe" + 0.6666666666666666, + "#ed7953" ], [ - 0.7150837988826816, - "#fc67fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.8044692737430168, - "#fe88fc" - ], - [ - 0.8938547486033519, - "#fea5fd" - ], - [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "heatmap" } ], "heatmapgl": [ - { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - }, - "type": "heatmapgl" - } - ], - "histogram": [ - { - "marker": { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - } - }, - "type": "histogram" - } - ], - "histogram2d": [ { "colorbar": { "outlinewidth": 0, @@ -45736,55 +45597,105 @@ "colorscale": [ [ 0, - "#0508b8" + "#0d0887" ], [ - 0.0893854748603352, - "#1910d8" + 0.1111111111111111, + "#46039f" ], [ - 0.1787709497206704, - "#3c19f0" + 0.2222222222222222, + "#7201a8" ], [ - 0.2681564245810056, - "#6b1cfb" + 0.3333333333333333, + "#9c179e" ], [ - 0.3575418994413408, - "#981cfd" + 0.4444444444444444, + "#bd3786" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.5555555555555556, + "#d8576b" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.6666666666666666, + "#ed7953" ], [ - 0.6256983240223464, - "#f246fe" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.7150837988826816, - "#fc67fd" + 0.8888888888888888, + "#fdca26" ], [ - 0.8044692737430168, - "#fe88fc" + 1, + "#f0f921" + ] + ], + "type": "heatmapgl" + } + ], + "histogram": [ + { + "marker": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, + "type": "histogram" + } + ], + "histogram2d": [ + { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + }, + "colorscale": [ + [ + 0, + "#0d0887" + ], + [ + 0.1111111111111111, + "#46039f" + ], + [ + 0.2222222222222222, + "#7201a8" + ], + [ + 0.3333333333333333, + "#9c179e" + ], + [ + 0.4444444444444444, + "#bd3786" + ], + [ + 0.5555555555555556, + "#d8576b" + ], + [ + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "histogram2d" @@ -45799,55 +45710,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" + "#0d0887" ], [ - 0.2681564245810056, - "#6b1cfb" + 0.1111111111111111, + "#46039f" ], [ - 0.3575418994413408, - "#981cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.4444444444444444, + "#bd3786" ], [ - 0.6256983240223464, - "#f246fe" + 0.5555555555555556, + "#d8576b" ], [ - 0.7150837988826816, - "#fc67fd" + 0.6666666666666666, + "#ed7953" ], [ - 0.8044692737430168, - "#fe88fc" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.8938547486033519, - "#fea5fd" - ], - [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "histogram2dcontour" @@ -45873,6 +45772,12 @@ "type": "parcoords" } ], + "pie": [ + { + "automargin": true, + "type": "pie" + } + ], "scatter": [ { "marker": { @@ -45886,6 +45791,12 @@ ], "scatter3d": [ { + "line": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, "marker": { "colorbar": { "outlinewidth": 0, @@ -45978,6 +45889,48 @@ "outlinewidth": 0, "ticks": "" }, + "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" + ] + ], "type": "surface" } ], @@ -46005,10 +45958,17 @@ }, "layout": { "annotationdefaults": { - "arrowcolor": "#506784", + "arrowcolor": "#2a3f5f", "arrowhead": 0, "arrowwidth": 1 }, + "autotypenumbers": "strict", + "coloraxis": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, "colorscale": { "diverging": [ [ @@ -46059,109 +46019,85 @@ "sequential": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "sequentialminus": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ] }, @@ -46170,12 +46106,12 @@ "#EF553B", "#00cc96", "#ab63fa", - "#19d3f3", - "#e763fa", - "#FECB52", "#FFA15A", + "#19d3f3", "#FF6692", - "#B6E880" + "#B6E880", + "#FF97FF", + "#FECB52" ], "font": { "color": "#2a3f5f" @@ -46240,11 +46176,9 @@ } }, "shapedefaults": { - "fillcolor": "#506784", "line": { - "width": 0 - }, - "opacity": 0.4 + "color": "#2a3f5f" + } }, "ternary": { "aaxis": { @@ -46272,6 +46206,9 @@ "gridcolor": "white", "linecolor": "white", "ticks": "", + "title": { + "standoff": 15 + }, "zerolinecolor": "white", "zerolinewidth": 2 }, @@ -46280,6 +46217,9 @@ "gridcolor": "white", "linecolor": "white", "ticks": "", + "title": { + "standoff": 15 + }, "zerolinecolor": "white", "zerolinewidth": 2 } @@ -46300,29 +46240,24 @@ "title": { "text": "Bergeron" } + }, + "domain": { + "x": [ + 0, + 1 + ], + "y": [ + 0, + 1 + ] } } } }, "text/html": [ - "
\n", - " \n", - " \n", - "
\n", - " \n", - "
" + " }) }; }); " ] }, "metadata": {}, @@ -46366,27 +46297,22 @@ }, { "cell_type": "code", - "execution_count": 47, + "execution_count": 21, "metadata": {}, "outputs": [ { "data": { "application/vnd.plotly.v1+json": { "config": { - "linkText": "Export to plot.ly", - "plotlyServerURL": "https://plot.ly", - "showLink": false + "plotlyServerURL": "https://plot.ly" }, "data": [ { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

winner=Joly
result=plurality
Joly=%{x}
Coderre=%{y}
Bergeron=%{z}
total=%{marker.size}", + "hovertemplate": "%{hovertext}

winner=Joly
result=plurality
Joly=%{x}
Coderre=%{y}
Bergeron=%{z}
total=%{marker.size}", "hovertext": [ "101-Bois-de-Liesse", "102-Cap-Saint-Jacques", - "161-Saint-Henri?Petite-Bourgogne?Pointe-Saint-Charles", + "161-Saint-HenriPetite-BourgognePointe-Saint-Charles", "172-Desmarchais-Crawford", "181-Peter-McGill", "182-Saint-Jacques", @@ -46397,7 +46323,7 @@ "43-Fort-Rolland", "63-Jacques-Bizard" ], - "legendgroup": "winner=Joly, result=plurality", + "legendgroup": "Joly, plurality", "marker": { "color": "blue", "size": [ @@ -46419,10 +46345,10 @@ "symbol": "circle" }, "mode": "markers", - "name": "winner=Joly, result=plurality", + "name": "Joly, plurality", + "scene": "scene", "showlegend": true, "type": "scatter3d", - "uid": "c6b67f80-74dc-4a54-8b8c-93a9cffac8b9", "x": [ 3024, 2675, @@ -46467,15 +46393,12 @@ ] }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

winner=Joly
result=majority
Joly=%{x}
Coderre=%{y}
Bergeron=%{z}
total=%{marker.size}", + "hovertemplate": "%{hovertext}

winner=Joly
result=majority
Joly=%{x}
Coderre=%{y}
Bergeron=%{z}
total=%{marker.size}", "hovertext": [ "61-Pierre-Foretier", "62-Denis-Benjamin-Viger" ], - "legendgroup": "winner=Joly, result=majority", + "legendgroup": "Joly, majority", "marker": { "color": "blue", "size": [ @@ -46487,10 +46410,10 @@ "symbol": "diamond" }, "mode": "markers", - "name": "winner=Joly, result=majority", + "name": "Joly, majority", + "scene": "scene", "showlegend": true, "type": "scatter3d", - "uid": "78040e01-a0b9-43d4-b281-6eed09ab75ba", "x": [ 998, 1068 @@ -46505,10 +46428,7 @@ ] }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

winner=Coderre
result=plurality
Joly=%{x}
Coderre=%{y}
Bergeron=%{z}
total=%{marker.size}", + "hovertemplate": "%{hovertext}

winner=Coderre
result=plurality
Joly=%{x}
Coderre=%{y}
Bergeron=%{z}
total=%{marker.size}", "hovertext": [ "11-Sault-au-Récollet", "12-Saint-Sulpice", @@ -46516,8 +46436,8 @@ "14-Bordeaux-Cartierville", "141-Côte-de-Liesse", "142-Norman-McLaren", - "162-Saint-Paul?Émard", - "171-Champlain?L'╫le-des-Soeurs", + "162-Saint-PaulÉmard", + "171-ChamplainL'Île-des-Soeurs", "192-François-Perrault", "194-Parc-Extension", "22-Est", @@ -46530,7 +46450,7 @@ "74-Louis-Riel", "91-Claude-Ryan" ], - "legendgroup": "winner=Coderre, result=plurality", + "legendgroup": "Coderre, plurality", "marker": { "color": "red", "size": [ @@ -46559,10 +46479,10 @@ "symbol": "circle" }, "mode": "markers", - "name": "winner=Coderre, result=plurality", + "name": "Coderre, plurality", + "scene": "scene", "showlegend": true, "type": "scatter3d", - "uid": "a6e96410-6267-4a79-a2e1-9001715d6075", "x": [ 2532, 2543, @@ -46628,10 +46548,7 @@ ] }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

winner=Coderre
result=majority
Joly=%{x}
Coderre=%{y}
Bergeron=%{z}
total=%{marker.size}", + "hovertemplate": "%{hovertext}

winner=Coderre
result=majority
Joly=%{x}
Coderre=%{y}
Bergeron=%{z}
total=%{marker.size}", "hovertext": [ "121-La Pointe-aux-Prairies", "122-Pointe-aux-Trembles", @@ -46644,7 +46561,7 @@ "81-Marie-Clarac", "82-Ovide-Clermont" ], - "legendgroup": "winner=Coderre, result=majority", + "legendgroup": "Coderre, majority", "marker": { "color": "red", "size": [ @@ -46664,10 +46581,10 @@ "symbol": "diamond" }, "mode": "markers", - "name": "winner=Coderre, result=majority", + "name": "Coderre, majority", + "scene": "scene", "showlegend": true, "type": "scatter3d", - "uid": "3b6758ef-b4d5-41dc-8755-699646f3e4e6", "x": [ 3330, 2852, @@ -46706,23 +46623,20 @@ ] }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

winner=Bergeron
result=plurality
Joly=%{x}
Coderre=%{y}
Bergeron=%{z}
total=%{marker.size}", + "hovertemplate": "%{hovertext}

winner=Bergeron
result=plurality
Joly=%{x}
Coderre=%{y}
Bergeron=%{z}
total=%{marker.size}", "hovertext": [ "113-Jeanne-Mance", "13-Ahuntsic", "133-Vieux-Rosemont", "183-Sainte-Marie", "32-Côte-des-Neiges", - "72-Maisonneuve?Longue-Pointe", + "72-MaisonneuveLongue-Pointe", "73-Hochelaga", "92-Joseph-Beaubien", "93-Robert-Bourassa", "94-Jeanne-Sauvé" ], - "legendgroup": "winner=Bergeron, result=plurality", + "legendgroup": "Bergeron, plurality", "marker": { "color": "green", "size": [ @@ -46742,10 +46656,10 @@ "symbol": "circle" }, "mode": "markers", - "name": "winner=Bergeron, result=plurality", + "name": "Bergeron, plurality", + "scene": "scene", "showlegend": true, "type": "scatter3d", - "uid": "17242f73-6cdf-48d8-a853-baab9052ebe8", "x": [ 2316, 2873, @@ -46784,10 +46698,7 @@ ] }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "%{hovertext}

winner=Bergeron
result=majority
Joly=%{x}
Coderre=%{y}
Bergeron=%{z}
total=%{marker.size}", + "hovertemplate": "%{hovertext}

winner=Bergeron
result=majority
Joly=%{x}
Coderre=%{y}
Bergeron=%{z}
total=%{marker.size}", "hovertext": [ "111-Mile-End", "112-DeLorimier", @@ -46795,7 +46706,7 @@ "132-Étienne-Desmarteau", "193-Villeray" ], - "legendgroup": "winner=Bergeron, result=majority", + "legendgroup": "Bergeron, majority", "marker": { "color": "green", "size": [ @@ -46810,10 +46721,10 @@ "symbol": "diamond" }, "mode": "markers", - "name": "winner=Bergeron, result=majority", + "name": "Bergeron, majority", + "scene": "scene", "showlegend": true, "type": "scatter3d", - "uid": "b618ca5e-86c5-4c92-af72-3c8a542f1f0b", "x": [ 2514, 3044, @@ -46838,15 +46749,27 @@ } ], "layout": { - "height": 600, "legend": { "itemsizing": "constant", + "title": { + "text": "winner, result" + }, "tracegroupgap": 0 }, "margin": { "t": 60 }, "scene": { + "domain": { + "x": [ + 0, + 1 + ], + "y": [ + 0, + 1 + ] + }, "xaxis": { "title": { "text": "Joly" @@ -46867,6 +46790,12 @@ "data": { "bar": [ { + "error_x": { + "color": "#2a3f5f" + }, + "error_y": { + "color": "#2a3f5f" + }, "marker": { "line": { "color": "#E5ECF6", @@ -46924,55 +46853,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" + "#0d0887" ], [ - 0.2681564245810056, - "#6b1cfb" + 0.1111111111111111, + "#46039f" ], [ - 0.3575418994413408, - "#981cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.4444444444444444, + "#bd3786" ], [ - 0.6256983240223464, - "#f246fe" + 0.5555555555555556, + "#d8576b" ], [ - 0.7150837988826816, - "#fc67fd" + 0.6666666666666666, + "#ed7953" ], [ - 0.8044692737430168, - "#fe88fc" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.8938547486033519, - "#fea5fd" - ], - [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "contour" @@ -46996,55 +46913,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" + "#0d0887" ], [ - 0.1787709497206704, - "#3c19f0" + 0.1111111111111111, + "#46039f" ], [ - 0.2681564245810056, - "#6b1cfb" + 0.2222222222222222, + "#7201a8" ], [ - 0.3575418994413408, - "#981cfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.4444444444444444, + "#bd3786" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.5555555555555556, + "#d8576b" ], [ - 0.6256983240223464, - "#f246fe" + 0.6666666666666666, + "#ed7953" ], [ - 0.7150837988826816, - "#fc67fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.8044692737430168, - "#fe88fc" - ], - [ - 0.8938547486033519, - "#fea5fd" - ], - [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "heatmap" @@ -47056,6 +46961,48 @@ "outlinewidth": 0, "ticks": "" }, + "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" + ] + ], "type": "heatmapgl" } ], @@ -47079,55 +47026,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" + "#0d0887" ], [ - 0.2681564245810056, - "#6b1cfb" + 0.1111111111111111, + "#46039f" ], [ - 0.3575418994413408, - "#981cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.4444444444444444, + "#bd3786" ], [ - 0.6256983240223464, - "#f246fe" + 0.5555555555555556, + "#d8576b" ], [ - 0.7150837988826816, - "#fc67fd" + 0.6666666666666666, + "#ed7953" ], [ - 0.8044692737430168, - "#fe88fc" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.8938547486033519, - "#fea5fd" - ], - [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "histogram2d" @@ -47142,55 +47077,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" + "#0d0887" ], [ - 0.1787709497206704, - "#3c19f0" + 0.1111111111111111, + "#46039f" ], [ - 0.2681564245810056, - "#6b1cfb" + 0.2222222222222222, + "#7201a8" ], [ - 0.3575418994413408, - "#981cfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.4444444444444444, + "#bd3786" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.5555555555555556, + "#d8576b" ], [ - 0.6256983240223464, - "#f246fe" + 0.6666666666666666, + "#ed7953" ], [ - 0.7150837988826816, - "#fc67fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.8044692737430168, - "#fe88fc" - ], - [ - 0.8938547486033519, - "#fea5fd" - ], - [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "histogram2dcontour" @@ -47216,6 +47139,12 @@ "type": "parcoords" } ], + "pie": [ + { + "automargin": true, + "type": "pie" + } + ], "scatter": [ { "marker": { @@ -47229,6 +47158,12 @@ ], "scatter3d": [ { + "line": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, "marker": { "colorbar": { "outlinewidth": 0, @@ -47321,6 +47256,48 @@ "outlinewidth": 0, "ticks": "" }, + "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" + ] + ], "type": "surface" } ], @@ -47348,10 +47325,17 @@ }, "layout": { "annotationdefaults": { - "arrowcolor": "#506784", + "arrowcolor": "#2a3f5f", "arrowhead": 0, "arrowwidth": 1 }, + "autotypenumbers": "strict", + "coloraxis": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, "colorscale": { "diverging": [ [ @@ -47402,109 +47386,85 @@ "sequential": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "sequentialminus": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ] }, @@ -47513,12 +47473,12 @@ "#EF553B", "#00cc96", "#ab63fa", - "#19d3f3", - "#e763fa", - "#FECB52", "#FFA15A", + "#19d3f3", "#FF6692", - "#B6E880" + "#B6E880", + "#FF97FF", + "#FECB52" ], "font": { "color": "#2a3f5f" @@ -47583,11 +47543,9 @@ } }, "shapedefaults": { - "fillcolor": "#506784", "line": { - "width": 0 - }, - "opacity": 0.4 + "color": "#2a3f5f" + } }, "ternary": { "aaxis": { @@ -47615,6 +47573,9 @@ "gridcolor": "white", "linecolor": "white", "ticks": "", + "title": { + "standoff": 15 + }, "zerolinecolor": "white", "zerolinewidth": 2 }, @@ -47623,6 +47584,9 @@ "gridcolor": "white", "linecolor": "white", "ticks": "", + "title": { + "standoff": 15 + }, "zerolinecolor": "white", "zerolinewidth": 2 } @@ -47631,24 +47595,9 @@ } }, "text/html": [ - "
\n", - " \n", - " \n", - "
\n", - " \n", - "
" + " }) }; }); " ] }, "metadata": {}, @@ -47688,30 +47633,25 @@ }, { "cell_type": "code", - "execution_count": 48, + "execution_count": 22, "metadata": {}, "outputs": [ { "data": { "application/vnd.plotly.v1+json": { "config": { - "linkText": "Export to plot.ly", - "plotlyServerURL": "https://plot.ly", - "showLink": false + "plotlyServerURL": "https://plot.ly" }, "data": [ { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "strength=0-1
value=%{r}
direction=%{theta}", - "legendgroup": "strength=0-1", + "hovertemplate": "strength=0-1
frequency=%{r}
direction=%{theta}", + "legendgroup": "0-1", "line": { "color": "#febefe", "dash": "solid" }, "mode": "lines", - "name": "strength=0-1", + "name": "0-1", "r": [ 0.5, 0.6, @@ -47732,6 +47672,7 @@ 0.5 ], "showlegend": true, + "subplot": "polar", "theta": [ "N", "NNE", @@ -47751,21 +47692,17 @@ "NNW", "N" ], - "type": "scatterpolar", - "uid": "a777d0d2-974f-4a44-aa74-135027cbca8f" + "type": "scatterpolar" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "strength=1-2
value=%{r}
direction=%{theta}", - "legendgroup": "strength=1-2", + "hovertemplate": "strength=1-2
frequency=%{r}
direction=%{theta}", + "legendgroup": "1-2", "line": { "color": "#fea5fd", "dash": "solid" }, "mode": "lines", - "name": "strength=1-2", + "name": "1-2", "r": [ 1.6, 1.8, @@ -47786,6 +47723,7 @@ 1.6 ], "showlegend": true, + "subplot": "polar", "theta": [ "N", "NNE", @@ -47805,21 +47743,17 @@ "NNW", "N" ], - "type": "scatterpolar", - "uid": "3c0b6594-7584-4110-b7c0-958e77ca2788" + "type": "scatterpolar" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "strength=2-3
value=%{r}
direction=%{theta}", - "legendgroup": "strength=2-3", + "hovertemplate": "strength=2-3
frequency=%{r}
direction=%{theta}", + "legendgroup": "2-3", "line": { "color": "#fe88fc", "dash": "solid" }, "mode": "lines", - "name": "strength=2-3", + "name": "2-3", "r": [ 0.9, 1.3, @@ -47840,6 +47774,7 @@ 0.9 ], "showlegend": true, + "subplot": "polar", "theta": [ "N", "NNE", @@ -47859,21 +47794,17 @@ "NNW", "N" ], - "type": "scatterpolar", - "uid": "74e0ebd5-7329-47e5-b6ea-92c8c648a7d4" + "type": "scatterpolar" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "strength=3-4
value=%{r}
direction=%{theta}", - "legendgroup": "strength=3-4", + "hovertemplate": "strength=3-4
frequency=%{r}
direction=%{theta}", + "legendgroup": "3-4", "line": { "color": "#fc67fd", "dash": "solid" }, "mode": "lines", - "name": "strength=3-4", + "name": "3-4", "r": [ 0.9, 0.8, @@ -47894,6 +47825,7 @@ 0.9 ], "showlegend": true, + "subplot": "polar", "theta": [ "N", "NNE", @@ -47913,21 +47845,17 @@ "NNW", "N" ], - "type": "scatterpolar", - "uid": "fa39158d-af90-40c8-a0a2-1e75fde27945" + "type": "scatterpolar" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "strength=4-4
value=%{r}
direction=%{theta}", - "legendgroup": "strength=4-4", + "hovertemplate": "strength=4-4
frequency=%{r}
direction=%{theta}", + "legendgroup": "4-4", "line": { "color": "#f246fe", "dash": "solid" }, "mode": "lines", - "name": "strength=4-4", + "name": "4-4", "r": [ 0.4, 0.5, @@ -47948,6 +47876,7 @@ 0.4 ], "showlegend": true, + "subplot": "polar", "theta": [ "N", "NNE", @@ -47967,21 +47896,17 @@ "NNW", "N" ], - "type": "scatterpolar", - "uid": "fed6ed76-0453-4d73-b97c-b19fc538239a" + "type": "scatterpolar" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "strength=4-5
value=%{r}
direction=%{theta}", - "legendgroup": "strength=4-5", + "hovertemplate": "strength=4-5
frequency=%{r}
direction=%{theta}", + "legendgroup": "4-5", "line": { "color": "#dd2bfd", "dash": "solid" }, "mode": "lines", - "name": "strength=4-5", + "name": "4-5", "r": [ 0.3, 0.3, @@ -48002,6 +47927,7 @@ 0.3 ], "showlegend": true, + "subplot": "polar", "theta": [ "N", "NNE", @@ -48021,21 +47947,17 @@ "NNW", "N" ], - "type": "scatterpolar", - "uid": "31f6e4dd-1cd9-41e4-93ba-9404f35dbed7" + "type": "scatterpolar" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "strength=5-6
value=%{r}
direction=%{theta}", - "legendgroup": "strength=5-6", + "hovertemplate": "strength=5-6
frequency=%{r}
direction=%{theta}", + "legendgroup": "5-6", "line": { "color": "#bf1cfd", "dash": "solid" }, "mode": "lines", - "name": "strength=5-6", + "name": "5-6", "r": [ 0.2, 0.1, @@ -48056,6 +47978,7 @@ 0.2 ], "showlegend": true, + "subplot": "polar", "theta": [ "N", "NNE", @@ -48075,21 +47998,17 @@ "NNW", "N" ], - "type": "scatterpolar", - "uid": "60a938c5-295a-4701-82f1-3b03cbdab9af" + "type": "scatterpolar" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "strength=6+
value=%{r}
direction=%{theta}", - "legendgroup": "strength=6+", + "hovertemplate": "strength=6+
frequency=%{r}
direction=%{theta}", + "legendgroup": "6+", "line": { "color": "#981cfd", "dash": "solid" }, "mode": "lines", - "name": "strength=6+", + "name": "6+", "r": [ 0.1, 0.1, @@ -48110,6 +48029,7 @@ 0.1 ], "showlegend": true, + "subplot": "polar", "theta": [ "N", "NNE", @@ -48129,13 +48049,14 @@ "NNW", "N" ], - "type": "scatterpolar", - "uid": "68114eea-fc2e-45e3-8fe2-cac651a0572d" + "type": "scatterpolar" } ], "layout": { - "height": 600, "legend": { + "title": { + "text": "strength" + }, "tracegroupgap": 0 }, "margin": { @@ -48145,12 +48066,28 @@ "angularaxis": { "direction": "clockwise", "rotation": 90 + }, + "domain": { + "x": [ + 0, + 1 + ], + "y": [ + 0, + 1 + ] } }, "template": { "data": { "bar": [ { + "error_x": { + "color": "#2a3f5f" + }, + "error_y": { + "color": "#2a3f5f" + }, "marker": { "line": { "color": "#E5ECF6", @@ -48208,55 +48145,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "contour" @@ -48280,55 +48205,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" + "#0d0887" ], [ - 0.1787709497206704, - "#3c19f0" + 0.1111111111111111, + "#46039f" ], [ - 0.2681564245810056, - "#6b1cfb" + 0.2222222222222222, + "#7201a8" ], [ - 0.3575418994413408, - "#981cfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.4444444444444444, + "#bd3786" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.5555555555555556, + "#d8576b" ], [ - 0.6256983240223464, - "#f246fe" + 0.6666666666666666, + "#ed7953" ], [ - 0.7150837988826816, - "#fc67fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.8044692737430168, - "#fe88fc" - ], - [ - 0.8938547486033519, - "#fea5fd" - ], - [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "heatmap" @@ -48340,6 +48253,48 @@ "outlinewidth": 0, "ticks": "" }, + "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" + ] + ], "type": "heatmapgl" } ], @@ -48363,55 +48318,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "histogram2d" @@ -48426,55 +48369,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" + "#0d0887" ], [ - 0.2681564245810056, - "#6b1cfb" + 0.1111111111111111, + "#46039f" ], [ - 0.3575418994413408, - "#981cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.4444444444444444, + "#bd3786" ], [ - 0.6256983240223464, - "#f246fe" + 0.5555555555555556, + "#d8576b" ], [ - 0.7150837988826816, - "#fc67fd" + 0.6666666666666666, + "#ed7953" ], [ - 0.8044692737430168, - "#fe88fc" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.8938547486033519, - "#fea5fd" - ], - [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "histogram2dcontour" @@ -48500,6 +48431,12 @@ "type": "parcoords" } ], + "pie": [ + { + "automargin": true, + "type": "pie" + } + ], "scatter": [ { "marker": { @@ -48513,6 +48450,12 @@ ], "scatter3d": [ { + "line": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, "marker": { "colorbar": { "outlinewidth": 0, @@ -48605,6 +48548,48 @@ "outlinewidth": 0, "ticks": "" }, + "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" + ] + ], "type": "surface" } ], @@ -48632,10 +48617,17 @@ }, "layout": { "annotationdefaults": { - "arrowcolor": "#506784", + "arrowcolor": "#2a3f5f", "arrowhead": 0, "arrowwidth": 1 }, + "autotypenumbers": "strict", + "coloraxis": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, "colorscale": { "diverging": [ [ @@ -48686,109 +48678,85 @@ "sequential": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "sequentialminus": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ] }, @@ -48797,12 +48765,12 @@ "#EF553B", "#00cc96", "#ab63fa", - "#19d3f3", - "#e763fa", - "#FECB52", "#FFA15A", + "#19d3f3", "#FF6692", - "#B6E880" + "#B6E880", + "#FF97FF", + "#FECB52" ], "font": { "color": "#2a3f5f" @@ -48867,11 +48835,9 @@ } }, "shapedefaults": { - "fillcolor": "#506784", "line": { - "width": 0 - }, - "opacity": 0.4 + "color": "#2a3f5f" + } }, "ternary": { "aaxis": { @@ -48899,6 +48865,9 @@ "gridcolor": "white", "linecolor": "white", "ticks": "", + "title": { + "standoff": 15 + }, "zerolinecolor": "white", "zerolinewidth": 2 }, @@ -48907,6 +48876,9 @@ "gridcolor": "white", "linecolor": "white", "ticks": "", + "title": { + "standoff": 15 + }, "zerolinecolor": "white", "zerolinewidth": 2 } @@ -48915,24 +48887,9 @@ } }, "text/html": [ - "
\n", - " \n", - " \n", - "
\n", - " \n", - "
" + " }) }; }); " ] }, "metadata": {}, @@ -48968,34 +48921,29 @@ "source": [ "wind = px.data.wind()\n", "\n", - "px.line_polar(wind, r=\"value\", theta=\"direction\", color=\"strength\", line_close=True,\n", - " color_discrete_sequence=px.colors.sequential.Plotly[-2::-1])" + "px.line_polar(wind, r=\"frequency\", theta=\"direction\", color=\"strength\", line_close=True,\n", + " color_discrete_sequence=px.colors.sequential.Plotly3[-2::-1])" ] }, { "cell_type": "code", - "execution_count": 49, + "execution_count": 23, "metadata": {}, "outputs": [ { "data": { "application/vnd.plotly.v1+json": { "config": { - "linkText": "Export to plot.ly", - "plotlyServerURL": "https://plot.ly", - "showLink": false + "plotlyServerURL": "https://plot.ly" }, "data": [ { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "strength=0-1
value=%{r}
direction=%{theta}", - "legendgroup": "strength=0-1", + "hovertemplate": "strength=0-1
frequency=%{r}
direction=%{theta}", + "legendgroup": "0-1", "marker": { "color": "#febefe" }, - "name": "strength=0-1", + "name": "0-1", "r": [ 0.5, 0.6, @@ -49015,6 +48963,7 @@ 0.1 ], "showlegend": true, + "subplot": "polar", "theta": [ "N", "NNE", @@ -49033,19 +48982,15 @@ "NW", "NNW" ], - "type": "barpolar", - "uid": "09c18af3-5b3e-4a0e-8118-533e4b2e4156" + "type": "barpolar" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "strength=1-2
value=%{r}
direction=%{theta}", - "legendgroup": "strength=1-2", + "hovertemplate": "strength=1-2
frequency=%{r}
direction=%{theta}", + "legendgroup": "1-2", "marker": { "color": "#fea5fd" }, - "name": "strength=1-2", + "name": "1-2", "r": [ 1.6, 1.8, @@ -49065,6 +49010,7 @@ 0.8 ], "showlegend": true, + "subplot": "polar", "theta": [ "N", "NNE", @@ -49083,19 +49029,15 @@ "NW", "NNW" ], - "type": "barpolar", - "uid": "db358bc7-8dd5-4129-b701-ee373db8d5d9" + "type": "barpolar" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "strength=2-3
value=%{r}
direction=%{theta}", - "legendgroup": "strength=2-3", + "hovertemplate": "strength=2-3
frequency=%{r}
direction=%{theta}", + "legendgroup": "2-3", "marker": { "color": "#fe88fc" }, - "name": "strength=2-3", + "name": "2-3", "r": [ 0.9, 1.3, @@ -49115,6 +49057,7 @@ 0.8 ], "showlegend": true, + "subplot": "polar", "theta": [ "N", "NNE", @@ -49133,19 +49076,15 @@ "NW", "NNW" ], - "type": "barpolar", - "uid": "0ef3902d-807f-455c-9703-c8fffb498271" + "type": "barpolar" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "strength=3-4
value=%{r}
direction=%{theta}", - "legendgroup": "strength=3-4", + "hovertemplate": "strength=3-4
frequency=%{r}
direction=%{theta}", + "legendgroup": "3-4", "marker": { "color": "#fc67fd" }, - "name": "strength=3-4", + "name": "3-4", "r": [ 0.9, 0.8, @@ -49165,6 +49104,7 @@ 1 ], "showlegend": true, + "subplot": "polar", "theta": [ "N", "NNE", @@ -49183,19 +49123,15 @@ "NW", "NNW" ], - "type": "barpolar", - "uid": "09811490-8417-41da-b464-94403663980d" + "type": "barpolar" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "strength=4-4
value=%{r}
direction=%{theta}", - "legendgroup": "strength=4-4", + "hovertemplate": "strength=4-4
frequency=%{r}
direction=%{theta}", + "legendgroup": "4-4", "marker": { "color": "#f246fe" }, - "name": "strength=4-4", + "name": "4-4", "r": [ 0.4, 0.5, @@ -49215,6 +49151,7 @@ 0.7 ], "showlegend": true, + "subplot": "polar", "theta": [ "N", "NNE", @@ -49233,19 +49170,15 @@ "NW", "NNW" ], - "type": "barpolar", - "uid": "32717ce2-7555-4032-bdee-e79b99ed8eec" + "type": "barpolar" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "strength=4-5
value=%{r}
direction=%{theta}", - "legendgroup": "strength=4-5", + "hovertemplate": "strength=4-5
frequency=%{r}
direction=%{theta}", + "legendgroup": "4-5", "marker": { "color": "#dd2bfd" }, - "name": "strength=4-5", + "name": "4-5", "r": [ 0.3, 0.3, @@ -49265,6 +49198,7 @@ 0.3 ], "showlegend": true, + "subplot": "polar", "theta": [ "N", "NNE", @@ -49283,19 +49217,15 @@ "NW", "NNW" ], - "type": "barpolar", - "uid": "8ba12d20-3e2f-4fa7-b82c-ea5e9b6523ef" + "type": "barpolar" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "strength=5-6
value=%{r}
direction=%{theta}", - "legendgroup": "strength=5-6", + "hovertemplate": "strength=5-6
frequency=%{r}
direction=%{theta}", + "legendgroup": "5-6", "marker": { "color": "#bf1cfd" }, - "name": "strength=5-6", + "name": "5-6", "r": [ 0.2, 0.1, @@ -49315,6 +49245,7 @@ 0.4 ], "showlegend": true, + "subplot": "polar", "theta": [ "N", "NNE", @@ -49333,19 +49264,15 @@ "NW", "NNW" ], - "type": "barpolar", - "uid": "b9d3a790-3cbb-4418-b4cd-d4205282a8fd" + "type": "barpolar" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "strength=6+
value=%{r}
direction=%{theta}", - "legendgroup": "strength=6+", + "hovertemplate": "strength=6+
frequency=%{r}
direction=%{theta}", + "legendgroup": "6+", "marker": { "color": "#981cfd" }, - "name": "strength=6+", + "name": "6+", "r": [ 0.1, 0.1, @@ -49365,6 +49292,7 @@ 0.2 ], "showlegend": true, + "subplot": "polar", "theta": [ "N", "NNE", @@ -49383,15 +49311,15 @@ "NW", "NNW" ], - "type": "barpolar", - "uid": "c762ee08-6dd1-4ef2-aeec-f98552e79bfa" + "type": "barpolar" } ], "layout": { "barmode": "relative", - "barnorm": "", - "height": 600, "legend": { + "title": { + "text": "strength" + }, "tracegroupgap": 0 }, "margin": { @@ -49401,12 +49329,28 @@ "angularaxis": { "direction": "clockwise", "rotation": 90 + }, + "domain": { + "x": [ + 0, + 1 + ], + "y": [ + 0, + 1 + ] } }, "template": { "data": { "bar": [ { + "error_x": { + "color": "#f2f5fa" + }, + "error_y": { + "color": "#f2f5fa" + }, "marker": { "line": { "color": "rgb(17,17,17)", @@ -49464,55 +49408,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" + "#0d0887" ], [ - 0.2681564245810056, - "#6b1cfb" + 0.1111111111111111, + "#46039f" ], [ - 0.3575418994413408, - "#981cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.4444444444444444, + "#bd3786" ], [ - 0.6256983240223464, - "#f246fe" + 0.5555555555555556, + "#d8576b" ], [ - 0.7150837988826816, - "#fc67fd" + 0.6666666666666666, + "#ed7953" ], [ - 0.8044692737430168, - "#fe88fc" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.8938547486033519, - "#fea5fd" - ], - [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "contour" @@ -49536,81 +49468,49 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "heatmap" } ], "heatmapgl": [ - { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - }, - "type": "heatmapgl" - } - ], - "histogram": [ - { - "marker": { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - } - }, - "type": "histogram" - } - ], - "histogram2d": [ { "colorbar": { "outlinewidth": 0, @@ -49619,118 +49519,156 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" - ], - [ - 0.3575418994413408, - "#981cfd" - ], - [ - 0.44692737430167595, - "#bf1cfd" - ], - [ - 0.5363128491620112, - "#dd2bfd" - ], - [ - 0.6256983240223464, - "#f246fe" - ], - [ - 0.7150837988826816, - "#fc67fd" - ], - [ - 0.8044692737430168, - "#fe88fc" - ], - [ - 0.8938547486033519, - "#fea5fd" - ], - [ - 0.9832402234636871, - "#febefe" - ], - [ - 1, - "#fec3fe" - ] - ], - "type": "histogram2d" - } - ], - "histogram2dcontour": [ - { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - }, - "colorscale": [ - [ - 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" + ] + ], + "type": "heatmapgl" + } + ], + "histogram": [ + { + "marker": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, + "type": "histogram" + } + ], + "histogram2d": [ + { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + }, + "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" + ] + ], + "type": "histogram2d" + } + ], + "histogram2dcontour": [ + { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + }, + "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" ] ], "type": "histogram2dcontour" @@ -49756,6 +49694,12 @@ "type": "parcoords" } ], + "pie": [ + { + "automargin": true, + "type": "pie" + } + ], "scatter": [ { "marker": { @@ -49768,6 +49712,12 @@ ], "scatter3d": [ { + "line": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, "marker": { "colorbar": { "outlinewidth": 0, @@ -49859,6 +49809,48 @@ "outlinewidth": 0, "ticks": "" }, + "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" + ] + ], "type": "surface" } ], @@ -49890,6 +49882,13 @@ "arrowhead": 0, "arrowwidth": 1 }, + "autotypenumbers": "strict", + "coloraxis": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, "colorscale": { "diverging": [ [ @@ -49940,109 +49939,85 @@ "sequential": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "sequentialminus": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ] }, @@ -50051,12 +50026,12 @@ "#EF553B", "#00cc96", "#ab63fa", - "#19d3f3", - "#e763fa", - "#FECB52", "#FFA15A", + "#19d3f3", "#FF6692", - "#B6E880" + "#B6E880", + "#FF97FF", + "#FECB52" ], "font": { "color": "#f2f5fa" @@ -50121,11 +50096,9 @@ } }, "shapedefaults": { - "fillcolor": "#f2f5fa", "line": { - "width": 0 - }, - "opacity": 0.4 + "color": "#f2f5fa" + } }, "sliderdefaults": { "bgcolor": "#C8D4E3", @@ -50163,6 +50136,9 @@ "gridcolor": "#283442", "linecolor": "#506784", "ticks": "", + "title": { + "standoff": 15 + }, "zerolinecolor": "#283442", "zerolinewidth": 2 }, @@ -50171,6 +50147,9 @@ "gridcolor": "#283442", "linecolor": "#506784", "ticks": "", + "title": { + "standoff": 15 + }, "zerolinecolor": "#283442", "zerolinewidth": 2 } @@ -50179,24 +50158,9 @@ } }, "text/html": [ - "
\n", - " \n", - " \n", - "
\n", - " \n", - "
" + " }) }; }); " ] }, "metadata": {}, @@ -50230,13 +50190,13 @@ } ], "source": [ - "px.bar_polar(wind, r=\"value\", theta=\"direction\", color=\"strength\", template=\"plotly_dark\",\n", - " color_discrete_sequence= px.colors.sequential.Plotly[-2::-1])" + "px.bar_polar(wind, r=\"frequency\", theta=\"direction\", color=\"strength\", template=\"plotly_dark\",\n", + " color_discrete_sequence= px.colors.sequential.Plotly3[-2::-1])" ] }, { "cell_type": "code", - "execution_count": 50, + "execution_count": 24, "metadata": {}, "outputs": [], "source": [ @@ -50252,78 +50212,18 @@ }, { "cell_type": "code", - "execution_count": 51, + "execution_count": 25, "metadata": {}, "outputs": [ { "data": { "application/vnd.plotly.v1+json": { "config": { - "linkText": "Export to plot.ly", - "plotlyServerURL": "https://plot.ly", - "showLink": false + "plotlyServerURL": "https://plot.ly" }, "data": [ { "dimensions": [ - { - "axis": { - "matches": true - }, - "label": "sepal_length", - "values": [ - 5.1, - 4.9, - 4.7, - 4.6, - 5, - 5.4, - 4.6, - 5, - 4.4, - 4.9, - 5.4, - 4.8, - 4.8, - 4.3, - 5.8, - 5.7, - 5.4, - 5.1, - 5.7, - 5.1, - 5.4, - 5.1, - 4.6, - 5.1, - 4.8, - 5, - 5, - 5.2, - 5.2, - 4.7, - 4.8, - 5.4, - 5.2, - 5.5, - 4.9, - 5, - 5.5, - 4.9, - 4.4, - 5.1, - 5, - 4.5, - 4.4, - 5, - 5.1, - 4.8, - 5.1, - 4.6, - 5.3, - 5 - ] - }, { "axis": { "matches": true @@ -50386,58 +50286,58 @@ "axis": { "matches": true }, - "label": "petal_length", + "label": "sepal_length", "values": [ - 1.4, - 1.4, - 1.3, - 1.5, - 1.4, - 1.7, - 1.4, - 1.5, - 1.4, - 1.5, - 1.5, - 1.6, - 1.4, - 1.1, - 1.2, - 1.5, - 1.3, - 1.4, - 1.7, - 1.5, - 1.7, - 1.5, - 1, - 1.7, - 1.9, - 1.6, - 1.6, - 1.5, - 1.4, - 1.6, - 1.6, - 1.5, - 1.5, - 1.4, - 1.5, - 1.2, - 1.3, - 1.5, - 1.3, - 1.5, - 1.3, - 1.3, - 1.3, - 1.6, - 1.9, - 1.4, - 1.6, - 1.4, - 1.5, - 1.4 + 5.1, + 4.9, + 4.7, + 4.6, + 5, + 5.4, + 4.6, + 5, + 4.4, + 4.9, + 5.4, + 4.8, + 4.8, + 4.3, + 5.8, + 5.7, + 5.4, + 5.1, + 5.7, + 5.1, + 5.4, + 5.1, + 4.6, + 5.1, + 4.8, + 5, + 5, + 5.2, + 5.2, + 4.7, + 4.8, + 5.4, + 5.2, + 5.5, + 4.9, + 5, + 5.5, + 4.9, + 4.4, + 5.1, + 5, + 4.5, + 4.4, + 5, + 5.1, + 4.8, + 5.1, + 4.6, + 5.3, + 5 ] }, { @@ -50497,82 +50397,78 @@ 0.2, 0.2 ] + }, + { + "axis": { + "matches": true + }, + "label": "petal_length", + "values": [ + 1.4, + 1.4, + 1.3, + 1.5, + 1.4, + 1.7, + 1.4, + 1.5, + 1.4, + 1.5, + 1.5, + 1.6, + 1.4, + 1.1, + 1.2, + 1.5, + 1.3, + 1.4, + 1.7, + 1.5, + 1.7, + 1.5, + 1, + 1.7, + 1.9, + 1.6, + 1.6, + 1.5, + 1.4, + 1.6, + 1.6, + 1.5, + 1.5, + 1.4, + 1.5, + 1.2, + 1.3, + 1.5, + 1.3, + 1.5, + 1.3, + 1.3, + 1.3, + 1.6, + 1.9, + 1.4, + 1.6, + 1.4, + 1.5, + 1.4 + ] } ], - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "species=setosa
%{xaxis.title.text}=%{x}
%{yaxis.title.text}=%{y}", - "legendgroup": "species=setosa", + "hovertemplate": "species=setosa
%{xaxis.title.text}=%{x}
%{yaxis.title.text}=%{y}", + "legendgroup": "setosa", "marker": { "color": "#636efa", "symbol": "circle" }, - "name": "species=setosa", + "name": "setosa", "showlegend": true, - "type": "splom", - "uid": "bada7541-6322-41b4-8e66-b28d08306009" + "type": "splom" }, { "dimensions": [ - { - "axis": { - "matches": true - }, - "label": "sepal_length", - "values": [ - 7, - 6.4, - 6.9, - 5.5, - 6.5, - 5.7, - 6.3, - 4.9, - 6.6, - 5.2, - 5, - 5.9, - 6, - 6.1, - 5.6, - 6.7, - 5.6, - 5.8, - 6.2, - 5.6, - 5.9, - 6.1, - 6.3, - 6.1, - 6.4, - 6.6, - 6.8, - 6.7, - 6, - 5.7, - 5.5, - 5.5, - 5.8, - 6, - 5.4, - 6, - 6.7, - 6.3, - 5.6, - 5.5, - 5.5, - 6.1, - 5.8, - 5, - 5.6, - 5.7, - 5.7, - 6.2, - 5.1, - 5.7 - ] - }, { "axis": { "matches": true @@ -50635,58 +50531,58 @@ "axis": { "matches": true }, - "label": "petal_length", + "label": "sepal_length", "values": [ - 4.7, - 4.5, - 4.9, - 4, - 4.6, - 4.5, - 4.7, - 3.3, - 4.6, - 3.9, - 3.5, - 4.2, - 4, - 4.7, - 3.6, - 4.4, - 4.5, - 4.1, - 4.5, - 3.9, - 4.8, - 4, + 7, + 6.4, + 6.9, + 5.5, + 6.5, + 5.7, + 6.3, 4.9, - 4.7, - 4.3, - 4.4, - 4.8, + 6.6, + 5.2, 5, - 4.5, - 3.5, - 3.8, - 3.7, - 3.9, + 5.9, + 6, + 6.1, + 5.6, + 6.7, + 5.6, + 5.8, + 6.2, + 5.6, + 5.9, + 6.1, + 6.3, + 6.1, + 6.4, + 6.6, + 6.8, + 6.7, + 6, + 5.7, + 5.5, + 5.5, + 5.8, + 6, + 5.4, + 6, + 6.7, + 6.3, + 5.6, + 5.5, + 5.5, + 6.1, + 5.8, + 5, + 5.6, + 5.7, + 5.7, + 6.2, 5.1, - 4.5, - 4.5, - 4.7, - 4.4, - 4.1, - 4, - 4.4, - 4.6, - 4, - 3.3, - 4.2, - 4.2, - 4.2, - 4.3, - 3, - 4.1 + 5.7 ] }, { @@ -50746,82 +50642,78 @@ 1.1, 1.3 ] + }, + { + "axis": { + "matches": true + }, + "label": "petal_length", + "values": [ + 4.7, + 4.5, + 4.9, + 4, + 4.6, + 4.5, + 4.7, + 3.3, + 4.6, + 3.9, + 3.5, + 4.2, + 4, + 4.7, + 3.6, + 4.4, + 4.5, + 4.1, + 4.5, + 3.9, + 4.8, + 4, + 4.9, + 4.7, + 4.3, + 4.4, + 4.8, + 5, + 4.5, + 3.5, + 3.8, + 3.7, + 3.9, + 5.1, + 4.5, + 4.5, + 4.7, + 4.4, + 4.1, + 4, + 4.4, + 4.6, + 4, + 3.3, + 4.2, + 4.2, + 4.2, + 4.3, + 3, + 4.1 + ] } ], - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "species=versicolor
%{xaxis.title.text}=%{x}
%{yaxis.title.text}=%{y}", - "legendgroup": "species=versicolor", + "hovertemplate": "species=versicolor
%{xaxis.title.text}=%{x}
%{yaxis.title.text}=%{y}", + "legendgroup": "versicolor", "marker": { "color": "#EF553B", "symbol": "circle" }, - "name": "species=versicolor", + "name": "versicolor", "showlegend": true, - "type": "splom", - "uid": "897816ad-2f55-4509-8fde-ce99d2be1580" + "type": "splom" }, { "dimensions": [ - { - "axis": { - "matches": true - }, - "label": "sepal_length", - "values": [ - 6.3, - 5.8, - 7.1, - 6.3, - 6.5, - 7.6, - 4.9, - 7.3, - 6.7, - 7.2, - 6.5, - 6.4, - 6.8, - 5.7, - 5.8, - 6.4, - 6.5, - 7.7, - 7.7, - 6, - 6.9, - 5.6, - 7.7, - 6.3, - 6.7, - 7.2, - 6.2, - 6.1, - 6.4, - 7.2, - 7.4, - 7.9, - 6.4, - 6.3, - 6.1, - 7.7, - 6.3, - 6.4, - 6, - 6.9, - 6.7, - 6.9, - 5.8, - 6.8, - 6.7, - 6.7, - 6.3, - 6.5, - 6.2, - 5.9 - ] - }, { "axis": { "matches": true @@ -50884,58 +50776,58 @@ "axis": { "matches": true }, - "label": "petal_length", + "label": "sepal_length", "values": [ - 6, - 5.1, - 5.9, - 5.6, - 5.8, - 6.6, - 4.5, 6.3, 5.8, - 6.1, - 5.1, - 5.3, - 5.5, - 5, - 5.1, - 5.3, - 5.5, - 6.7, - 6.9, - 5, - 5.7, + 7.1, + 6.3, + 6.5, + 7.6, 4.9, + 7.3, 6.7, - 4.9, + 7.2, + 6.5, + 6.4, + 6.8, 5.7, + 5.8, + 6.4, + 6.5, + 7.7, + 7.7, 6, - 4.8, - 4.9, + 6.9, 5.6, - 5.8, + 7.7, + 6.3, + 6.7, + 7.2, + 6.2, 6.1, 6.4, - 5.6, - 5.1, - 5.6, + 7.2, + 7.4, + 7.9, + 6.4, + 6.3, 6.1, - 5.6, - 5.5, - 4.8, - 5.4, - 5.6, - 5.1, - 5.1, - 5.9, - 5.7, - 5.2, - 5, - 5.2, - 5.4, - 5.1 + 7.7, + 6.3, + 6.4, + 6, + 6.9, + 6.7, + 6.9, + 5.8, + 6.8, + 6.7, + 6.7, + 6.3, + 6.5, + 6.2, + 5.9 ] }, { @@ -50995,27 +50887,83 @@ 2.3, 1.8 ] + }, + { + "axis": { + "matches": true + }, + "label": "petal_length", + "values": [ + 6, + 5.1, + 5.9, + 5.6, + 5.8, + 6.6, + 4.5, + 6.3, + 5.8, + 6.1, + 5.1, + 5.3, + 5.5, + 5, + 5.1, + 5.3, + 5.5, + 6.7, + 6.9, + 5, + 5.7, + 4.9, + 6.7, + 4.9, + 5.7, + 6, + 4.8, + 4.9, + 5.6, + 5.8, + 6.1, + 6.4, + 5.6, + 5.1, + 5.6, + 6.1, + 5.6, + 5.5, + 4.8, + 5.4, + 5.6, + 5.1, + 5.1, + 5.9, + 5.7, + 5.2, + 5, + 5.2, + 5.4, + 5.1 + ] } ], - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "species=virginica
%{xaxis.title.text}=%{x}
%{yaxis.title.text}=%{y}", - "legendgroup": "species=virginica", + "hovertemplate": "species=virginica
%{xaxis.title.text}=%{x}
%{yaxis.title.text}=%{y}", + "legendgroup": "virginica", "marker": { "color": "#00cc96", "symbol": "circle" }, - "name": "species=virginica", + "name": "virginica", "showlegend": true, - "type": "splom", - "uid": "f5db5af9-eedf-4ab0-8b90-102343aa8934" + "type": "splom" } ], "layout": { "dragmode": "select", - "height": 600, "legend": { + "title": { + "text": "species" + }, "tracegroupgap": 0 }, "margin": { @@ -51025,6 +50973,12 @@ "data": { "bar": [ { + "error_x": { + "color": "#2a3f5f" + }, + "error_y": { + "color": "#2a3f5f" + }, "marker": { "line": { "color": "#E5ECF6", @@ -51082,55 +51036,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "contour" @@ -51154,55 +51096,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" + "#0d0887" ], [ - 0.1787709497206704, - "#3c19f0" + 0.1111111111111111, + "#46039f" ], [ - 0.2681564245810056, - "#6b1cfb" + 0.2222222222222222, + "#7201a8" ], [ - 0.3575418994413408, - "#981cfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.4444444444444444, + "#bd3786" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.5555555555555556, + "#d8576b" ], [ - 0.6256983240223464, - "#f246fe" + 0.6666666666666666, + "#ed7953" ], [ - 0.7150837988826816, - "#fc67fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.8044692737430168, - "#fe88fc" - ], - [ - 0.8938547486033519, - "#fea5fd" - ], - [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "heatmap" @@ -51214,6 +51144,48 @@ "outlinewidth": 0, "ticks": "" }, + "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" + ] + ], "type": "heatmapgl" } ], @@ -51237,55 +51209,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" + "#0d0887" ], [ - 0.2681564245810056, - "#6b1cfb" + 0.1111111111111111, + "#46039f" ], [ - 0.3575418994413408, - "#981cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.4444444444444444, + "#bd3786" ], [ - 0.6256983240223464, - "#f246fe" + 0.5555555555555556, + "#d8576b" ], [ - 0.7150837988826816, - "#fc67fd" + 0.6666666666666666, + "#ed7953" ], [ - 0.8044692737430168, - "#fe88fc" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.8938547486033519, - "#fea5fd" - ], - [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "histogram2d" @@ -51300,185 +51260,227 @@ "colorscale": [ [ 0, - "#0508b8" + "#0d0887" + ], + [ + 0.1111111111111111, + "#46039f" + ], + [ + 0.2222222222222222, + "#7201a8" + ], + [ + 0.3333333333333333, + "#9c179e" + ], + [ + 0.4444444444444444, + "#bd3786" ], [ - 0.0893854748603352, - "#1910d8" + 0.5555555555555556, + "#d8576b" ], [ - 0.1787709497206704, - "#3c19f0" + 0.6666666666666666, + "#ed7953" ], [ - 0.2681564245810056, - "#6b1cfb" + 0.7777777777777778, + "#fb9f3a" + ], + [ + 0.8888888888888888, + "#fdca26" + ], + [ + 1, + "#f0f921" + ] + ], + "type": "histogram2dcontour" + } + ], + "mesh3d": [ + { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + }, + "type": "mesh3d" + } + ], + "parcoords": [ + { + "line": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, + "type": "parcoords" + } + ], + "pie": [ + { + "automargin": true, + "type": "pie" + } + ], + "scatter": [ + { + "marker": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, + "type": "scatter" + } + ], + "scatter3d": [ + { + "line": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, + "marker": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, + "type": "scatter3d" + } + ], + "scattercarpet": [ + { + "marker": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, + "type": "scattercarpet" + } + ], + "scattergeo": [ + { + "marker": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, + "type": "scattergeo" + } + ], + "scattergl": [ + { + "marker": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, + "type": "scattergl" + } + ], + "scattermapbox": [ + { + "marker": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, + "type": "scattermapbox" + } + ], + "scatterpolar": [ + { + "marker": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, + "type": "scatterpolar" + } + ], + "scatterpolargl": [ + { + "marker": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, + "type": "scatterpolargl" + } + ], + "scatterternary": [ + { + "marker": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, + "type": "scatterternary" + } + ], + "surface": [ + { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + }, + "colorscale": [ + [ + 0, + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], - "type": "histogram2dcontour" - } - ], - "mesh3d": [ - { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - }, - "type": "mesh3d" - } - ], - "parcoords": [ - { - "line": { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - } - }, - "type": "parcoords" - } - ], - "scatter": [ - { - "marker": { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - } - }, - "type": "scatter" - } - ], - "scatter3d": [ - { - "marker": { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - } - }, - "type": "scatter3d" - } - ], - "scattercarpet": [ - { - "marker": { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - } - }, - "type": "scattercarpet" - } - ], - "scattergeo": [ - { - "marker": { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - } - }, - "type": "scattergeo" - } - ], - "scattergl": [ - { - "marker": { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - } - }, - "type": "scattergl" - } - ], - "scattermapbox": [ - { - "marker": { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - } - }, - "type": "scattermapbox" - } - ], - "scatterpolar": [ - { - "marker": { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - } - }, - "type": "scatterpolar" - } - ], - "scatterpolargl": [ - { - "marker": { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - } - }, - "type": "scatterpolargl" - } - ], - "scatterternary": [ - { - "marker": { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - } - }, - "type": "scatterternary" - } - ], - "surface": [ - { - "colorbar": { - "outlinewidth": 0, - "ticks": "" - }, "type": "surface" } ], @@ -51506,10 +51508,17 @@ }, "layout": { "annotationdefaults": { - "arrowcolor": "#506784", + "arrowcolor": "#2a3f5f", "arrowhead": 0, "arrowwidth": 1 }, + "autotypenumbers": "strict", + "coloraxis": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, "colorscale": { "diverging": [ [ @@ -51560,109 +51569,85 @@ "sequential": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "sequentialminus": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ] }, @@ -51671,12 +51656,12 @@ "#EF553B", "#00cc96", "#ab63fa", - "#19d3f3", - "#e763fa", - "#FECB52", "#FFA15A", + "#19d3f3", "#FF6692", - "#B6E880" + "#B6E880", + "#FF97FF", + "#FECB52" ], "font": { "color": "#2a3f5f" @@ -51741,11 +51726,9 @@ } }, "shapedefaults": { - "fillcolor": "#506784", "line": { - "width": 0 - }, - "opacity": 0.4 + "color": "#2a3f5f" + } }, "ternary": { "aaxis": { @@ -51773,6 +51756,9 @@ "gridcolor": "white", "linecolor": "white", "ticks": "", + "title": { + "standoff": 15 + }, "zerolinecolor": "white", "zerolinewidth": 2 }, @@ -51781,6 +51767,9 @@ "gridcolor": "white", "linecolor": "white", "ticks": "", + "title": { + "standoff": 15 + }, "zerolinecolor": "white", "zerolinewidth": 2 } @@ -51789,24 +51778,9 @@ } }, "text/html": [ - "
\n", - " \n", - " \n", - "
\n", - " \n", - "
" + " }) }; }); " ] }, "metadata": {}, @@ -51845,16 +51815,14 @@ }, { "cell_type": "code", - "execution_count": 52, + "execution_count": 26, "metadata": {}, "outputs": [ { "data": { "application/vnd.plotly.v1+json": { "config": { - "linkText": "Export to plot.ly", - "plotlyServerURL": "https://plot.ly", - "showLink": false + "plotlyServerURL": "https://plot.ly" }, "data": [ { @@ -52635,9 +52603,17 @@ ] } ], + "domain": { + "x": [ + 0, + 1 + ], + "y": [ + 0, + 1 + ] + }, "line": { - "cmax": 3, - "cmin": 1, "color": [ 1, 1, @@ -52790,34 +52766,34 @@ 3, 3 ], - "colorbar": { - "title": { - "text": "species_id" - } - }, - "colorscale": [ - [ - 0, - "red" - ], - [ - 0.5, - "green" - ], - [ - 1, - "blue" - ] - ], - "showscale": true + "coloraxis": "coloraxis" }, "name": "", - "type": "parcoords", - "uid": "77e2f877-7df3-4dff-a2eb-67f27b9b2ece" + "type": "parcoords" } ], "layout": { - "height": 600, + "coloraxis": { + "colorbar": { + "title": { + "text": "species_id" + } + }, + "colorscale": [ + [ + 0, + "red" + ], + [ + 0.5, + "green" + ], + [ + 1, + "blue" + ] + ] + }, "legend": { "tracegroupgap": 0 }, @@ -52828,6 +52804,12 @@ "data": { "bar": [ { + "error_x": { + "color": "#2a3f5f" + }, + "error_y": { + "color": "#2a3f5f" + }, "marker": { "line": { "color": "#E5ECF6", @@ -52885,55 +52867,43 @@ "colorscale": [ [ 0, - "#0508b8" + "#0d0887" ], [ - 0.0893854748603352, - "#1910d8" + 0.1111111111111111, + "#46039f" ], [ - 0.1787709497206704, - "#3c19f0" + 0.2222222222222222, + "#7201a8" ], [ - 0.2681564245810056, - "#6b1cfb" + 0.3333333333333333, + "#9c179e" ], [ - 0.3575418994413408, - "#981cfd" + 0.4444444444444444, + "#bd3786" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.5555555555555556, + "#d8576b" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.6666666666666666, + "#ed7953" ], [ - 0.6256983240223464, - "#f246fe" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.7150837988826816, - "#fc67fd" - ], - [ - 0.8044692737430168, - "#fe88fc" - ], - [ - 0.8938547486033519, - "#fea5fd" - ], - [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "contour" @@ -52957,55 +52927,43 @@ "colorscale": [ [ 0, - "#0508b8" + "#0d0887" ], [ - 0.0893854748603352, - "#1910d8" + 0.1111111111111111, + "#46039f" ], [ - 0.1787709497206704, - "#3c19f0" + 0.2222222222222222, + "#7201a8" ], [ - 0.2681564245810056, - "#6b1cfb" + 0.3333333333333333, + "#9c179e" ], [ - 0.3575418994413408, - "#981cfd" + 0.4444444444444444, + "#bd3786" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.5555555555555556, + "#d8576b" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.6666666666666666, + "#ed7953" ], [ - 0.6256983240223464, - "#f246fe" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.7150837988826816, - "#fc67fd" - ], - [ - 0.8044692737430168, - "#fe88fc" - ], - [ - 0.8938547486033519, - "#fea5fd" - ], - [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "heatmap" @@ -53017,6 +52975,48 @@ "outlinewidth": 0, "ticks": "" }, + "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" + ] + ], "type": "heatmapgl" } ], @@ -53040,55 +53040,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" + "#0d0887" ], [ - 0.2681564245810056, - "#6b1cfb" + 0.1111111111111111, + "#46039f" ], [ - 0.3575418994413408, - "#981cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.4444444444444444, + "#bd3786" ], [ - 0.6256983240223464, - "#f246fe" + 0.5555555555555556, + "#d8576b" ], [ - 0.7150837988826816, - "#fc67fd" + 0.6666666666666666, + "#ed7953" ], [ - 0.8044692737430168, - "#fe88fc" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.8938547486033519, - "#fea5fd" - ], - [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "histogram2d" @@ -53103,55 +53091,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "histogram2dcontour" @@ -53177,6 +53153,12 @@ "type": "parcoords" } ], + "pie": [ + { + "automargin": true, + "type": "pie" + } + ], "scatter": [ { "marker": { @@ -53190,6 +53172,12 @@ ], "scatter3d": [ { + "line": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, "marker": { "colorbar": { "outlinewidth": 0, @@ -53282,6 +53270,48 @@ "outlinewidth": 0, "ticks": "" }, + "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" + ] + ], "type": "surface" } ], @@ -53309,10 +53339,17 @@ }, "layout": { "annotationdefaults": { - "arrowcolor": "#506784", + "arrowcolor": "#2a3f5f", "arrowhead": 0, "arrowwidth": 1 }, + "autotypenumbers": "strict", + "coloraxis": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, "colorscale": { "diverging": [ [ @@ -53363,109 +53400,85 @@ "sequential": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "sequentialminus": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ] }, @@ -53474,12 +53487,12 @@ "#EF553B", "#00cc96", "#ab63fa", - "#19d3f3", - "#e763fa", - "#FECB52", "#FFA15A", + "#19d3f3", "#FF6692", - "#B6E880" + "#B6E880", + "#FF97FF", + "#FECB52" ], "font": { "color": "#2a3f5f" @@ -53544,11 +53557,9 @@ } }, "shapedefaults": { - "fillcolor": "#506784", "line": { - "width": 0 - }, - "opacity": 0.4 + "color": "#2a3f5f" + } }, "ternary": { "aaxis": { @@ -53576,6 +53587,9 @@ "gridcolor": "white", "linecolor": "white", "ticks": "", + "title": { + "standoff": 15 + }, "zerolinecolor": "white", "zerolinewidth": 2 }, @@ -53584,6 +53598,9 @@ "gridcolor": "white", "linecolor": "white", "ticks": "", + "title": { + "standoff": 15 + }, "zerolinecolor": "white", "zerolinewidth": 2 } @@ -53592,24 +53609,9 @@ } }, "text/html": [ - "
\n", - " \n", - " \n", - "
\n", - " \n", - "
" + " }) }; }); " ] }, "metadata": {}, @@ -53656,33 +53654,28 @@ }, { "cell_type": "code", - "execution_count": 53, + "execution_count": 27, "metadata": {}, "outputs": [ { "data": { "application/vnd.plotly.v1+json": { "config": { - "linkText": "Export to plot.ly", - "plotlyServerURL": "https://plot.ly", - "showLink": false + "plotlyServerURL": "https://plot.ly" }, "data": [ { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "species=setosa
sepal_width=%{x}
sepal_length=%{y}", - "legendgroup": "species=setosa", + "hovertemplate": "species=setosa
sepal_width=%{x}
sepal_length=%{y}", + "legendgroup": "setosa", "marker": { "color": "#636efa", "symbol": "circle" }, "mode": "markers", - "name": "species=setosa", + "name": "setosa", + "orientation": "v", "showlegend": true, "type": "scatter", - "uid": "43e1fe54-b0d6-499c-914b-db32fd206dc3", "x": [ 3.5, 3, @@ -53791,20 +53784,17 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "species=versicolor
sepal_width=%{x}
sepal_length=%{y}", - "legendgroup": "species=versicolor", + "hovertemplate": "species=versicolor
sepal_width=%{x}
sepal_length=%{y}", + "legendgroup": "versicolor", "marker": { "color": "#EF553B", "symbol": "circle" }, "mode": "markers", - "name": "species=versicolor", + "name": "versicolor", + "orientation": "v", "showlegend": true, "type": "scatter", - "uid": "970a4a99-598e-474e-a988-44d910c51a1b", "x": [ 3.2, 3.2, @@ -53913,20 +53903,17 @@ "yaxis": "y" }, { - "hoverlabel": { - "namelength": 0 - }, - "hovertemplate": "species=virginica
sepal_width=%{x}
sepal_length=%{y}", - "legendgroup": "species=virginica", + "hovertemplate": "species=virginica
sepal_width=%{x}
sepal_length=%{y}", + "legendgroup": "virginica", "marker": { "color": "#00cc96", "symbol": "circle" }, "mode": "markers", - "name": "species=virginica", + "name": "virginica", + "orientation": "v", "showlegend": true, "type": "scatter", - "uid": "9f6f784e-2ad3-42a2-bc82-b7fe7d966347", "x": [ 3.3, 2.7, @@ -54043,21 +54030,11 @@ "y": 7.2 } ], - "grid": { - "xaxes": [ - "x" - ], - "xgap": 0.1, - "xside": "bottom", - "yaxes": [ - "y" - ], - "ygap": 0.1, - "yside": "left" - }, - "height": 600, "legend": { "orientation": "h", + "title": { + "text": "species" + }, "tracegroupgap": 0, "x": 0.5, "y": 1.1 @@ -54069,6 +54046,12 @@ "data": { "bar": [ { + "error_x": { + "color": "#2a3f5f" + }, + "error_y": { + "color": "#2a3f5f" + }, "marker": { "line": { "color": "#E5ECF6", @@ -54126,55 +54109,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "contour" @@ -54198,55 +54169,43 @@ "colorscale": [ [ 0, - "#0508b8" + "#0d0887" ], [ - 0.0893854748603352, - "#1910d8" + 0.1111111111111111, + "#46039f" ], [ - 0.1787709497206704, - "#3c19f0" + 0.2222222222222222, + "#7201a8" ], [ - 0.2681564245810056, - "#6b1cfb" + 0.3333333333333333, + "#9c179e" ], [ - 0.3575418994413408, - "#981cfd" + 0.4444444444444444, + "#bd3786" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.5555555555555556, + "#d8576b" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.6666666666666666, + "#ed7953" ], [ - 0.6256983240223464, - "#f246fe" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.7150837988826816, - "#fc67fd" - ], - [ - 0.8044692737430168, - "#fe88fc" - ], - [ - 0.8938547486033519, - "#fea5fd" - ], - [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "heatmap" @@ -54258,6 +54217,48 @@ "outlinewidth": 0, "ticks": "" }, + "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" + ] + ], "type": "heatmapgl" } ], @@ -54281,55 +54282,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" + "#0d0887" ], [ - 0.1787709497206704, - "#3c19f0" + 0.1111111111111111, + "#46039f" ], [ - 0.2681564245810056, - "#6b1cfb" + 0.2222222222222222, + "#7201a8" ], [ - 0.3575418994413408, - "#981cfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.4444444444444444, + "#bd3786" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.5555555555555556, + "#d8576b" ], [ - 0.6256983240223464, - "#f246fe" + 0.6666666666666666, + "#ed7953" ], [ - 0.7150837988826816, - "#fc67fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.8044692737430168, - "#fe88fc" - ], - [ - 0.8938547486033519, - "#fea5fd" - ], - [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "histogram2d" @@ -54344,55 +54333,43 @@ "colorscale": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" + "#0d0887" ], [ - 0.2681564245810056, - "#6b1cfb" + 0.1111111111111111, + "#46039f" ], [ - 0.3575418994413408, - "#981cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.4444444444444444, + "#bd3786" ], [ - 0.6256983240223464, - "#f246fe" + 0.5555555555555556, + "#d8576b" ], [ - 0.7150837988826816, - "#fc67fd" + 0.6666666666666666, + "#ed7953" ], [ - 0.8044692737430168, - "#fe88fc" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.8938547486033519, - "#fea5fd" - ], - [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "type": "histogram2dcontour" @@ -54418,6 +54395,12 @@ "type": "parcoords" } ], + "pie": [ + { + "automargin": true, + "type": "pie" + } + ], "scatter": [ { "marker": { @@ -54431,6 +54414,12 @@ ], "scatter3d": [ { + "line": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, "marker": { "colorbar": { "outlinewidth": 0, @@ -54523,6 +54512,48 @@ "outlinewidth": 0, "ticks": "" }, + "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" + ] + ], "type": "surface" } ], @@ -54550,10 +54581,17 @@ }, "layout": { "annotationdefaults": { - "arrowcolor": "#506784", + "arrowcolor": "#2a3f5f", "arrowhead": 0, "arrowwidth": 1 }, + "autotypenumbers": "strict", + "coloraxis": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, "colorscale": { "diverging": [ [ @@ -54604,109 +54642,85 @@ "sequential": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ], "sequentialminus": [ [ 0, - "#0508b8" - ], - [ - 0.0893854748603352, - "#1910d8" - ], - [ - 0.1787709497206704, - "#3c19f0" - ], - [ - 0.2681564245810056, - "#6b1cfb" + "#0d0887" ], [ - 0.3575418994413408, - "#981cfd" + 0.1111111111111111, + "#46039f" ], [ - 0.44692737430167595, - "#bf1cfd" + 0.2222222222222222, + "#7201a8" ], [ - 0.5363128491620112, - "#dd2bfd" + 0.3333333333333333, + "#9c179e" ], [ - 0.6256983240223464, - "#f246fe" + 0.4444444444444444, + "#bd3786" ], [ - 0.7150837988826816, - "#fc67fd" + 0.5555555555555556, + "#d8576b" ], [ - 0.8044692737430168, - "#fe88fc" + 0.6666666666666666, + "#ed7953" ], [ - 0.8938547486033519, - "#fea5fd" + 0.7777777777777778, + "#fb9f3a" ], [ - 0.9832402234636871, - "#febefe" + 0.8888888888888888, + "#fdca26" ], [ 1, - "#fec3fe" + "#f0f921" ] ] }, @@ -54715,12 +54729,12 @@ "#EF553B", "#00cc96", "#ab63fa", - "#19d3f3", - "#e763fa", - "#FECB52", "#FFA15A", + "#19d3f3", "#FF6692", - "#B6E880" + "#B6E880", + "#FF97FF", + "#FECB52" ], "font": { "color": "#2a3f5f" @@ -54785,11 +54799,9 @@ } }, "shapedefaults": { - "fillcolor": "#506784", "line": { - "width": 0 - }, - "opacity": 0.4 + "color": "#2a3f5f" + } }, "ternary": { "aaxis": { @@ -54817,6 +54829,9 @@ "gridcolor": "white", "linecolor": "white", "ticks": "", + "title": { + "standoff": 15 + }, "zerolinecolor": "white", "zerolinewidth": 2 }, @@ -54825,17 +54840,30 @@ "gridcolor": "white", "linecolor": "white", "ticks": "", + "title": { + "standoff": 15 + }, "zerolinecolor": "white", "zerolinewidth": 2 } } }, "xaxis": { + "anchor": "y", + "domain": [ + 0, + 1 + ], "title": { "text": "sepal_width" } }, "yaxis": { + "anchor": "x", + "domain": [ + 0, + 1 + ], "title": { "text": "sepal_length" } @@ -54843,24 +54871,9 @@ } }, "text/html": [ - "
\n", - " \n", - " \n", - "
\n", - " \n", - "
" + " }) }; }); " ] }, "metadata": {}, @@ -54928,7 +54937,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.7.3" + "version": "3.8.6" }, "toc": { "base_numbering": 1,