{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# 3D stem and word scatter" ] }, { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [ { "data": { "text/html": [ " \n", " " ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "%matplotlib notebook\n", "from stemgraphic.alpha import word_scatter, stem_scatter\n", "from stemgraphic.stopwords import EN\n", "import cufflinks as cf\n", "cf.go_offline()" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "In [stem and word scatter](stem_and_word_scatter.ipynb), we covered the basics when comparing 2 different sources. But scatter will also take a 3rd source as argument. In that case, it will display the data in a 3d view. We will reuse our two stories from before and add a 3rd one:" ] }, { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [], "source": [ "src1 = '../datasets/The Red Headed League by Arthur Conan Doyle.txt'\n", "src2 = '../datasets/A Case of Identity by Arthur Conan Doyle.txt'\n", "src3 = '../datasets/The Final Problem by Arthur Conan Doyle.txt'" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Given how 3d scatter plots provide the most information in an interactive form, where one can zoom in, rotate, look at the data from different angles, we'll go straight into that mode:" ] }, { "cell_type": "code", "execution_count": 3, "metadata": {}, "outputs": [ { "data": { "application/vnd.plotly.v1+json": { "config": { "linkText": "Export to plot.ly", "plotlyServerURL": "https://plot.ly", "showLink": true }, "data": [ { "marker": { "color": "rgba(255, 0, 136, 1.0)", "line": { "width": 1.3 }, "opacity": 0.5, "size": [ 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10 ], "symbol": "circle" }, "mode": "markers", "name": "=", "text": [ "ht 2.0 2.0 2.0", "ah 1.0 1.0 1.0", "ef 5.0 5.0 5.0", "et 1.0 1.0 1.0" ], "textfont": { "color": "#4D5663" }, "type": "scatter3d", "x": [ 2, 1, 5, 1 ], "y": [ 2, 1, 5, 1 ], "z": [ 2, 1, 5, 1 ] }, { "marker": { "color": "rgba(55, 128, 191, 1.0)", "line": { "width": 1.3 }, "opacity": 0.5, "size": [ 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10 ], "symbol": "circle" }, "mode": "markers", "name": "x", "text": [ "or 35.0 18.0 17.0", "op 11.0 5.0 5.0", "on 89.0 67.0 80.0", "of 254.0 183.0 203.0", "oc 8.0 3.0 3.0", "ob 17.0 17.0 5.0", "no 130.0 118.0 82.0", "ne 39.0 37.0 35.0", "na 16.0 3.0 7.0", "mu 34.0 22.0 23.0", "mr 55.0 50.0 9.0", "mi 39.0 37.0 18.0", "me 100.0 66.0 100.0", "ma 96.0 94.0 80.0", "lo 46.0 30.0 33.0", "li 65.0 59.0 40.0", "le 51.0 50.0 45.0", "kn 30.0 20.0 18.0", "ke 10.0 9.0 6.0", "ju 21.0 11.0 4.0", "jo 19.0 4.0 5.0", "ja 11.0 7.0 3.0", "it 150.0 125.0 122.0", "is 110.0 83.0 69.0", "in 213.0 176.0 206.0", "i 261.0 159.0 230.0", "ou 57.0 30.0 48.0", "pa 50.0 23.0 44.0", "a 240.0 165.0 163.0", "pi 17.0 8.0 8.0", "wi 151.0 118.0 91.0", "wh 193.0 144.0 162.0", "we 139.0 85.0 84.0", "vi 15.0 10.0 11.0", "ve 47.0 31.0 15.0", "va 14.0 7.0 11.0", "us 31.0 29.0 18.0", "up 76.0 53.0 57.0", "un 31.0 27.0 25.0", "tw 22.0 15.0 14.0", "tu 12.0 3.0 12.0", "to 257.0 221.0 242.0", "ti 23.0 16.0 16.0", "th 880.0 671.0 752.0", "te 25.0 17.0 24.0", "su 50.0 41.0 25.0", "st 93.0 64.0 73.0", "so 89.0 73.0 55.0", "sn 5.0 5.0 3.0", "sm 22.0 6.0 13.0", "si 47.0 45.0 27.0", "se 61.0 52.0 44.0", "sc 10.0 4.0 6.0", "sa 102.0 73.0 61.0", "ru 9.0 4.0 8.0", "ri 23.0 15.0 10.0", "re 115.0 69.0 97.0", "pu 25.0 17.0 15.0", "po 38.0 25.0 32.0", "hu 14.0 14.0 6.0", "pe 23.0 20.0 15.0", "yo 207.0 136.0 121.0", "hi 152.0 116.0 130.0", "ex 46.0 16.0 35.0", "ev 33.0 25.0 32.0", "ba 29.0 26.0 12.0", "es 7.0 2.0 4.0", "be 139.0 96.0 117.0", "bi 9.0 4.0 6.0", "em 5.0 2.0 1.0", "co 165.0 121.0 135.0", "el 11.0 9.0 4.0", "bu 87.0 81.0 51.0", "do 95.0 65.0 54.0", "di 50.0 36.0 21.0", "ce 13.0 9.0 8.0", "ch 39.0 24.0 23.0", "ci 7.0 6.0 3.0", "cl 39.0 25.0 31.0", "du 12.0 4.0 9.0", "ey 11.0 8.0 8.0", "ho 121.0 95.0 70.0", "at 67.0 55.0 60.0", "ha 240.0 159.0 210.0", "ab 38.0 23.0 26.0", "ad 27.0 15.0 10.0", "go 44.0 33.0 20.0", "af 28.0 15.0 17.0", "av 2.0 1.0 1.0", "ge 17.0 16.0 15.0", "gi 10.0 9.0 8.0", "am 26.0 13.0 14.0", "an 368.0 296.0 250.0", "ap 17.0 7.0 8.0", "ar 45.0 35.0 34.0", "fo 138.0 93.0 84.0", "fl 19.0 4.0 5.0", "as 134.0 86.0 75.0", "al 63.0 48.0 52.0" ], "textfont": { "color": "#4D5663" }, "type": "scatter3d", "x": [ 35, 11, 89, 254, 8, 17, 130, 39, 16, 34, 55, 39, 100, 96, 46, 65, 51, 30, 10, 21, 19, 11, 150, 110, 213, 261, 57, 50, 240, 17, 151, 193, 139, 15, 47, 14, 31, 76, 31, 22, 12, 257, 23, 880, 25, 50, 93, 89, 5, 22, 47, 61, 10, 102, 9, 23, 115, 25, 38, 14, 23, 207, 152, 46, 33, 29, 7, 139, 9, 5, 165, 11, 87, 95, 50, 13, 39, 7, 39, 12, 11, 121, 67, 240, 38, 27, 44, 28, 2, 17, 10, 26, 368, 17, 45, 138, 19, 134, 63 ], "y": [ 18, 5, 67, 183, 3, 17, 118, 37, 3, 22, 50, 37, 66, 94, 30, 59, 50, 20, 9, 11, 4, 7, 125, 83, 176, 159, 30, 23, 165, 8, 118, 144, 85, 10, 31, 7, 29, 53, 27, 15, 3, 221, 16, 671, 17, 41, 64, 73, 5, 6, 45, 52, 4, 73, 4, 15, 69, 17, 25, 14, 20, 136, 116, 16, 25, 26, 2, 96, 4, 2, 121, 9, 81, 65, 36, 9, 24, 6, 25, 4, 8, 95, 55, 159, 23, 15, 33, 15, 1, 16, 9, 13, 296, 7, 35, 93, 4, 86, 48 ], "z": [ 17, 5, 80, 203, 3, 5, 82, 35, 7, 23, 9, 18, 100, 80, 33, 40, 45, 18, 6, 4, 5, 3, 122, 69, 206, 230, 48, 44, 163, 8, 91, 162, 84, 11, 15, 11, 18, 57, 25, 14, 12, 242, 16, 752, 24, 25, 73, 55, 3, 13, 27, 44, 6, 61, 8, 10, 97, 15, 32, 6, 15, 121, 130, 35, 32, 12, 4, 117, 6, 1, 135, 4, 51, 54, 21, 8, 23, 3, 31, 9, 8, 70, 60, 210, 26, 10, 20, 17, 1, 15, 8, 14, 250, 8, 34, 84, 5, 75, 52 ] }, { "marker": { "color": "rgba(128, 128, 128, 1.0)", "line": { "width": 1.3 }, "opacity": 0.5, "size": [ 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10 ], "symbol": "circle" }, "mode": "markers", "name": "y", "text": [ "bo 15.0 25.0 13.0", "sh 69.0 84.0 61.0", "ca 63.0 67.0 63.0", "wo 68.0 71.0 50.0", "qu 24.0 27.0 19.0", "wr 16.0 17.0 12.0", "sy 1.0 3.0 1.0", "ki 4.0 7.0 2.0", "he 203.0 212.0 131.0", "im 13.0 14.0 13.0", "ow 7.0 9.0 4.0", "fi 43.0 47.0 34.0", "ot 18.0 19.0 5.0", "gl 10.0 22.0 9.0", "ye 26.0 29.0 16.0", "ea 15.0 16.0 6.0", "oh 8.0 9.0 2.0" ], "textfont": { "color": "#4D5663" }, "type": "scatter3d", "x": [ 15, 69, 63, 68, 24, 16, 1, 4, 203, 13, 7, 43, 18, 10, 26, 15, 8 ], "y": [ 25, 84, 67, 71, 27, 17, 3, 7, 212, 14, 9, 47, 19, 22, 29, 16, 9 ], "z": [ 13, 61, 63, 50, 19, 12, 1, 2, 131, 13, 4, 34, 5, 9, 16, 6, 2 ] }, { "marker": { "color": "rgba(188, 128, 189, 1.0)", "line": { "width": 1.3 }, "opacity": 0.5, "size": [ 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10 ], "symbol": "circle" }, "mode": "markers", "name": "z", "text": [ "ph 2.0 1.0 3.0", "fe 22.0 19.0 27.0", "tr 20.0 27.0 32.0", "la 31.0 33.0 47.0", "fr 64.0 57.0 66.0", "fu 6.0 7.0 8.0", "ai 1.0 1.0 6.0", "fa 42.0 57.0 46.0", "ag 22.0 15.0 26.0", "vo 3.0 6.0 4.0", "wa 164.0 141.0 172.0", "gr 19.0 17.0 24.0", "ac 10.0 14.0 13.0", "if 19.0 20.0 21.0", "ga 13.0 9.0 14.0", "aw 8.0 8.0 19.0", "mo 64.0 50.0 72.0", "cr 25.0 16.0 28.0", "cu 8.0 7.0 14.0", "pr 55.0 27.0 61.0", "da 32.0 15.0 35.0", "ra 13.0 12.0 16.0", "ov 20.0 17.0 24.0", "de 41.0 39.0 50.0", "ro 31.0 7.0 46.0", "dr 12.0 18.0 19.0", "ta 19.0 25.0 22.0", "by 26.0 14.0 33.0", "br 26.0 26.0 32.0", "sl 6.0 16.0 10.0", "bl 11.0 13.0 18.0", "ni 5.0 3.0 8.0", "sp 23.0 15.0 27.0", "en 38.0 20.0 44.0", "my 85.0 43.0 114.0", "sw 6.0 5.0 12.0", "ol 2.0 8.0 3.0", "pl 21.0 16.0 24.0" ], "textfont": { "color": "#4D5663" }, "type": "scatter3d", "x": [ 2, 22, 20, 31, 64, 6, 1, 42, 22, 3, 164, 19, 10, 19, 13, 8, 64, 25, 8, 55, 32, 13, 20, 41, 31, 12, 19, 26, 26, 6, 11, 5, 23, 38, 85, 6, 2, 21 ], "y": [ 1, 19, 27, 33, 57, 7, 1, 57, 15, 6, 141, 17, 14, 20, 9, 8, 50, 16, 7, 27, 15, 12, 17, 39, 7, 18, 25, 14, 26, 16, 13, 3, 15, 20, 43, 5, 8, 16 ], "z": [ 3, 27, 32, 47, 66, 8, 6, 46, 26, 4, 172, 24, 13, 21, 14, 19, 72, 28, 14, 61, 35, 16, 24, 50, 46, 19, 22, 33, 32, 10, 18, 8, 27, 44, 114, 12, 3, 24 ] } ], "layout": { "legend": { "bgcolor": "#F5F6F9", "font": { "color": "#4D5663" } }, "paper_bgcolor": "#F5F6F9", "plot_bgcolor": "#F5F6F9", "scene": { "xaxis": { "gridcolor": "#9499A3", "showgrid": true, "tickfont": { "color": "#4D5663" }, "title": { "font": { "color": "#4D5663" }, "text": "" }, "type": "log", "zerolinecolor": "#9499A3" }, "yaxis": { "gridcolor": "#9499A3", "showgrid": true, "tickfont": { "color": "#4D5663" }, "title": { "font": { "color": "#4D5663" }, "text": "" }, "type": "log", "zerolinecolor": "#9499A3" }, "zaxis": { "gridcolor": "#9499A3", "showgrid": true, "tickfont": { "color": "#4D5663" }, "title": { "font": { "color": "#4D5663" }, "text": "" }, "type": "log", "zerolinecolor": "#9499A3" } }, "template": { "data": { "bar": [ { "error_x": { "color": "#2a3f5f" }, "error_y": { "color": "#2a3f5f" }, "marker": { "line": { "color": "#E5ECF6", "width": 0.5 } }, "type": "bar" } ], "barpolar": [ { "marker": { "line": { "color": "#E5ECF6", "width": 0.5 } }, "type": "barpolar" } ], "carpet": [ { "aaxis": { "endlinecolor": "#2a3f5f", "gridcolor": "white", "linecolor": "white", "minorgridcolor": "white", "startlinecolor": "#2a3f5f" }, "baxis": { "endlinecolor": "#2a3f5f", "gridcolor": "white", "linecolor": "white", "minorgridcolor": "white", "startlinecolor": "#2a3f5f" }, "type": "carpet" } ], "choropleth": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "type": "choropleth" } ], "contour": [ { "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": "contour" } ], "contourcarpet": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "type": "contourcarpet" } ], "heatmap": [ { "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": "heatmap" } ], "heatmapgl": [ { "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": "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" } ], "mesh3d": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "type": "mesh3d" } ], "parcoords": [ { "line": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "parcoords" } ], "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.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" } ], "table": [ { "cells": { "fill": { "color": "#EBF0F8" }, "line": { "color": "white" } }, "header": { "fill": { "color": "#C8D4E3" }, "line": { "color": "white" } }, "type": "table" } ] }, "layout": { "annotationdefaults": { "arrowcolor": "#2a3f5f", "arrowhead": 0, "arrowwidth": 1 }, "colorscale": { "diverging": [ [ 0, "#8e0152" ], [ 0.1, "#c51b7d" ], [ 0.2, "#de77ae" ], [ 0.3, "#f1b6da" ], [ 0.4, "#fde0ef" ], [ 0.5, "#f7f7f7" ], [ 0.6, "#e6f5d0" ], [ 0.7, "#b8e186" ], [ 0.8, "#7fbc41" ], [ 0.9, "#4d9221" ], [ 1, "#276419" ] ], "sequential": [ [ 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" ] ], "sequentialminus": [ [ 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" ] ] }, "colorway": [ "#636efa", "#EF553B", "#00cc96", "#ab63fa", "#FFA15A", "#19d3f3", "#FF6692", "#B6E880", "#FF97FF", "#FECB52" ], "font": { "color": "#2a3f5f" }, "geo": { "bgcolor": "white", "lakecolor": "white", "landcolor": "#E5ECF6", "showlakes": true, "showland": true, "subunitcolor": "white" }, "hoverlabel": { "align": "left" }, "hovermode": "closest", "mapbox": { "style": "light" }, "paper_bgcolor": "white", "plot_bgcolor": "#E5ECF6", "polar": { "angularaxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" }, "bgcolor": "#E5ECF6", "radialaxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" } }, "scene": { "xaxis": { "backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white" }, "yaxis": { "backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white" }, "zaxis": { "backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white" } }, "shapedefaults": { "line": { "color": "#2a3f5f" } }, "ternary": { "aaxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" }, "baxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" }, "bgcolor": "#E5ECF6", "caxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" } }, "title": { "x": 0.05 }, "xaxis": { "automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "zerolinecolor": "white", "zerolinewidth": 2 }, "yaxis": { "automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "zerolinecolor": "white", "zerolinewidth": 2 } } }, "title": { "font": { "color": "#4D5663" }, "text": "../datasets/The Red Headed League by Arthur Conan Doyle.txt vs
../datasets/A Case of Identity by Arthur Conan Doyle.txt vs ../datasets/The Final Problem by Arthur Conan Doyle.txt" } } }, "text/html": [ "
\n", " \n", " \n", "
\n", " \n", "
" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "stem_scatter(src1, src2, src3);" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "These are raw counts, stop_words not removed, and the data is not normalized. Typically, with stem-and-leaf, building ngrams, we probably want to normalize the data so that counts for source 2 and 3 are adjusted up or down based on their size in comparison to source 1. As to leaf count, we'll go with 2, no stem or leaf skip, so we are looking at standard trigrams at the beginning of words:" ] }, { "cell_type": "code", "execution_count": 4, "metadata": {}, "outputs": [ { "data": { "application/vnd.plotly.v1+json": { "config": { "linkText": "Export to plot.ly", "plotlyServerURL": "https://plot.ly", "showLink": true }, "data": [ { "marker": { "color": "rgba(255, 0, 136, 1.0)", "line": { "width": 1.3 }, "opacity": 0.5, "size": [ 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15 ], "symbol": "circle" }, "mode": "markers", "name": "x", "text": [ "a 240.0 214.51871278707117 206.81696181516324", "lan 9.0 2.600226821661469 6.3440785832872155", "lau 4.0 3.900340232492203 1.2688157166574432", "lig 9.0 3.900340232492203 2.5376314333148864", "lis 3.0 2.600226821661469 2.5376314333148864", "liv 4.0 3.900340232492203 3.8064471499723296", "lon 17.0 10.400907286645875 13.956972883231876", "los 6.0 2.600226821661469 5.075262866629773", "man 45.0 31.202721859937625 30.451577199778637", "men 11.0 1.3001134108307344 3.8064471499723296", "mer 18.0 3.900340232492203 6.3440785832872155", "mig 17.0 3.900340232492203 7.612894299944659", "kne 9.0 2.600226821661469 2.5376314333148864", "mos 14.0 9.10079387581514 12.688157166574431", "nar 4.0 1.3001134108307344 2.5376314333148864", "nee 2.0 1.3001134108307344 1.2688157166574432", "new 8.0 3.900340232492203 3.8064471499723296", "nor 5.0 1.3001134108307344 1.2688157166574432", "obj 4.0 2.600226821661469 1.2688157166574432", "occ 7.0 3.900340232492203 3.8064471499723296", "off 24.0 15.601360929968813 8.881710016602103", "oft 3.0 1.3001134108307344 2.5376314333148864", "one 30.0 24.702154805783955 29.182761483121194", "ope 8.0 3.900340232492203 3.8064471499723296", "opp 2.0 1.3001134108307344 1.2688157166574432", "mus 22.0 7.800680464984406 15.225788599889318", "or 26.0 22.101927984122483 11.419341449916988", "jus 17.0 14.301247519138078 2.5376314333148864", "ima 3.0 2.600226821661469 2.5376314333148864", "dis 11.0 10.400907286645875 10.150525733259546", "doc 8.0 2.600226821661469 3.8064471499723296", "don 13.0 11.70102069747661 11.419341449916988", "dow 20.0 11.70102069747661 17.763420033204206", "ear 9.0 6.500567054153672 2.5376314333148864", "eno 7.0 5.200453643322938 3.8064471499723296", "ent 8.0 7.800680464984406 3.8064471499723296", "exc 10.0 2.600226821661469 3.8064471499723296", "exp 23.0 6.500567054153672 17.763420033204206", "eye 11.0 10.400907286645875 10.150525733259546", "fan 3.0 1.3001134108307344 1.2688157166574432", "is 108.0 105.30918627728948 87.54828444936358", "fav 2.0 1.3001134108307344 1.2688157166574432", "fla 8.0 1.3001134108307344 1.2688157166574432", "fol 7.0 1.3001134108307344 3.8064471499723296", "for 109.0 96.20839240147434 86.27946873270614", "goo 20.0 10.400907286645875 7.612894299944659", "hal 8.0 7.800680464984406 7.612894299944659", "har 8.0 6.500567054153672 7.612894299944659", "hea 39.0 22.101927984122483 16.494604316546763", "his 104.0 88.40771193648993 101.50525733259545", "hol 62.0 61.10533030904452 39.33328721638074", "hou 22.0 3.900340232492203 13.956972883231876", "how 18.0 16.901474340799545 12.688157166574431", "fel 11.0 9.10079387581514 5.075262866629773", "dir 9.0 2.600226821661469 3.8064471499723296", "out 30.0 19.501701162461018 21.569867183176534", "pav 4.0 2.600226821661469 1.2688157166574432", "suf 2.0 1.3001134108307344 1.2688157166574432", "sur 8.0 7.800680464984406 5.075262866629773", "ten 8.0 2.600226821661469 3.8064471499723296", "thi 68.0 66.30578395236745 62.171970116214716", "tho 27.0 16.901474340799545 19.03223574986165", "tim 20.0 7.800680464984406 16.494604316546763", "to- 10.0 1.3001134108307344 3.8064471499723296", "two 17.0 14.301247519138078 16.494604316546763", "uni 3.0 1.3001134108307344 2.5376314333148864", "unt 13.0 5.200453643322938 5.075262866629773", "upo 49.0 45.503969379075706 44.40855008301051", "sud 7.0 2.600226821661469 1.2688157166574432", "us 20.0 19.501701162461018 15.225788599889318", "wan 6.0 5.200453643322938 2.5376314333148864", "war 6.0 5.200453643322938 5.075262866629773", "we 61.0 35.10306209242983 53.29026009961262", "wee 13.0 3.900340232492203 2.5376314333148864", "wel 26.0 19.501701162461018 19.03223574986165", "wen 8.0 3.900340232492203 2.5376314333148864", "wha 43.0 32.50283527076836 29.182761483121194", "who 33.0 23.40204139495322 29.182761483121194", "why 13.0 5.200453643322938 3.8064471499723296", "wil 54.0 18.20158775163028 43.13973436635307", "wor 23.0 16.901474340799545 19.03223574986165", "ver 43.0 39.003402324922035 16.494604316546763", "par 9.0 6.500567054153672 5.075262866629773", "suc 16.0 6.500567054153672 12.688157166574431", "sto 18.0 5.200453643322938 11.419341449916988", "pay 6.0 2.600226821661469 2.5376314333148864", "pen 4.0 2.600226821661469 1.2688157166574432", "pri 6.0 3.900340232492203 3.8064471499723296", "pul 3.0 1.3001134108307344 2.5376314333148864", "put 12.0 3.900340232492203 5.075262866629773", "rac 2.0 1.3001134108307344 1.2688157166574432", "rea 32.0 28.602495038276157 26.64513004980631", "red 30.0 2.600226821661469 1.2688157166574432", "rel 4.0 2.600226821661469 1.2688157166574432", "rig 15.0 13.001134108307344 3.8064471499723296", "ris 4.0 3.900340232492203 2.5376314333148864", "sub 7.0 2.600226821661469 2.5376314333148864", "sat 12.0 5.200453643322938 3.8064471499723296", "say 15.0 14.301247519138078 12.688157166574431", "see 38.0 37.703288914091296 29.182761483121194", "set 7.0 3.900340232492203 3.8064471499723296", "sev 4.0 1.3001134108307344 2.5376314333148864", "shi 5.0 2.600226821661469 1.2688157166574432", "sir 13.0 10.400907286645875 1.2688157166574432", "sma 15.0 5.200453643322938 6.3440785832872155", "sou 7.0 2.600226821661469 1.2688157166574432", "spa 11.0 2.600226821661469 1.2688157166574432", "spl 2.0 1.3001134108307344 1.2688157166574432", "sti 12.0 3.900340232492203 8.881710016602103", "sav 4.0 3.900340232492203 1.2688157166574432", "dif 4.0 2.600226821661469 1.2688157166574432", "loc 2.0 1.3001134108307344 1.2688157166574432", "you 207.0 176.81542387297986 153.52670171555062", "ans 15.0 7.800680464984406 5.075262866629773", "app 14.0 7.800680464984406 6.3440785832872155", "day 14.0 9.10079387581514 11.419341449916988", "arm 5.0 3.900340232492203 3.8064471499723296", "dar 13.0 2.600226821661469 6.3440785832872155", "art 3.0 2.600226821661469 2.5376314333148864", "as 93.0 84.50737170399773 72.32249584947427", "ask 18.0 14.301247519138078 6.3440785832872155", "ass 17.0 7.800680464984406 11.419341449916988", "cha 23.0 20.80181457329175 19.03223574986165", "be 55.0 44.203855968244966 52.021444382955174", "ano 5.0 2.600226821661469 1.2688157166574432", "bec 7.0 6.500567054153672 3.8064471499723296", "bed 2.0 1.3001134108307344 1.2688157166574432", "beg 8.0 6.500567054153672 5.075262866629773", "beh 8.0 3.900340232492203 5.075262866629773", "bit 3.0 1.3001134108307344 2.5376314333148864", "bod 2.0 1.3001134108307344 1.2688157166574432", "com 52.0 41.6036291465835 39.33328721638074", "col 10.0 9.10079387581514 7.612894299944659", "bur 3.0 1.3001134108307344 2.5376314333148864", "cli 7.0 2.600226821661469 1.2688157166574432", "cla 12.0 9.10079387581514 5.075262866629773", "cit 7.0 2.600226821661469 1.2688157166574432", "cor 9.0 3.900340232492203 1.2688157166574432", "and 279.0 278.2242699177772 239.80617044825675", "bak 3.0 2.600226821661469 2.5376314333148864", "aft 23.0 10.400907286645875 13.956972883231876", "am 17.0 11.70102069747661 15.225788599889318", "amo 5.0 1.3001134108307344 2.5376314333148864", "als 6.0 2.600226821661469 1.2688157166574432", "all 39.0 37.703288914091296 35.52684006640841", "abo 24.0 22.101927984122483 13.956972883231876", "adv 17.0 7.800680464984406 3.8064471499723296", "abl 5.0 2.600226821661469 1.2688157166574432" ], "textfont": { "color": "#4D5663" }, "type": "scatter3d", "x": [ 240, 9, 4, 9, 3, 4, 17, 6, 45, 11, 18, 17, 9, 14, 4, 2, 8, 5, 4, 7, 24, 3, 30, 8, 2, 22, 26, 17, 3, 11, 8, 13, 20, 9, 7, 8, 10, 23, 11, 3, 108, 2, 8, 7, 109, 20, 8, 8, 39, 104, 62, 22, 18, 11, 9, 30, 4, 2, 8, 8, 68, 27, 20, 10, 17, 3, 13, 49, 7, 20, 6, 6, 61, 13, 26, 8, 43, 33, 13, 54, 23, 43, 9, 16, 18, 6, 4, 6, 3, 12, 2, 32, 30, 4, 15, 4, 7, 12, 15, 38, 7, 4, 5, 13, 15, 7, 11, 2, 12, 4, 4, 2, 207, 15, 14, 14, 5, 13, 3, 93, 18, 17, 23, 55, 5, 7, 2, 8, 8, 3, 2, 52, 10, 3, 7, 12, 7, 9, 279, 3, 23, 17, 5, 6, 39, 24, 17, 5 ], "y": [ 214.51871278707117, 2.600226821661469, 3.900340232492203, 3.900340232492203, 2.600226821661469, 3.900340232492203, 10.400907286645875, 2.600226821661469, 31.202721859937625, 1.3001134108307344, 3.900340232492203, 3.900340232492203, 2.600226821661469, 9.10079387581514, 1.3001134108307344, 1.3001134108307344, 3.900340232492203, 1.3001134108307344, 2.600226821661469, 3.900340232492203, 15.601360929968813, 1.3001134108307344, 24.702154805783955, 3.900340232492203, 1.3001134108307344, 7.800680464984406, 22.101927984122483, 14.301247519138078, 2.600226821661469, 10.400907286645875, 2.600226821661469, 11.70102069747661, 11.70102069747661, 6.500567054153672, 5.200453643322938, 7.800680464984406, 2.600226821661469, 6.500567054153672, 10.400907286645875, 1.3001134108307344, 105.30918627728948, 1.3001134108307344, 1.3001134108307344, 1.3001134108307344, 96.20839240147434, 10.400907286645875, 7.800680464984406, 6.500567054153672, 22.101927984122483, 88.40771193648993, 61.10533030904452, 3.900340232492203, 16.901474340799545, 9.10079387581514, 2.600226821661469, 19.501701162461018, 2.600226821661469, 1.3001134108307344, 7.800680464984406, 2.600226821661469, 66.30578395236745, 16.901474340799545, 7.800680464984406, 1.3001134108307344, 14.301247519138078, 1.3001134108307344, 5.200453643322938, 45.503969379075706, 2.600226821661469, 19.501701162461018, 5.200453643322938, 5.200453643322938, 35.10306209242983, 3.900340232492203, 19.501701162461018, 3.900340232492203, 32.50283527076836, 23.40204139495322, 5.200453643322938, 18.20158775163028, 16.901474340799545, 39.003402324922035, 6.500567054153672, 6.500567054153672, 5.200453643322938, 2.600226821661469, 2.600226821661469, 3.900340232492203, 1.3001134108307344, 3.900340232492203, 1.3001134108307344, 28.602495038276157, 2.600226821661469, 2.600226821661469, 13.001134108307344, 3.900340232492203, 2.600226821661469, 5.200453643322938, 14.301247519138078, 37.703288914091296, 3.900340232492203, 1.3001134108307344, 2.600226821661469, 10.400907286645875, 5.200453643322938, 2.600226821661469, 2.600226821661469, 1.3001134108307344, 3.900340232492203, 3.900340232492203, 2.600226821661469, 1.3001134108307344, 176.81542387297986, 7.800680464984406, 7.800680464984406, 9.10079387581514, 3.900340232492203, 2.600226821661469, 2.600226821661469, 84.50737170399773, 14.301247519138078, 7.800680464984406, 20.80181457329175, 44.203855968244966, 2.600226821661469, 6.500567054153672, 1.3001134108307344, 6.500567054153672, 3.900340232492203, 1.3001134108307344, 1.3001134108307344, 41.6036291465835, 9.10079387581514, 1.3001134108307344, 2.600226821661469, 9.10079387581514, 2.600226821661469, 3.900340232492203, 278.2242699177772, 2.600226821661469, 10.400907286645875, 11.70102069747661, 1.3001134108307344, 2.600226821661469, 37.703288914091296, 22.101927984122483, 7.800680464984406, 2.600226821661469 ], "z": [ 206.81696181516324, 6.3440785832872155, 1.2688157166574432, 2.5376314333148864, 2.5376314333148864, 3.8064471499723296, 13.956972883231876, 5.075262866629773, 30.451577199778637, 3.8064471499723296, 6.3440785832872155, 7.612894299944659, 2.5376314333148864, 12.688157166574431, 2.5376314333148864, 1.2688157166574432, 3.8064471499723296, 1.2688157166574432, 1.2688157166574432, 3.8064471499723296, 8.881710016602103, 2.5376314333148864, 29.182761483121194, 3.8064471499723296, 1.2688157166574432, 15.225788599889318, 11.419341449916988, 2.5376314333148864, 2.5376314333148864, 10.150525733259546, 3.8064471499723296, 11.419341449916988, 17.763420033204206, 2.5376314333148864, 3.8064471499723296, 3.8064471499723296, 3.8064471499723296, 17.763420033204206, 10.150525733259546, 1.2688157166574432, 87.54828444936358, 1.2688157166574432, 1.2688157166574432, 3.8064471499723296, 86.27946873270614, 7.612894299944659, 7.612894299944659, 7.612894299944659, 16.494604316546763, 101.50525733259545, 39.33328721638074, 13.956972883231876, 12.688157166574431, 5.075262866629773, 3.8064471499723296, 21.569867183176534, 1.2688157166574432, 1.2688157166574432, 5.075262866629773, 3.8064471499723296, 62.171970116214716, 19.03223574986165, 16.494604316546763, 3.8064471499723296, 16.494604316546763, 2.5376314333148864, 5.075262866629773, 44.40855008301051, 1.2688157166574432, 15.225788599889318, 2.5376314333148864, 5.075262866629773, 53.29026009961262, 2.5376314333148864, 19.03223574986165, 2.5376314333148864, 29.182761483121194, 29.182761483121194, 3.8064471499723296, 43.13973436635307, 19.03223574986165, 16.494604316546763, 5.075262866629773, 12.688157166574431, 11.419341449916988, 2.5376314333148864, 1.2688157166574432, 3.8064471499723296, 2.5376314333148864, 5.075262866629773, 1.2688157166574432, 26.64513004980631, 1.2688157166574432, 1.2688157166574432, 3.8064471499723296, 2.5376314333148864, 2.5376314333148864, 3.8064471499723296, 12.688157166574431, 29.182761483121194, 3.8064471499723296, 2.5376314333148864, 1.2688157166574432, 1.2688157166574432, 6.3440785832872155, 1.2688157166574432, 1.2688157166574432, 1.2688157166574432, 8.881710016602103, 1.2688157166574432, 1.2688157166574432, 1.2688157166574432, 153.52670171555062, 5.075262866629773, 6.3440785832872155, 11.419341449916988, 3.8064471499723296, 6.3440785832872155, 2.5376314333148864, 72.32249584947427, 6.3440785832872155, 11.419341449916988, 19.03223574986165, 52.021444382955174, 1.2688157166574432, 3.8064471499723296, 1.2688157166574432, 5.075262866629773, 5.075262866629773, 2.5376314333148864, 1.2688157166574432, 39.33328721638074, 7.612894299944659, 2.5376314333148864, 1.2688157166574432, 5.075262866629773, 1.2688157166574432, 1.2688157166574432, 239.80617044825675, 2.5376314333148864, 13.956972883231876, 15.225788599889318, 2.5376314333148864, 1.2688157166574432, 35.52684006640841, 13.956972883231876, 3.8064471499723296, 1.2688157166574432 ] }, { "marker": { "color": "rgba(55, 128, 191, 1.0)", "line": { "width": 1.3 }, "opacity": 0.5, "size": [ 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15 ], "symbol": "circle" }, "mode": "markers", "name": "y", "text": [ "min 14.0 23.40204139495322 11.419341449916988", "mr 55.0 63.705557130705984 8.881710016602103", "wis 7.0 9.10079387581514 1.2688157166574432", "muc 10.0 19.501701162461018 8.881710016602103", "nea 5.0 9.10079387581514 3.8064471499723296", "nev 17.0 20.80181457329175 15.225788599889318", "nex 3.0 3.900340232492203 2.5376314333148864", "wit 86.0 87.1075985256592 63.44078583287216", "not 79.0 89.70782534732068 46.946181516325396", "obs 7.0 11.70102069747661 1.2688157166574432", "obv 4.0 7.800680464984406 1.2688157166574432", "oh 8.0 11.70102069747661 2.5376314333148864", "bot 3.0 7.800680464984406 2.5376314333148864", "won 5.0 6.500567054153672 3.8064471499723296", "sug 2.0 5.200453643322938 1.2688157166574432", "onc 5.0 5.200453643322938 2.5376314333148864", "jam 2.0 6.500567054153672 1.2688157166574432", "kin 4.0 9.10079387581514 2.5376314333148864", "kno 21.0 23.40204139495322 17.763420033204206", "lar 4.0 5.200453643322938 1.2688157166574432", "yes 11.0 15.601360929968813 5.075262866629773", "wri 13.0 14.301247519138078 10.150525733259546", "lif 3.0 5.200453643322938 2.5376314333148864", "lik 7.0 14.301247519138078 5.075262866629773", "can 19.0 24.702154805783955 16.494604316546763", "lit 27.0 37.703288914091296 15.225788599889318", "cal 6.0 9.10079387581514 2.5376314333148864", "loo 15.0 16.901474340799545 13.956972883231876", "mas 2.0 2.600226821661469 1.2688157166574432", "but 57.0 81.90714488233627 55.8278915329275", "bus 19.0 19.501701162461018 3.8064471499723296", "met 6.0 9.10079387581514 3.8064471499723296", "whe 40.0 49.40430961156791 34.25802434975097", "own 7.0 11.70102069747661 5.075262866629773", "bel 6.0 9.10079387581514 5.075262866629773", "tru 6.0 6.500567054153672 3.8064471499723296", "sid 8.0 9.10079387581514 6.3440785832872155", "sig 5.0 13.001134108307344 3.8064471499723296", "sin 8.0 9.10079387581514 7.612894299944659", "too 13.0 13.001134108307344 11.419341449916988", "so 40.0 40.30351573575277 29.182761483121194", "she 15.0 62.40544371987525 12.688157166574431", "sol 3.0 3.900340232492203 1.2688157166574432", "tol 2.0 2.600226821661469 1.2688157166574432", "soo 3.0 3.900340232492203 1.2688157166574432", "are 32.0 33.80294868159909 21.569867183176534", "tin 2.0 6.500567054153672 1.2688157166574432", "any 27.0 31.202721859937625 16.494604316546763", "alw 5.0 10.400907286645875 1.2688157166574432", "som 33.0 35.10306209242983 24.10749861649142", "unf 2.0 5.200453643322938 1.2688157166574432", "sai 51.0 58.505103487383046 38.0644714997233", "rem 23.0 24.702154805783955 16.494604316546763", "oth 18.0 24.702154805783955 6.3440785832872155", "wer 25.0 31.202721859937625 24.10749861649142", "acr 2.0 3.900340232492203 1.2688157166574432", "per 12.0 13.001134108307344 11.419341449916988", "ple 4.0 5.200453643322938 3.8064471499723296", "poi 4.0 7.800680464984406 3.8064471499723296", "pos 14.0 14.301247519138078 10.150525733259546", "add 7.0 7.800680464984406 5.075262866629773", "vis 4.0 7.800680464984406 1.2688157166574432", "pur 5.0 6.500567054153672 3.8064471499723296", "qui 18.0 24.702154805783955 16.494604316546763", "usu 2.0 2.600226821661469 1.2688157166574432", "bar 2.0 2.600226821661469 1.2688157166574432", "use 8.0 15.601360929968813 5.075262866629773", "bac 8.0 13.001134108307344 7.612894299944659", "bes 3.0 3.900340232492203 2.5376314333148864", "ind 9.0 10.400907286645875 6.3440785832872155", "did 20.0 28.602495038276157 8.881710016602103", "eas 4.0 9.10079387581514 2.5376314333148864", "fou 16.0 19.501701162461018 10.150525733259546", "hom 6.0 7.800680464984406 1.2688157166574432", "hat 2.0 6.500567054153672 1.2688157166574432", "he 138.0 150.81315565636518 135.76328168234642", "ele 2.0 2.600226821661469 1.2688157166574432", "gla 7.0 20.80181457329175 5.075262866629773", "dou 9.0 9.10079387581514 5.075262866629773", "els 4.0 6.500567054153672 1.2688157166574432", "doo 13.0 13.001134108307344 3.8064471499723296", "gen 8.0 13.001134108307344 7.612894299944659", "gaz 2.0 2.600226821661469 1.2688157166574432", "go 7.0 11.70102069747661 2.5376314333148864", "doe 3.0 6.500567054153672 2.5376314333148864", "del 3.0 5.200453643322938 1.2688157166574432", "do 24.0 27.30238162744542 20.30105146651909", "her 10.0 87.1075985256592 8.881710016602103", "hel 7.0 7.800680464984406 2.5376314333148864", "emp 2.0 2.600226821661469 1.2688157166574432", "hap 5.0 15.601360929968813 2.5376314333148864" ], "textfont": { "color": "#4D5663" }, "type": "scatter3d", "x": [ 14, 55, 7, 10, 5, 17, 3, 86, 79, 7, 4, 8, 3, 5, 2, 5, 2, 4, 21, 4, 11, 13, 3, 7, 19, 27, 6, 15, 2, 57, 19, 6, 40, 7, 6, 6, 8, 5, 8, 13, 40, 15, 3, 2, 3, 32, 2, 27, 5, 33, 2, 51, 23, 18, 25, 2, 12, 4, 4, 14, 7, 4, 5, 18, 2, 2, 8, 8, 3, 9, 20, 4, 16, 6, 2, 138, 2, 7, 9, 4, 13, 8, 2, 7, 3, 3, 24, 10, 7, 2, 5 ], "y": [ 23.40204139495322, 63.705557130705984, 9.10079387581514, 19.501701162461018, 9.10079387581514, 20.80181457329175, 3.900340232492203, 87.1075985256592, 89.70782534732068, 11.70102069747661, 7.800680464984406, 11.70102069747661, 7.800680464984406, 6.500567054153672, 5.200453643322938, 5.200453643322938, 6.500567054153672, 9.10079387581514, 23.40204139495322, 5.200453643322938, 15.601360929968813, 14.301247519138078, 5.200453643322938, 14.301247519138078, 24.702154805783955, 37.703288914091296, 9.10079387581514, 16.901474340799545, 2.600226821661469, 81.90714488233627, 19.501701162461018, 9.10079387581514, 49.40430961156791, 11.70102069747661, 9.10079387581514, 6.500567054153672, 9.10079387581514, 13.001134108307344, 9.10079387581514, 13.001134108307344, 40.30351573575277, 62.40544371987525, 3.900340232492203, 2.600226821661469, 3.900340232492203, 33.80294868159909, 6.500567054153672, 31.202721859937625, 10.400907286645875, 35.10306209242983, 5.200453643322938, 58.505103487383046, 24.702154805783955, 24.702154805783955, 31.202721859937625, 3.900340232492203, 13.001134108307344, 5.200453643322938, 7.800680464984406, 14.301247519138078, 7.800680464984406, 7.800680464984406, 6.500567054153672, 24.702154805783955, 2.600226821661469, 2.600226821661469, 15.601360929968813, 13.001134108307344, 3.900340232492203, 10.400907286645875, 28.602495038276157, 9.10079387581514, 19.501701162461018, 7.800680464984406, 6.500567054153672, 150.81315565636518, 2.600226821661469, 20.80181457329175, 9.10079387581514, 6.500567054153672, 13.001134108307344, 13.001134108307344, 2.600226821661469, 11.70102069747661, 6.500567054153672, 5.200453643322938, 27.30238162744542, 87.1075985256592, 7.800680464984406, 2.600226821661469, 15.601360929968813 ], "z": [ 11.419341449916988, 8.881710016602103, 1.2688157166574432, 8.881710016602103, 3.8064471499723296, 15.225788599889318, 2.5376314333148864, 63.44078583287216, 46.946181516325396, 1.2688157166574432, 1.2688157166574432, 2.5376314333148864, 2.5376314333148864, 3.8064471499723296, 1.2688157166574432, 2.5376314333148864, 1.2688157166574432, 2.5376314333148864, 17.763420033204206, 1.2688157166574432, 5.075262866629773, 10.150525733259546, 2.5376314333148864, 5.075262866629773, 16.494604316546763, 15.225788599889318, 2.5376314333148864, 13.956972883231876, 1.2688157166574432, 55.8278915329275, 3.8064471499723296, 3.8064471499723296, 34.25802434975097, 5.075262866629773, 5.075262866629773, 3.8064471499723296, 6.3440785832872155, 3.8064471499723296, 7.612894299944659, 11.419341449916988, 29.182761483121194, 12.688157166574431, 1.2688157166574432, 1.2688157166574432, 1.2688157166574432, 21.569867183176534, 1.2688157166574432, 16.494604316546763, 1.2688157166574432, 24.10749861649142, 1.2688157166574432, 38.0644714997233, 16.494604316546763, 6.3440785832872155, 24.10749861649142, 1.2688157166574432, 11.419341449916988, 3.8064471499723296, 3.8064471499723296, 10.150525733259546, 5.075262866629773, 1.2688157166574432, 3.8064471499723296, 16.494604316546763, 1.2688157166574432, 1.2688157166574432, 5.075262866629773, 7.612894299944659, 2.5376314333148864, 6.3440785832872155, 8.881710016602103, 2.5376314333148864, 10.150525733259546, 1.2688157166574432, 1.2688157166574432, 135.76328168234642, 1.2688157166574432, 5.075262866629773, 5.075262866629773, 1.2688157166574432, 3.8064471499723296, 7.612894299944659, 1.2688157166574432, 2.5376314333148864, 2.5376314333148864, 1.2688157166574432, 20.30105146651909, 8.881710016602103, 2.5376314333148864, 1.2688157166574432, 2.5376314333148864 ] }, { "marker": { "color": "rgba(128, 128, 128, 1.0)", "line": { "width": 1.3 }, "opacity": 0.5, "size": [ 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15 ], "symbol": "circle" }, "mode": "markers", "name": "z", "text": [ "exi 1.0 1.3001134108307344 2.5376314333148864", "spe 2.0 9.10079387581514 10.150525733259546", "dat 1.0 1.3001134108307344 2.5376314333148864", "spi 3.0 1.3001134108307344 3.8064471499723296", "sor 1.0 6.500567054153672 2.5376314333148864", "exa 4.0 5.200453643322938 6.3440785832872155", "ext 8.0 5.200453643322938 11.419341449916988", "fac 16.0 18.20158775163028 16.494604316546763", "in 147.0 137.81202154805786 167.4836745987825", "spr 4.0 2.600226821661469 12.688157166574431", "sta 25.0 14.301247519138078 31.72039291643608", "fai 1.0 5.200453643322938 3.8064471499723296", "ste 8.0 20.80181457329175 8.881710016602103", "evi 3.0 1.3001134108307344 10.150525733259546", "eve 30.0 31.202721859937625 30.451577199778637", "str 25.0 29.902608449106893 26.64513004980631", "stu 2.0 6.500567054153672 5.075262866629773", "es 1.0 1.3001134108307344 1.2688157166574432", "dea 11.0 7.800680464984406 12.688157166574431", "an 37.0 28.602495038276157 50.752628666297724", "dec 1.0 3.900340232492203 1.2688157166574432", "eng 1.0 7.800680464984406 20.30105146651909", "sum 1.0 3.900340232492203 1.2688157166574432", "spo 1.0 2.600226821661469 5.075262866629773", "fam 2.0 6.500567054153672 2.5376314333148864", "sle 1.0 7.800680464984406 1.2688157166574432", "smi 2.0 1.3001134108307344 5.075262866629773", "sec 4.0 2.600226821661469 7.612894299944659", "sca 1.0 1.3001134108307344 2.5376314333148864", "few 6.0 2.600226821661469 11.419341449916988", "saw 4.0 1.3001134108307344 11.419341449916988", "ast 1.0 1.3001134108307344 1.2688157166574432", "at 60.0 65.00567054153672 69.78486441615938", "cro 6.0 3.900340232492203 10.150525733259546", "sam 3.0 5.200453643322938 6.3440785832872155", "fig 1.0 1.3001134108307344 3.8064471499723296", "saf 1.0 2.600226821661469 1.2688157166574432", "run 2.0 2.600226821661469 5.075262866629773", "rou 6.0 2.600226821661469 16.494604316546763", "ros 8.0 1.3001134108307344 8.881710016602103", "roo 9.0 1.3001134108307344 12.688157166574431", "sal 1.0 3.900340232492203 1.2688157166574432", "sen 1.0 6.500567054153672 1.2688157166574432", "ser 5.0 3.900340232492203 7.612894299944659", "asc 2.0 1.3001134108307344 2.5376314333148864", "arr 1.0 3.900340232492203 7.612894299944659", "sli 3.0 7.800680464984406 7.612894299944659", "ene 3.0 1.3001134108307344 5.075262866629773", "sit 4.0 1.3001134108307344 7.612894299944659", "dan 3.0 3.900340232492203 15.225788599889318", "far 8.0 7.800680464984406 13.956972883231876", "sil 1.0 2.600226821661469 5.075262866629773", "fas 2.0 6.500567054153672 7.612894299944659", "cur 3.0 6.500567054153672 10.150525733259546", "shr 1.0 1.3001134108307344 2.5376314333148864", "sho 30.0 27.30238162744542 35.52684006640841", "fea 3.0 9.10079387581514 6.3440785832872155", "fee 2.0 1.3001134108307344 7.612894299944659", "sha 15.0 14.301247519138078 20.30105146651909", "as- 1.0 1.3001134108307344 1.2688157166574432", "sna 1.0 1.3001134108307344 1.2688157166574432", "sus 1.0 2.600226821661469 1.2688157166574432", "tex 5.0 6.500567054153672 6.3440785832872155", "swi 3.0 2.600226821661469 10.150525733259546", "dri 1.0 5.200453643322938 7.612894299944659", "van 1.0 2.600226821661469 2.5376314333148864", "var 2.0 2.600226821661469 3.8064471499723296", "afr 2.0 3.900340232492203 2.5376314333148864", "dre 3.0 7.800680464984406 7.612894299944659", "voi 2.0 6.500567054153672 3.8064471499723296", "wai 9.0 2.600226821661469 11.419341449916988", "wal 6.0 3.900340232492203 17.763420033204206", "aff 3.0 5.200453643322938 5.075262866629773", "dra 3.0 6.500567054153672 3.8064471499723296", "was 108.0 149.51304224553445 128.15038738240176", "wat 12.0 5.200453643322938 38.0644714997233", "way 12.0 11.70102069747661 13.956972883231876", "adm 3.0 1.3001134108307344 3.8064471499723296", "dro 4.0 2.600226821661469 5.075262866629773", "wea 1.0 6.500567054153672 1.2688157166574432", "act 1.0 9.10079387581514 5.075262866629773", "dee 4.0 1.3001134108307344 7.612894299944659", "acc 4.0 2.600226821661469 10.150525733259546", "whi 64.0 76.70669123901332 109.11815163254012", "abs 5.0 3.900340232492203 12.688157166574431", "abr 1.0 1.3001134108307344 1.2688157166574432", "def 2.0 5.200453643322938 2.5376314333148864", "win 2.0 33.80294868159909 7.612894299944659", "dep 2.0 1.3001134108307344 5.075262866629773", "wou 36.0 53.30464984406011 38.0644714997233", "des 3.0 10.400907286645875 12.688157166574431", "wro 1.0 7.800680464984406 3.8064471499723296", "yea 7.0 11.70102069747661 7.612894299944659", "det 6.0 5.200453643322938 6.3440785832872155", "doy 1.0 1.3001134108307344 1.2688157166574432", "dut 1.0 1.3001134108307344 1.2688157166574432", "aga 12.0 16.901474340799545 22.838682899833977", "up 26.0 22.101927984122483 26.64513004980631", "tab 3.0 2.600226821661469 3.8064471499723296", "tak 9.0 13.001134108307344 20.30105146651909", "tal 2.0 10.400907286645875 3.8064471499723296", "tel 8.0 5.200453643322938 16.494604316546763", "end 12.0 2.600226821661469 20.30105146651909", "roa 3.0 3.900340232492203 3.8064471499723296", "tha 176.0 192.41678480294868 182.7094631986718", "the 591.0 582.450808052169 659.7841726618705", "alr 3.0 1.3001134108307344 8.881710016602103", "thr 16.0 11.70102069747661 30.451577199778637", "alo 2.0 2.600226821661469 8.881710016602103", "to 222.0 249.621774879501 270.2577476480354", "tog 3.0 6.500567054153672 6.3440785832872155", "eff 5.0 6.500567054153672 6.3440785832872155", "top 3.0 2.600226821661469 3.8064471499723296", "tow 1.0 1.3001134108307344 2.5376314333148864", "tra 6.0 10.400907286645875 19.03223574986165", "age 6.0 2.600226821661469 8.881710016602103", "unp 1.0 1.3001134108307344 1.2688157166574432", "ah 1.0 1.3001134108307344 1.2688157166574432", "eac 2.0 5.200453643322938 2.5376314333148864", "und 6.0 9.10079387581514 12.688157166574431", "unc 1.0 2.600226821661469 3.8064471499723296", "swe 2.0 2.600226821661469 2.5376314333148864", "air 1.0 1.3001134108307344 6.3440785832872155", "tur 8.0 3.900340232492203 12.688157166574431", "try 1.0 2.600226821661469 1.2688157166574432", "ded 1.0 1.3001134108307344 5.075262866629773", "tro 3.0 3.900340232492203 3.8064471499723296", "tri 3.0 5.200453643322938 5.075262866629773", "tre 1.0 6.500567054153672 7.612894299944659", "twe 1.0 3.900340232492203 1.2688157166574432", "att 6.0 6.500567054153672 6.3440785832872155", "rep 4.0 5.200453643322938 6.3440785832872155", "rev 3.0 1.3001134108307344 3.8064471499723296", "lov 1.0 3.900340232492203 1.2688157166574432", "low 1.0 1.3001134108307344 3.8064471499723296", "mad 9.0 16.901474340799545 10.150525733259546", "mak 9.0 7.800680464984406 12.688157166574431", "by 26.0 18.20158775163028 41.870918649695625", "mar 7.0 18.20158775163028 12.688157166574431", "clo 9.0 3.900340232492203 15.225788599889318", "mat 10.0 18.20158775163028 13.956972883231876", "may 9.0 15.601360929968813 17.763420033204206", "me 58.0 59.805216898213786 78.66657443276148", "mea 2.0 6.500567054153672 12.688157166574431", "med 1.0 1.3001134108307344 1.2688157166574432", "mee 1.0 2.600226821661469 1.2688157166574432", "mem 3.0 1.3001134108307344 7.612894299944659", "hav 93.0 71.5062375956904 100.236441615938", "mid 1.0 1.3001134108307344 2.5376314333148864", "has 25.0 20.80181457329175 26.64513004980631", "ner 2.0 2.600226821661469 3.8064471499723296", "nei 2.0 1.3001134108307344 2.5376314333148864", "bou 1.0 1.3001134108307344 1.2688157166574432", "hab 1.0 1.3001134108307344 1.2688157166574432", "bre 4.0 5.200453643322938 8.881710016602103", "mys 9.0 11.70102069747661 12.688157166574431", "cab 3.0 3.900340232492203 3.8064471499723296", "my 76.0 44.203855968244966 129.41920309905922", "had 62.0 49.40430961156791 92.62354731599335", "han 20.0 22.101927984122483 22.838682899833977", "mot 2.0 16.901474340799545 2.5376314333148864", "bro 5.0 15.601360929968813 13.956972883231876", "mor 33.0 23.40204139495322 49.48381294964028", "mon 9.0 10.400907286645875 10.150525733259546", "bri 10.0 11.70102069747661 12.688157166574431", "yet 6.0 10.400907286645875 7.612894299944659", "cam 10.0 19.501701162461018 15.225788599889318", "him 43.0 59.805216898213786 54.55907581627006", "htt 1.0 1.3001134108307344 1.2688157166574432", "cen 1.0 3.900340232492203 3.8064471499723296", "hur 1.0 6.500567054153672 7.612894299944659", "kep 1.0 2.600226821661469 6.3440785832872155", "cer 2.0 5.200453643322938 3.8064471499723296", "i 261.0 206.71803232208677 291.8276148312119", "lad 1.0 10.400907286645875 3.8064471499723296", "its 8.0 6.500567054153672 15.225788599889318", "if 19.0 26.002268216614688 26.64513004980631", "int 32.0 42.90374255741423 45.67736579966795", "ins 12.0 9.10079387581514 16.494604316546763", "inf 1.0 9.10079387581514 5.075262866629773", "che 4.0 1.3001134108307344 5.075262866629773", "inc 3.0 11.70102069747661 11.419341449916988", "it 133.0 154.71349588885738 134.494465965689", "ha 1.0 1.3001134108307344 1.2688157166574432", "cau 1.0 2.600226821661469 5.075262866629773", "las 1.0 7.800680464984406 16.494604316546763", "cle 8.0 14.301247519138078 17.763420033204206", "lip 1.0 2.600226821661469 2.5376314333148864", "lin 6.0 2.600226821661469 6.3440785832872155", "lim 2.0 2.600226821661469 3.8064471499723296", "car 14.0 5.200453643322938 21.569867183176534", "hot 1.0 1.3001134108307344 10.150525733259546", "htm 1.0 1.3001134108307344 1.2688157166574432", "let 7.0 29.902608449106893 12.688157166574431", "lef 11.0 7.800680464984406 12.688157166574431", "lea 23.0 23.40204139495322 24.10749861649142", "lay 4.0 2.600226821661469 6.3440785832872155", "law 1.0 3.900340232492203 3.8064471499723296", "cas 9.0 18.20158775163028 11.419341449916988", "lat 4.0 3.900340232492203 11.419341449916988", "les 2.0 1.3001134108307344 3.8064471499723296", "awa 7.0 10.400907286645875 24.10749861649142", "gro 4.0 3.900340232492203 6.3440785832872155", "nig 3.0 2.600226821661469 7.612894299944659", "pin 2.0 2.600226821661469 2.5376314333148864", "pla 16.0 9.10079387581514 24.10749861649142", "fri 7.0 11.70102069747661 17.763420033204206", "plu 1.0 6.500567054153672 1.2688157166574432", "poc 4.0 1.3001134108307344 5.075262866629773", "fre 6.0 5.200453643322938 8.881710016602103", "pol 3.0 6.500567054153672 8.881710016602103", "fra 4.0 7.800680464984406 5.075262866629773", "pow 1.0 1.3001134108307344 8.881710016602103", "pra 5.0 1.3001134108307344 7.612894299944659", "pre 22.0 15.601360929968813 29.182761483121194", "pro 22.0 14.301247519138078 36.795655783065854", "foo 4.0 1.3001134108307344 5.075262866629773", "cou 39.0 46.80408278990644 49.48381294964028", "pus 1.0 3.900340232492203 1.2688157166574432", "bea 4.0 3.900340232492203 5.075262866629773", "qua 2.0 1.3001134108307344 2.5376314333148864", "ret 3.0 3.900340232492203 17.763420033204206", "res 7.0 13.001134108307344 12.688157166574431", "req 1.0 1.3001134108307344 2.5376314333148864", "imp 6.0 15.601360929968813 10.150525733259546", "fin 16.0 18.20158775163028 19.03223574986165", "fir 14.0 23.40204139495322 15.225788599889318", "pil 2.0 1.3001134108307344 2.5376314333148864", "ref 3.0 1.3001134108307344 3.8064471499723296", "rec 3.0 3.900340232492203 19.03223574986165", "fiv 1.0 5.200453643322938 1.2688157166574432", "rat 7.0 13.001134108307344 10.150525733259546", "cri 13.0 9.10079387581514 20.30105146651909", "flu 1.0 2.600226821661469 1.2688157166574432", "que 4.0 7.800680464984406 5.075262866629773", "fit 1.0 3.900340232492203 1.2688157166574432", "pet 1.0 1.3001134108307344 1.2688157166574432", "fro 47.0 49.40430961156791 52.021444382955174", "bee 20.0 18.20158775163028 38.0644714997233", "dev 3.0 3.900340232492203 7.612894299944659", "bla 7.0 13.001134108307344 10.150525733259546", "blo 4.0 1.3001134108307344 5.075262866629773", "of 227.0 221.01927984122486 246.15024903154398", "boa 1.0 2.600226821661469 2.5376314333148864", "gon 2.0 2.600226821661469 11.419341449916988", "on 40.0 39.003402324922035 48.21499723298284", "con 36.0 49.40430961156791 63.44078583287216", "now 14.0 19.501701162461018 21.569867183176534", "gre 9.0 14.301247519138078 17.763420033204206", "nos 1.0 1.3001134108307344 1.2688157166574432", "bor 2.0 2.600226821661469 3.8064471499723296", "non 2.0 2.600226821661469 3.8064471499723296", "no 23.0 35.10306209242983 29.182761483121194", "gra 5.0 2.600226821661469 5.075262866629773", "gri 1.0 1.3001134108307344 1.2688157166574432", "gli 1.0 1.3001134108307344 2.5376314333148864", "bet 10.0 9.10079387581514 12.688157166574431", "pee 1.0 2.600226821661469 5.075262866629773", "bef 7.0 11.70102069747661 12.688157166574431", "ful 2.0 3.900340232492203 3.8064471499723296", "pas 7.0 3.900340232492203 15.225788599889318", "gat 2.0 1.3001134108307344 3.8064471499723296", "pap 6.0 7.800680464984406 8.881710016602103", "onl 14.0 18.20158775163028 20.30105146651909", "pal 3.0 1.3001134108307344 5.075262866629773", "ove 20.0 22.101927984122483 30.451577199778637", "bei 3.0 6.500567054153672 3.8064471499723296", "our 26.0 16.901474340799545 39.33328721638074", "get 6.0 7.800680464984406 8.881710016602103", "giv 7.0 6.500567054153672 7.612894299944659", "opi 1.0 1.3001134108307344 1.2688157166574432", "pai 2.0 2.600226821661469 2.5376314333148864", "old 2.0 10.400907286645875 3.8064471499723296" ], "textfont": { "color": "#4D5663" }, "type": "scatter3d", "x": [ 1, 2, 1, 3, 1, 4, 8, 16, 147, 4, 25, 1, 8, 3, 30, 25, 2, 1, 11, 37, 1, 1, 1, 1, 2, 1, 2, 4, 1, 6, 4, 1, 60, 6, 3, 1, 1, 2, 6, 8, 9, 1, 1, 5, 2, 1, 3, 3, 4, 3, 8, 1, 2, 3, 1, 30, 3, 2, 15, 1, 1, 1, 5, 3, 1, 1, 2, 2, 3, 2, 9, 6, 3, 3, 108, 12, 12, 3, 4, 1, 1, 4, 4, 64, 5, 1, 2, 2, 2, 36, 3, 1, 7, 6, 1, 1, 12, 26, 3, 9, 2, 8, 12, 3, 176, 591, 3, 16, 2, 222, 3, 5, 3, 1, 6, 6, 1, 1, 2, 6, 1, 2, 1, 8, 1, 1, 3, 3, 1, 1, 6, 4, 3, 1, 1, 9, 9, 26, 7, 9, 10, 9, 58, 2, 1, 1, 3, 93, 1, 25, 2, 2, 1, 1, 4, 9, 3, 76, 62, 20, 2, 5, 33, 9, 10, 6, 10, 43, 1, 1, 1, 1, 2, 261, 1, 8, 19, 32, 12, 1, 4, 3, 133, 1, 1, 1, 8, 1, 6, 2, 14, 1, 1, 7, 11, 23, 4, 1, 9, 4, 2, 7, 4, 3, 2, 16, 7, 1, 4, 6, 3, 4, 1, 5, 22, 22, 4, 39, 1, 4, 2, 3, 7, 1, 6, 16, 14, 2, 3, 3, 1, 7, 13, 1, 4, 1, 1, 47, 20, 3, 7, 4, 227, 1, 2, 40, 36, 14, 9, 1, 2, 2, 23, 5, 1, 1, 10, 1, 7, 2, 7, 2, 6, 14, 3, 20, 3, 26, 6, 7, 1, 2, 2 ], "y": [ 1.3001134108307344, 9.10079387581514, 1.3001134108307344, 1.3001134108307344, 6.500567054153672, 5.200453643322938, 5.200453643322938, 18.20158775163028, 137.81202154805786, 2.600226821661469, 14.301247519138078, 5.200453643322938, 20.80181457329175, 1.3001134108307344, 31.202721859937625, 29.902608449106893, 6.500567054153672, 1.3001134108307344, 7.800680464984406, 28.602495038276157, 3.900340232492203, 7.800680464984406, 3.900340232492203, 2.600226821661469, 6.500567054153672, 7.800680464984406, 1.3001134108307344, 2.600226821661469, 1.3001134108307344, 2.600226821661469, 1.3001134108307344, 1.3001134108307344, 65.00567054153672, 3.900340232492203, 5.200453643322938, 1.3001134108307344, 2.600226821661469, 2.600226821661469, 2.600226821661469, 1.3001134108307344, 1.3001134108307344, 3.900340232492203, 6.500567054153672, 3.900340232492203, 1.3001134108307344, 3.900340232492203, 7.800680464984406, 1.3001134108307344, 1.3001134108307344, 3.900340232492203, 7.800680464984406, 2.600226821661469, 6.500567054153672, 6.500567054153672, 1.3001134108307344, 27.30238162744542, 9.10079387581514, 1.3001134108307344, 14.301247519138078, 1.3001134108307344, 1.3001134108307344, 2.600226821661469, 6.500567054153672, 2.600226821661469, 5.200453643322938, 2.600226821661469, 2.600226821661469, 3.900340232492203, 7.800680464984406, 6.500567054153672, 2.600226821661469, 3.900340232492203, 5.200453643322938, 6.500567054153672, 149.51304224553445, 5.200453643322938, 11.70102069747661, 1.3001134108307344, 2.600226821661469, 6.500567054153672, 9.10079387581514, 1.3001134108307344, 2.600226821661469, 76.70669123901332, 3.900340232492203, 1.3001134108307344, 5.200453643322938, 33.80294868159909, 1.3001134108307344, 53.30464984406011, 10.400907286645875, 7.800680464984406, 11.70102069747661, 5.200453643322938, 1.3001134108307344, 1.3001134108307344, 16.901474340799545, 22.101927984122483, 2.600226821661469, 13.001134108307344, 10.400907286645875, 5.200453643322938, 2.600226821661469, 3.900340232492203, 192.41678480294868, 582.450808052169, 1.3001134108307344, 11.70102069747661, 2.600226821661469, 249.621774879501, 6.500567054153672, 6.500567054153672, 2.600226821661469, 1.3001134108307344, 10.400907286645875, 2.600226821661469, 1.3001134108307344, 1.3001134108307344, 5.200453643322938, 9.10079387581514, 2.600226821661469, 2.600226821661469, 1.3001134108307344, 3.900340232492203, 2.600226821661469, 1.3001134108307344, 3.900340232492203, 5.200453643322938, 6.500567054153672, 3.900340232492203, 6.500567054153672, 5.200453643322938, 1.3001134108307344, 3.900340232492203, 1.3001134108307344, 16.901474340799545, 7.800680464984406, 18.20158775163028, 18.20158775163028, 3.900340232492203, 18.20158775163028, 15.601360929968813, 59.805216898213786, 6.500567054153672, 1.3001134108307344, 2.600226821661469, 1.3001134108307344, 71.5062375956904, 1.3001134108307344, 20.80181457329175, 2.600226821661469, 1.3001134108307344, 1.3001134108307344, 1.3001134108307344, 5.200453643322938, 11.70102069747661, 3.900340232492203, 44.203855968244966, 49.40430961156791, 22.101927984122483, 16.901474340799545, 15.601360929968813, 23.40204139495322, 10.400907286645875, 11.70102069747661, 10.400907286645875, 19.501701162461018, 59.805216898213786, 1.3001134108307344, 3.900340232492203, 6.500567054153672, 2.600226821661469, 5.200453643322938, 206.71803232208677, 10.400907286645875, 6.500567054153672, 26.002268216614688, 42.90374255741423, 9.10079387581514, 9.10079387581514, 1.3001134108307344, 11.70102069747661, 154.71349588885738, 1.3001134108307344, 2.600226821661469, 7.800680464984406, 14.301247519138078, 2.600226821661469, 2.600226821661469, 2.600226821661469, 5.200453643322938, 1.3001134108307344, 1.3001134108307344, 29.902608449106893, 7.800680464984406, 23.40204139495322, 2.600226821661469, 3.900340232492203, 18.20158775163028, 3.900340232492203, 1.3001134108307344, 10.400907286645875, 3.900340232492203, 2.600226821661469, 2.600226821661469, 9.10079387581514, 11.70102069747661, 6.500567054153672, 1.3001134108307344, 5.200453643322938, 6.500567054153672, 7.800680464984406, 1.3001134108307344, 1.3001134108307344, 15.601360929968813, 14.301247519138078, 1.3001134108307344, 46.80408278990644, 3.900340232492203, 3.900340232492203, 1.3001134108307344, 3.900340232492203, 13.001134108307344, 1.3001134108307344, 15.601360929968813, 18.20158775163028, 23.40204139495322, 1.3001134108307344, 1.3001134108307344, 3.900340232492203, 5.200453643322938, 13.001134108307344, 9.10079387581514, 2.600226821661469, 7.800680464984406, 3.900340232492203, 1.3001134108307344, 49.40430961156791, 18.20158775163028, 3.900340232492203, 13.001134108307344, 1.3001134108307344, 221.01927984122486, 2.600226821661469, 2.600226821661469, 39.003402324922035, 49.40430961156791, 19.501701162461018, 14.301247519138078, 1.3001134108307344, 2.600226821661469, 2.600226821661469, 35.10306209242983, 2.600226821661469, 1.3001134108307344, 1.3001134108307344, 9.10079387581514, 2.600226821661469, 11.70102069747661, 3.900340232492203, 3.900340232492203, 1.3001134108307344, 7.800680464984406, 18.20158775163028, 1.3001134108307344, 22.101927984122483, 6.500567054153672, 16.901474340799545, 7.800680464984406, 6.500567054153672, 1.3001134108307344, 2.600226821661469, 10.400907286645875 ], "z": [ 2.5376314333148864, 10.150525733259546, 2.5376314333148864, 3.8064471499723296, 2.5376314333148864, 6.3440785832872155, 11.419341449916988, 16.494604316546763, 167.4836745987825, 12.688157166574431, 31.72039291643608, 3.8064471499723296, 8.881710016602103, 10.150525733259546, 30.451577199778637, 26.64513004980631, 5.075262866629773, 1.2688157166574432, 12.688157166574431, 50.752628666297724, 1.2688157166574432, 20.30105146651909, 1.2688157166574432, 5.075262866629773, 2.5376314333148864, 1.2688157166574432, 5.075262866629773, 7.612894299944659, 2.5376314333148864, 11.419341449916988, 11.419341449916988, 1.2688157166574432, 69.78486441615938, 10.150525733259546, 6.3440785832872155, 3.8064471499723296, 1.2688157166574432, 5.075262866629773, 16.494604316546763, 8.881710016602103, 12.688157166574431, 1.2688157166574432, 1.2688157166574432, 7.612894299944659, 2.5376314333148864, 7.612894299944659, 7.612894299944659, 5.075262866629773, 7.612894299944659, 15.225788599889318, 13.956972883231876, 5.075262866629773, 7.612894299944659, 10.150525733259546, 2.5376314333148864, 35.52684006640841, 6.3440785832872155, 7.612894299944659, 20.30105146651909, 1.2688157166574432, 1.2688157166574432, 1.2688157166574432, 6.3440785832872155, 10.150525733259546, 7.612894299944659, 2.5376314333148864, 3.8064471499723296, 2.5376314333148864, 7.612894299944659, 3.8064471499723296, 11.419341449916988, 17.763420033204206, 5.075262866629773, 3.8064471499723296, 128.15038738240176, 38.0644714997233, 13.956972883231876, 3.8064471499723296, 5.075262866629773, 1.2688157166574432, 5.075262866629773, 7.612894299944659, 10.150525733259546, 109.11815163254012, 12.688157166574431, 1.2688157166574432, 2.5376314333148864, 7.612894299944659, 5.075262866629773, 38.0644714997233, 12.688157166574431, 3.8064471499723296, 7.612894299944659, 6.3440785832872155, 1.2688157166574432, 1.2688157166574432, 22.838682899833977, 26.64513004980631, 3.8064471499723296, 20.30105146651909, 3.8064471499723296, 16.494604316546763, 20.30105146651909, 3.8064471499723296, 182.7094631986718, 659.7841726618705, 8.881710016602103, 30.451577199778637, 8.881710016602103, 270.2577476480354, 6.3440785832872155, 6.3440785832872155, 3.8064471499723296, 2.5376314333148864, 19.03223574986165, 8.881710016602103, 1.2688157166574432, 1.2688157166574432, 2.5376314333148864, 12.688157166574431, 3.8064471499723296, 2.5376314333148864, 6.3440785832872155, 12.688157166574431, 1.2688157166574432, 5.075262866629773, 3.8064471499723296, 5.075262866629773, 7.612894299944659, 1.2688157166574432, 6.3440785832872155, 6.3440785832872155, 3.8064471499723296, 1.2688157166574432, 3.8064471499723296, 10.150525733259546, 12.688157166574431, 41.870918649695625, 12.688157166574431, 15.225788599889318, 13.956972883231876, 17.763420033204206, 78.66657443276148, 12.688157166574431, 1.2688157166574432, 1.2688157166574432, 7.612894299944659, 100.236441615938, 2.5376314333148864, 26.64513004980631, 3.8064471499723296, 2.5376314333148864, 1.2688157166574432, 1.2688157166574432, 8.881710016602103, 12.688157166574431, 3.8064471499723296, 129.41920309905922, 92.62354731599335, 22.838682899833977, 2.5376314333148864, 13.956972883231876, 49.48381294964028, 10.150525733259546, 12.688157166574431, 7.612894299944659, 15.225788599889318, 54.55907581627006, 1.2688157166574432, 3.8064471499723296, 7.612894299944659, 6.3440785832872155, 3.8064471499723296, 291.8276148312119, 3.8064471499723296, 15.225788599889318, 26.64513004980631, 45.67736579966795, 16.494604316546763, 5.075262866629773, 5.075262866629773, 11.419341449916988, 134.494465965689, 1.2688157166574432, 5.075262866629773, 16.494604316546763, 17.763420033204206, 2.5376314333148864, 6.3440785832872155, 3.8064471499723296, 21.569867183176534, 10.150525733259546, 1.2688157166574432, 12.688157166574431, 12.688157166574431, 24.10749861649142, 6.3440785832872155, 3.8064471499723296, 11.419341449916988, 11.419341449916988, 3.8064471499723296, 24.10749861649142, 6.3440785832872155, 7.612894299944659, 2.5376314333148864, 24.10749861649142, 17.763420033204206, 1.2688157166574432, 5.075262866629773, 8.881710016602103, 8.881710016602103, 5.075262866629773, 8.881710016602103, 7.612894299944659, 29.182761483121194, 36.795655783065854, 5.075262866629773, 49.48381294964028, 1.2688157166574432, 5.075262866629773, 2.5376314333148864, 17.763420033204206, 12.688157166574431, 2.5376314333148864, 10.150525733259546, 19.03223574986165, 15.225788599889318, 2.5376314333148864, 3.8064471499723296, 19.03223574986165, 1.2688157166574432, 10.150525733259546, 20.30105146651909, 1.2688157166574432, 5.075262866629773, 1.2688157166574432, 1.2688157166574432, 52.021444382955174, 38.0644714997233, 7.612894299944659, 10.150525733259546, 5.075262866629773, 246.15024903154398, 2.5376314333148864, 11.419341449916988, 48.21499723298284, 63.44078583287216, 21.569867183176534, 17.763420033204206, 1.2688157166574432, 3.8064471499723296, 3.8064471499723296, 29.182761483121194, 5.075262866629773, 1.2688157166574432, 2.5376314333148864, 12.688157166574431, 5.075262866629773, 12.688157166574431, 3.8064471499723296, 15.225788599889318, 3.8064471499723296, 8.881710016602103, 20.30105146651909, 5.075262866629773, 30.451577199778637, 3.8064471499723296, 39.33328721638074, 8.881710016602103, 7.612894299944659, 1.2688157166574432, 2.5376314333148864, 3.8064471499723296 ] } ], "layout": { "legend": { "bgcolor": "#F5F6F9", "font": { "color": "#4D5663" } }, "paper_bgcolor": "#F5F6F9", "plot_bgcolor": "#F5F6F9", "scene": { "xaxis": { "gridcolor": "#9499A3", "showgrid": true, "tickfont": { "color": "#4D5663" }, "title": { "font": { "color": "#4D5663" }, "text": "" }, "type": "log", "zerolinecolor": "#9499A3" }, "yaxis": { "gridcolor": "#9499A3", "showgrid": true, "tickfont": { "color": "#4D5663" }, "title": { "font": { "color": "#4D5663" }, "text": "" }, "type": "log", "zerolinecolor": "#9499A3" }, "zaxis": { "gridcolor": "#9499A3", "showgrid": true, "tickfont": { "color": "#4D5663" }, "title": { "font": { "color": "#4D5663" }, "text": "" }, "type": "log", "zerolinecolor": "#9499A3" } }, "template": { "data": { "bar": [ { "error_x": { "color": "#2a3f5f" }, "error_y": { "color": "#2a3f5f" }, "marker": { "line": { "color": "#E5ECF6", "width": 0.5 } }, "type": "bar" } ], "barpolar": [ { "marker": { "line": { "color": "#E5ECF6", "width": 0.5 } }, "type": "barpolar" } ], "carpet": [ { "aaxis": { "endlinecolor": "#2a3f5f", "gridcolor": "white", "linecolor": "white", "minorgridcolor": "white", "startlinecolor": "#2a3f5f" }, "baxis": { "endlinecolor": "#2a3f5f", "gridcolor": "white", "linecolor": "white", "minorgridcolor": "white", "startlinecolor": "#2a3f5f" }, "type": "carpet" } ], "choropleth": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "type": "choropleth" } ], "contour": [ { "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": "contour" } ], "contourcarpet": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "type": "contourcarpet" } ], "heatmap": [ { "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": "heatmap" } ], "heatmapgl": [ { "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": "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" } ], "mesh3d": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "type": "mesh3d" } ], "parcoords": [ { "line": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "parcoords" } ], "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.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" } ], "table": [ { "cells": { "fill": { "color": "#EBF0F8" }, "line": { "color": "white" } }, "header": { "fill": { "color": "#C8D4E3" }, "line": { "color": "white" } }, "type": "table" } ] }, "layout": { "annotationdefaults": { "arrowcolor": "#2a3f5f", "arrowhead": 0, "arrowwidth": 1 }, "colorscale": { "diverging": [ [ 0, "#8e0152" ], [ 0.1, "#c51b7d" ], [ 0.2, "#de77ae" ], [ 0.3, "#f1b6da" ], [ 0.4, "#fde0ef" ], [ 0.5, "#f7f7f7" ], [ 0.6, "#e6f5d0" ], [ 0.7, "#b8e186" ], [ 0.8, "#7fbc41" ], [ 0.9, "#4d9221" ], [ 1, "#276419" ] ], "sequential": [ [ 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" ] ], "sequentialminus": [ [ 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" ] ] }, "colorway": [ "#636efa", "#EF553B", "#00cc96", "#ab63fa", "#FFA15A", "#19d3f3", "#FF6692", "#B6E880", "#FF97FF", "#FECB52" ], "font": { "color": "#2a3f5f" }, "geo": { "bgcolor": "white", "lakecolor": "white", "landcolor": "#E5ECF6", "showlakes": true, "showland": true, "subunitcolor": "white" }, "hoverlabel": { "align": "left" }, "hovermode": "closest", "mapbox": { "style": "light" }, "paper_bgcolor": "white", "plot_bgcolor": "#E5ECF6", "polar": { "angularaxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" }, "bgcolor": "#E5ECF6", "radialaxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" } }, "scene": { "xaxis": { "backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white" }, "yaxis": { "backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white" }, "zaxis": { "backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white" } }, "shapedefaults": { "line": { "color": "#2a3f5f" } }, "ternary": { "aaxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" }, "baxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" }, "bgcolor": "#E5ECF6", "caxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" } }, "title": { "x": 0.05 }, "xaxis": { "automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "zerolinecolor": "white", "zerolinewidth": 2 }, "yaxis": { "automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "zerolinecolor": "white", "zerolinewidth": 2 } } }, "title": { "font": { "color": "#4D5663" }, "text": "../datasets/The Red Headed League by Arthur Conan Doyle.txt vs
normalized ../datasets/A Case of Identity by Arthur Conan Doyle.txt vs ../datasets/The Final Problem by Arthur Conan Doyle.txt" } } }, "text/html": [ "
\n", " \n", " \n", "
\n", " \n", "
" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "stem_scatter(src1, src2, src3, normalize=True, leaf_order=2);" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "And we probably want a percentage value instead of a direct count. We will also use whole percentages (double click on x, y or z in the legend to see the data that is more common in that document, or = to see where all 3 sources have the same count):" ] }, { "cell_type": "code", "execution_count": 5, "metadata": {}, "outputs": [ { "data": { "application/vnd.plotly.v1+json": { "config": { "linkText": "Export to plot.ly", "plotlyServerURL": "https://plot.ly", "showLink": true }, "data": [ { "marker": { "color": "rgba(255, 0, 136, 1.0)", "line": { "width": 1.3 }, "opacity": 0.5, "size": [ 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15 ], "symbol": "circle" }, "mode": "markers", "name": "=", "text": [ "loc 0.0 0.0 0.0", "don 2.0 2.0 2.0", "dou 1.0 1.0 1.0", "ple 1.0 1.0 1.0", "doy 0.0 0.0 0.0", "pin 0.0 0.0 0.0", "pil 0.0 0.0 0.0", "pet 0.0 0.0 0.0", "poi 1.0 1.0 1.0", "per 2.0 2.0 2.0", "eff 1.0 1.0 1.0", "ele 0.0 0.0 0.0", "par 1.0 1.0 1.0", "emp 0.0 0.0 0.0", "pap 1.0 1.0 1.0", "pai 0.0 0.0 0.0", "eno 1.0 1.0 1.0", "dut 0.0 0.0 0.0", "pos 2.0 2.0 2.0", "dis 2.0 2.0 2.0", "pri 1.0 1.0 1.0", "sid 1.0 1.0 1.0", "shr 0.0 0.0 0.0", "set 1.0 1.0 1.0", "ser 1.0 1.0 1.0", "sca 0.0 0.0 0.0", "say 2.0 2.0 2.0", "saf 0.0 0.0 0.0", "dat 0.0 0.0 0.0", "req 0.0 0.0 0.0", "rep 1.0 1.0 1.0", "htt 0.0 0.0 0.0", "rac 0.0 0.0 0.0", "que 1.0 1.0 1.0", "qua 0.0 0.0 0.0", "det 1.0 1.0 1.0", "pur 1.0 1.0 1.0", "pul 0.0 0.0 0.0", "ent 1.0 1.0 1.0", "cha 3.0 3.0 3.0", "es 0.0 0.0 0.0", "exa 1.0 1.0 1.0", "med 0.0 0.0 0.0", "get 1.0 1.0 1.0", "giv 1.0 1.0 1.0", "mas 0.0 0.0 0.0", "gli 0.0 0.0 0.0", "liv 1.0 1.0 1.0", "lis 0.0 0.0 0.0", "gaz 0.0 0.0 0.0", "gri 0.0 0.0 0.0", "ha 0.0 0.0 0.0", "hab 0.0 0.0 0.0", "lip 0.0 0.0 0.0", "hal 1.0 1.0 1.0", "han 3.0 3.0 3.0", "har 1.0 1.0 1.0", "ima 0.0 0.0 0.0", "gro 1.0 1.0 1.0", "mee 0.0 0.0 0.0", "met 1.0 1.0 1.0", "fre 1.0 1.0 1.0", "opp 0.0 0.0 0.0", "exi 0.0 0.0 0.0", "opi 0.0 0.0 0.0", "ope 1.0 1.0 1.0", "eye 2.0 2.0 2.0", "oft 0.0 0.0 0.0", "fan 0.0 0.0 0.0", "occ 1.0 1.0 1.0", "fav 0.0 0.0 0.0", "nos 0.0 0.0 0.0", "new 1.0 1.0 1.0", "nei 0.0 0.0 0.0", "nee 0.0 0.0 0.0", "nea 1.0 1.0 1.0", "flu 0.0 0.0 0.0", "mid 0.0 0.0 0.0", "fra 1.0 1.0 1.0", "eve 5.0 5.0 5.0", "sin 1.0 1.0 1.0", "htm 0.0 0.0 0.0", "as- 0.0 0.0 0.0", "bit 0.0 0.0 0.0", "sus 0.0 0.0 0.0", "swe 0.0 0.0 0.0", "bel 1.0 1.0 1.0", "beh 1.0 1.0 1.0", "beg 1.0 1.0 1.0", "tex 1.0 1.0 1.0", "bed 0.0 0.0 0.0", "bec 1.0 1.0 1.0", "bea 1.0 1.0 1.0", "ah 0.0 0.0 0.0", "bar 0.0 0.0 0.0", "bak 0.0 0.0 0.0", "way 2.0 2.0 2.0", "att 1.0 1.0 1.0", "tol 0.0 0.0 0.0", "ast 0.0 0.0 0.0", "too 2.0 2.0 2.0", "tow 0.0 0.0 0.0", "asc 0.0 0.0 0.0", "war 1.0 1.0 1.0", "tru 1.0 1.0 1.0", "art 0.0 0.0 0.0", "try 0.0 0.0 0.0", "arm 1.0 1.0 1.0", "uni 0.0 0.0 0.0", "unp 0.0 0.0 0.0", "van 0.0 0.0 0.0", "usu 0.0 0.0 0.0", "sur 1.0 1.0 1.0", "suf 0.0 0.0 0.0", "upo 7.0 7.0 7.0", "bod 0.0 0.0 0.0", "sna 0.0 0.0 0.0", "spl 0.0 0.0 0.0", "boa 0.0 0.0 0.0", "abr 0.0 0.0 0.0", "wor 3.0 3.0 3.0", "won 1.0 1.0 1.0", "bur 0.0 0.0 0.0", "bri 2.0 2.0 2.0", "wri 2.0 2.0 2.0", "bre 1.0 1.0 1.0", "bou 0.0 0.0 0.0", "add 1.0 1.0 1.0" ], "textfont": { "color": "#4D5663" }, "type": "scatter3d", "x": [ 0, 2, 1, 1, 0, 0, 0, 0, 1, 2, 1, 0, 1, 0, 1, 0, 1, 0, 2, 2, 1, 1, 0, 1, 1, 0, 2, 0, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 3, 0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 3, 1, 0, 1, 0, 1, 1, 0, 0, 0, 1, 2, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 5, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 1, 1, 0, 0, 0, 2, 1, 0, 0, 2, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 7, 0, 0, 0, 0, 0, 3, 1, 0, 2, 2, 1, 0, 1 ], "y": [ 0, 2, 1, 1, 0, 0, 0, 0, 1, 2, 1, 0, 1, 0, 1, 0, 1, 0, 2, 2, 1, 1, 0, 1, 1, 0, 2, 0, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 3, 0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 3, 1, 0, 1, 0, 1, 1, 0, 0, 0, 1, 2, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 5, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 1, 1, 0, 0, 0, 2, 1, 0, 0, 2, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 7, 0, 0, 0, 0, 0, 3, 1, 0, 2, 2, 1, 0, 1 ], "z": [ 0, 2, 1, 1, 0, 0, 0, 0, 1, 2, 1, 0, 1, 0, 1, 0, 1, 0, 2, 2, 1, 1, 0, 1, 1, 0, 2, 0, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 3, 0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 3, 1, 0, 1, 0, 1, 1, 0, 0, 0, 1, 2, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 5, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 1, 1, 0, 0, 0, 2, 1, 0, 0, 2, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 7, 0, 0, 0, 0, 0, 3, 1, 0, 2, 2, 1, 0, 1 ] }, { "marker": { "color": "rgba(55, 128, 191, 1.0)", "line": { "width": 1.3 }, "opacity": 0.5, "size": [ 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15 ], "symbol": "circle" }, "mode": "markers", "name": "x", "text": [ "lon 3.0 2.0 2.0", "lar 1.0 1.0 0.0", "lan 1.0 0.0 1.0", "kne 1.0 0.0 0.0", "kin 1.0 1.0 0.0", "wan 1.0 1.0 0.0", "vis 1.0 1.0 0.0", "nar 1.0 0.0 0.0", "jus 3.0 2.0 0.0", "lau 1.0 1.0 0.0", "yes 2.0 2.0 1.0", "is 16.0 16.0 13.0", "ins 2.0 1.0 2.0", "mos 2.0 1.0 2.0", "mus 3.0 1.0 2.0", "ver 7.0 6.0 2.0", "mig 3.0 1.0 1.0", "lay 1.0 0.0 1.0", "who 5.0 4.0 4.0", "wha 7.0 5.0 4.0", "wis 1.0 1.0 0.0", "wit 13.0 13.0 10.0", "wen 1.0 1.0 0.0", "wel 4.0 3.0 3.0", "wee 2.0 1.0 0.0", "us 3.0 3.0 2.0", "los 1.0 0.0 1.0", "wil 8.0 3.0 7.0", "we 9.0 5.0 8.0", "lin 1.0 0.0 1.0", "men 2.0 0.0 1.0", "why 2.0 1.0 1.0", "lig 1.0 1.0 0.0", "lef 2.0 1.0 2.0", "mer 3.0 1.0 1.0", "man 7.0 5.0 5.0", "sit 1.0 0.0 1.0", "up 4.0 3.0 4.0", "rea 5.0 4.0 4.0", "rel 1.0 0.0 0.0", "sub 1.0 0.0 0.0", "rig 2.0 2.0 1.0", "sto 3.0 1.0 2.0", "ris 1.0 1.0 0.0", "ros 1.0 0.0 1.0", "sti 2.0 1.0 1.0", "sat 2.0 1.0 1.0", "suc 2.0 1.0 2.0", "sav 1.0 1.0 0.0", "sec 1.0 0.0 1.0", "see 6.0 6.0 4.0", "sou 1.0 0.0 0.0", "som 5.0 5.0 4.0", "sev 1.0 0.0 0.0", "shi 1.0 0.0 0.0", "sho 5.0 4.0 5.0", "so 6.0 6.0 4.0", "sma 2.0 1.0 1.0", "spa 2.0 0.0 0.0", "nev 3.0 3.0 2.0", "sud 1.0 0.0 0.0", "pra 1.0 0.0 1.0", "nor 1.0 0.0 0.0", "unt 2.0 1.0 1.0", "obj 1.0 0.0 0.0", "obv 1.0 1.0 0.0", "off 4.0 2.0 1.0", "two 3.0 2.0 2.0", "onc 1.0 1.0 0.0", "one 5.0 4.0 4.0", "sir 2.0 2.0 0.0", "put 2.0 1.0 1.0", "or 4.0 3.0 2.0", "to- 2.0 0.0 1.0", "tim 3.0 1.0 2.0", "tho 4.0 3.0 3.0", "pav 1.0 0.0 0.0", "pay 1.0 0.0 0.0", "pen 1.0 0.0 0.0", "thi 10.0 10.0 9.0", "ten 1.0 0.0 1.0", "poc 1.0 0.0 1.0", "out 5.0 3.0 3.0", "red 5.0 0.0 0.0", "a 36.0 33.0 31.0", "hou 3.0 1.0 2.0", "com 8.0 6.0 6.0", "cor 1.0 1.0 0.0", "dar 2.0 0.0 1.0", "day 2.0 1.0 2.0", "dea 2.0 1.0 2.0", "how 3.0 3.0 2.0", "dee 1.0 0.0 1.0", "dif 1.0 0.0 0.0", "dir 1.0 0.0 1.0", "do 4.0 4.0 3.0", "col 2.0 1.0 1.0", "doc 1.0 0.0 1.0", "dow 3.0 2.0 3.0", "dro 1.0 0.0 1.0", "ear 1.0 1.0 0.0", "eas 1.0 1.0 0.0", "els 1.0 1.0 0.0", "exc 2.0 0.0 1.0", "exp 3.0 1.0 3.0", "fel 2.0 1.0 1.0", "fla 1.0 0.0 0.0", "fol 1.0 0.0 1.0", "doo 2.0 2.0 1.0", "cli 1.0 0.0 0.0", "cla 2.0 1.0 1.0", "cit 1.0 0.0 0.0", "abl 1.0 0.0 0.0", "abo 4.0 3.0 2.0", "adv 3.0 1.0 1.0", "aft 3.0 2.0 2.0", "age 1.0 0.0 1.0", "all 6.0 6.0 5.0", "als 1.0 0.0 0.0", "am 3.0 2.0 2.0", "amo 1.0 0.0 0.0", "and 42.0 42.0 36.0", "ano 1.0 0.0 0.0", "ans 2.0 1.0 1.0", "app 2.0 1.0 1.0", "are 5.0 5.0 3.0", "as 14.0 13.0 11.0", "ask 3.0 2.0 1.0", "ass 3.0 1.0 2.0", "be 8.0 7.0 8.0", "bet 2.0 1.0 2.0", "blo 1.0 0.0 1.0", "bus 3.0 3.0 1.0", "cal 1.0 1.0 0.0", "che 1.0 0.0 1.0", "foo 1.0 0.0 1.0", "for 17.0 15.0 13.0", "you 31.0 27.0 23.0", "goo 3.0 2.0 1.0", "hel 1.0 1.0 0.0", "hea 6.0 3.0 2.0", "his 16.0 13.0 15.0", "hol 9.0 9.0 6.0", "hom 1.0 1.0 0.0", "has 4.0 3.0 4.0", "gra 1.0 0.0 1.0" ], "textfont": { "color": "#4D5663" }, "type": "scatter3d", "x": [ 3, 1, 1, 1, 1, 1, 1, 1, 3, 1, 2, 16, 2, 2, 3, 7, 3, 1, 5, 7, 1, 13, 1, 4, 2, 3, 1, 8, 9, 1, 2, 2, 1, 2, 3, 7, 1, 4, 5, 1, 1, 2, 3, 1, 1, 2, 2, 2, 1, 1, 6, 1, 5, 1, 1, 5, 6, 2, 2, 3, 1, 1, 1, 2, 1, 1, 4, 3, 1, 5, 2, 2, 4, 2, 3, 4, 1, 1, 1, 10, 1, 1, 5, 5, 36, 3, 8, 1, 2, 2, 2, 3, 1, 1, 1, 4, 2, 1, 3, 1, 1, 1, 1, 2, 3, 2, 1, 1, 2, 1, 2, 1, 1, 4, 3, 3, 1, 6, 1, 3, 1, 42, 1, 2, 2, 5, 14, 3, 3, 8, 2, 1, 3, 1, 1, 1, 17, 31, 3, 1, 6, 16, 9, 1, 4, 1 ], "y": [ 2, 1, 0, 0, 1, 1, 1, 0, 2, 1, 2, 16, 1, 1, 1, 6, 1, 0, 4, 5, 1, 13, 1, 3, 1, 3, 0, 3, 5, 0, 0, 1, 1, 1, 1, 5, 0, 3, 4, 0, 0, 2, 1, 1, 0, 1, 1, 1, 1, 0, 6, 0, 5, 0, 0, 4, 6, 1, 0, 3, 0, 0, 0, 1, 0, 1, 2, 2, 1, 4, 2, 1, 3, 0, 1, 3, 0, 0, 0, 10, 0, 0, 3, 0, 33, 1, 6, 1, 0, 1, 1, 3, 0, 0, 0, 4, 1, 0, 2, 0, 1, 1, 1, 0, 1, 1, 0, 0, 2, 0, 1, 0, 0, 3, 1, 2, 0, 6, 0, 2, 0, 42, 0, 1, 1, 5, 13, 2, 1, 7, 1, 0, 3, 1, 0, 0, 15, 27, 2, 1, 3, 13, 9, 1, 3, 0 ], "z": [ 2, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 13, 2, 2, 2, 2, 1, 1, 4, 4, 0, 10, 0, 3, 0, 2, 1, 7, 8, 1, 1, 1, 0, 2, 1, 5, 1, 4, 4, 0, 0, 1, 2, 0, 1, 1, 1, 2, 0, 1, 4, 0, 4, 0, 0, 5, 4, 1, 0, 2, 0, 1, 0, 1, 0, 0, 1, 2, 0, 4, 0, 1, 2, 1, 2, 3, 0, 0, 0, 9, 1, 1, 3, 0, 31, 2, 6, 0, 1, 2, 2, 2, 1, 0, 1, 3, 1, 1, 3, 1, 0, 0, 0, 1, 3, 1, 0, 1, 1, 0, 1, 0, 0, 2, 1, 2, 1, 5, 0, 2, 0, 36, 0, 1, 1, 3, 11, 1, 2, 8, 2, 1, 1, 0, 1, 1, 13, 23, 1, 0, 2, 15, 6, 0, 4, 1 ] }, { "marker": { "color": "rgba(128, 128, 128, 1.0)", "line": { "width": 1.3 }, "opacity": 0.5, "size": [ 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15 ], "symbol": "circle" }, "mode": "markers", "name": "y", "text": [ "lik 1.0 2.0 1.0", "eac 0.0 1.0 0.0", "sle 0.0 1.0 0.0", "sig 1.0 2.0 1.0", "she 2.0 9.0 2.0", "he 21.0 23.0 21.0", "gla 1.0 3.0 1.0", "sal 0.0 1.0 0.0", "sai 8.0 9.0 6.0", "hat 0.0 1.0 0.0", "hap 1.0 2.0 0.0", "dec 0.0 1.0 0.0", "lit 4.0 6.0 2.0", "lif 0.0 1.0 0.0", "can 3.0 4.0 2.0", "def 0.0 1.0 0.0", "del 0.0 1.0 0.0", "qui 3.0 4.0 2.0", "plu 0.0 1.0 0.0", "doe 0.0 1.0 0.0", "pus 0.0 1.0 0.0", "did 3.0 4.0 1.0", "rem 3.0 4.0 2.0", "sol 0.0 1.0 0.0", "mat 2.0 3.0 2.0", "soo 0.0 1.0 0.0", "yea 1.0 2.0 1.0", "acr 0.0 1.0 0.0", "whe 6.0 7.0 5.0", "afr 0.0 1.0 0.0", "wer 4.0 5.0 4.0", "wea 0.0 1.0 0.0", "alw 1.0 2.0 0.0", "ind 1.0 2.0 1.0", "use 1.0 2.0 1.0", "any 4.0 5.0 2.0", "it 20.0 23.0 20.0", "unf 0.0 1.0 0.0", "cam 2.0 3.0 2.0", "twe 0.0 1.0 0.0", "tin 0.0 1.0 0.0", "bac 1.0 2.0 1.0", "bes 0.0 1.0 0.0", "her 2.0 13.0 1.0", "sum 0.0 1.0 0.0", "sug 0.0 1.0 0.0", "kno 3.0 4.0 3.0", "bot 0.0 1.0 0.0", "str 4.0 5.0 4.0", "but 9.0 12.0 8.0", "ste 1.0 3.0 1.0", "yet 1.0 2.0 1.0", "jam 0.0 1.0 0.0", "sor 0.0 1.0 0.0", "sen 0.0 1.0 0.0", "min 2.0 4.0 2.0", "go 1.0 2.0 0.0", "not 12.0 14.0 7.0", "lov 0.0 1.0 0.0", "obs 1.0 2.0 0.0", "oh 1.0 2.0 0.0", "gen 1.0 2.0 1.0", "oth 3.0 4.0 1.0", "mr 8.0 10.0 1.0", "muc 2.0 3.0 1.0", "fam 0.0 1.0 0.0", "fac 2.0 3.0 2.0", "own 1.0 2.0 1.0", "fou 2.0 3.0 2.0", "mot 0.0 3.0 0.0", "fiv 0.0 1.0 0.0", "fir 2.0 4.0 2.0", "nex 0.0 1.0 0.0", "fit 0.0 1.0 0.0", "loo 2.0 3.0 2.0" ], "textfont": { "color": "#4D5663" }, "type": "scatter3d", "x": [ 1, 0, 0, 1, 2, 21, 1, 0, 8, 0, 1, 0, 4, 0, 3, 0, 0, 3, 0, 0, 0, 3, 3, 0, 2, 0, 1, 0, 6, 0, 4, 0, 1, 1, 1, 4, 20, 0, 2, 0, 0, 1, 0, 2, 0, 0, 3, 0, 4, 9, 1, 1, 0, 0, 0, 2, 1, 12, 0, 1, 1, 1, 3, 8, 2, 0, 2, 1, 2, 0, 0, 2, 0, 0, 2 ], "y": [ 2, 1, 1, 2, 9, 23, 3, 1, 9, 1, 2, 1, 6, 1, 4, 1, 1, 4, 1, 1, 1, 4, 4, 1, 3, 1, 2, 1, 7, 1, 5, 1, 2, 2, 2, 5, 23, 1, 3, 1, 1, 2, 1, 13, 1, 1, 4, 1, 5, 12, 3, 2, 1, 1, 1, 4, 2, 14, 1, 2, 2, 2, 4, 10, 3, 1, 3, 2, 3, 3, 1, 4, 1, 1, 3 ], "z": [ 1, 0, 0, 1, 2, 21, 1, 0, 6, 0, 0, 0, 2, 0, 2, 0, 0, 2, 0, 0, 0, 1, 2, 0, 2, 0, 1, 0, 5, 0, 4, 0, 0, 1, 1, 2, 20, 0, 2, 0, 0, 1, 0, 1, 0, 0, 3, 0, 4, 8, 1, 1, 0, 0, 0, 2, 0, 7, 0, 0, 0, 1, 1, 1, 1, 0, 2, 1, 2, 0, 0, 2, 0, 0, 2 ] }, { "marker": { "color": "rgba(188, 128, 189, 1.0)", "line": { "width": 1.3 }, "opacity": 0.5, "size": [ 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15 ], "symbol": "circle" }, "mode": "markers", "name": "z", "text": [ "awa 1.0 2.0 4.0", "tog 0.0 1.0 1.0", "at 9.0 10.0 11.0", "tur 1.0 1.0 2.0", "tri 0.0 1.0 1.0", "top 0.0 0.0 1.0", "arr 0.0 1.0 1.0", "tro 0.0 1.0 1.0", "tre 0.0 1.0 1.0", "kep 0.0 0.0 1.0", "tra 1.0 2.0 3.0", "bee 3.0 3.0 6.0", "mak 1.0 1.0 2.0", "bor 0.0 0.0 1.0", "mad 1.0 3.0 2.0", "bla 1.0 2.0 2.0", "mys 1.0 2.0 2.0", "my 12.0 7.0 20.0", "swi 0.0 0.0 2.0", "tab 0.0 0.0 1.0", "to 34.0 38.0 41.0", "tak 1.0 2.0 3.0", "tel 1.0 1.0 2.0", "bei 0.0 1.0 1.0", "bef 1.0 2.0 2.0", "tha 27.0 29.0 28.0", "the 90.0 88.0 100.0", "him 7.0 9.0 8.0", "thr 2.0 2.0 5.0", "tal 0.0 2.0 1.0", "its 1.0 1.0 2.0", "pas 1.0 1.0 2.0", "und 1.0 1.0 2.0", "aga 2.0 3.0 3.0", "hot 0.0 0.0 2.0", "gat 0.0 0.0 1.0", "mea 0.0 1.0 2.0", "whi 10.0 12.0 17.0", "aff 0.0 1.0 1.0", "if 3.0 4.0 4.0", "adm 0.0 0.0 1.0", "imp 1.0 2.0 2.0", "win 0.0 5.0 1.0", "me 9.0 9.0 12.0", "acc 1.0 0.0 2.0", "abs 1.0 1.0 2.0", "wou 5.0 8.0 6.0", "i 40.0 31.0 44.0", "wro 0.0 1.0 1.0", "may 1.0 2.0 3.0", "hur 0.0 1.0 1.0", "act 0.0 1.0 1.0", "mem 0.0 0.0 1.0", "air 0.0 0.0 1.0", "in 22.0 21.0 25.0", "mor 5.0 4.0 8.0", "mon 1.0 2.0 2.0", "bro 1.0 2.0 2.0", "mar 1.0 3.0 2.0", "int 5.0 7.0 7.0", "an 6.0 4.0 8.0", "fri 1.0 2.0 3.0", "inf 0.0 1.0 1.0", "fro 7.0 7.0 8.0", "var 0.0 0.0 1.0", "ful 0.0 1.0 1.0", "inc 0.0 2.0 2.0", "voi 0.0 1.0 1.0", "wai 1.0 0.0 2.0", "wal 1.0 1.0 3.0", "alr 0.0 0.0 1.0", "alo 0.0 0.0 1.0", "was 16.0 23.0 19.0", "wat 2.0 1.0 6.0", "unc 0.0 0.0 1.0", "stu 0.0 1.0 1.0", "sta 4.0 2.0 5.0", "lad 0.0 2.0 1.0", "dep 0.0 0.0 1.0", "ext 1.0 1.0 2.0", "onl 2.0 3.0 3.0", "rat 1.0 2.0 2.0", "rec 0.0 1.0 3.0", "fai 0.0 1.0 1.0", "on 6.0 6.0 7.0", "ded 0.0 0.0 1.0", "old 0.0 2.0 1.0", "let 1.0 5.0 2.0", "res 1.0 2.0 2.0", "ret 0.0 1.0 3.0", "rev 0.0 0.0 1.0", "les 0.0 0.0 1.0", "roa 0.0 1.0 1.0", "roo 1.0 0.0 2.0", "dan 0.0 1.0 2.0", "des 0.0 2.0 2.0", "dev 0.0 1.0 1.0", "gon 0.0 0.0 2.0", "evi 0.0 0.0 2.0", "end 2.0 0.0 3.0", "pal 0.0 0.0 1.0", "pee 0.0 0.0 1.0", "ene 0.0 0.0 1.0", "dri 0.0 1.0 1.0", "dre 0.0 1.0 1.0", "dra 0.0 1.0 1.0", "pla 2.0 1.0 4.0", "rou 1.0 0.0 2.0", "ove 3.0 3.0 5.0", "gre 1.0 2.0 3.0", "our 4.0 3.0 6.0", "pol 0.0 1.0 1.0", "had 9.0 7.0 14.0", "pow 0.0 0.0 1.0", "pre 3.0 2.0 4.0", "lim 0.0 0.0 1.0", "pro 3.0 2.0 6.0", "eng 0.0 1.0 3.0", "run 0.0 0.0 1.0", "cur 0.0 1.0 2.0", "far 1.0 1.0 2.0", "cau 0.0 0.0 1.0", "sli 0.0 1.0 1.0", "cas 1.0 3.0 2.0", "smi 0.0 0.0 1.0", "car 2.0 1.0 3.0", "low 0.0 0.0 1.0", "few 1.0 0.0 2.0", "non 0.0 0.0 1.0", "cen 0.0 1.0 1.0", "no 3.0 5.0 4.0", "cab 0.0 1.0 1.0", "spe 0.0 1.0 2.0", "spi 0.0 0.0 1.0", "by 4.0 3.0 6.0", "spo 0.0 0.0 1.0", "spr 1.0 0.0 2.0", "fig 0.0 0.0 1.0", "fin 2.0 3.0 3.0", "nig 0.0 0.0 1.0", "ner 0.0 0.0 1.0", "cer 0.0 1.0 1.0", "now 2.0 3.0 3.0", "of 34.0 33.0 37.0", "sam 0.0 1.0 1.0", "cro 1.0 1.0 2.0", "cri 2.0 1.0 3.0", "saw 1.0 0.0 2.0", "cou 6.0 7.0 8.0", "lea 3.0 4.0 4.0", "con 5.0 7.0 10.0", "sil 0.0 0.0 1.0", "hav 14.0 11.0 15.0", "law 0.0 1.0 1.0", "clo 1.0 1.0 2.0", "fea 0.0 1.0 1.0", "sha 2.0 2.0 3.0", "cle 1.0 2.0 3.0", "lat 1.0 1.0 2.0", "las 0.0 1.0 2.0", "fee 0.0 0.0 1.0", "fas 0.0 1.0 1.0", "ref 0.0 0.0 1.0" ], "textfont": { "color": "#4D5663" }, "type": "scatter3d", "x": [ 1, 0, 9, 1, 0, 0, 0, 0, 0, 0, 1, 3, 1, 0, 1, 1, 1, 12, 0, 0, 34, 1, 1, 0, 1, 27, 90, 7, 2, 0, 1, 1, 1, 2, 0, 0, 0, 10, 0, 3, 0, 1, 0, 9, 1, 1, 5, 40, 0, 1, 0, 0, 0, 0, 22, 5, 1, 1, 1, 5, 6, 1, 0, 7, 0, 0, 0, 0, 1, 1, 0, 0, 16, 2, 0, 0, 4, 0, 0, 1, 2, 1, 0, 0, 6, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 2, 1, 3, 1, 4, 0, 9, 0, 3, 0, 3, 0, 0, 0, 1, 0, 0, 1, 0, 2, 0, 1, 0, 0, 3, 0, 0, 0, 4, 0, 1, 0, 2, 0, 0, 0, 2, 34, 0, 1, 2, 1, 6, 3, 5, 0, 14, 0, 1, 0, 2, 1, 1, 0, 0, 0, 0 ], "y": [ 2, 1, 10, 1, 1, 0, 1, 1, 1, 0, 2, 3, 1, 0, 3, 2, 2, 7, 0, 0, 38, 2, 1, 1, 2, 29, 88, 9, 2, 2, 1, 1, 1, 3, 0, 0, 1, 12, 1, 4, 0, 2, 5, 9, 0, 1, 8, 31, 1, 2, 1, 1, 0, 0, 21, 4, 2, 2, 3, 7, 4, 2, 1, 7, 0, 1, 2, 1, 0, 1, 0, 0, 23, 1, 0, 1, 2, 2, 0, 1, 3, 2, 1, 1, 6, 0, 2, 5, 2, 1, 0, 0, 1, 0, 1, 2, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 3, 2, 3, 1, 7, 0, 2, 0, 2, 1, 0, 1, 1, 0, 1, 3, 0, 1, 0, 0, 0, 1, 5, 1, 1, 0, 3, 0, 0, 0, 3, 0, 0, 1, 3, 33, 1, 1, 1, 0, 7, 4, 7, 0, 11, 1, 1, 1, 2, 2, 1, 1, 0, 1, 0 ], "z": [ 4, 1, 11, 2, 1, 1, 1, 1, 1, 1, 3, 6, 2, 1, 2, 2, 2, 20, 2, 1, 41, 3, 2, 1, 2, 28, 100, 8, 5, 1, 2, 2, 2, 3, 2, 1, 2, 17, 1, 4, 1, 2, 1, 12, 2, 2, 6, 44, 1, 3, 1, 1, 1, 1, 25, 8, 2, 2, 2, 7, 8, 3, 1, 8, 1, 1, 2, 1, 2, 3, 1, 1, 19, 6, 1, 1, 5, 1, 1, 2, 3, 2, 3, 1, 7, 1, 1, 2, 2, 3, 1, 1, 1, 2, 2, 2, 1, 2, 2, 3, 1, 1, 1, 1, 1, 1, 4, 2, 5, 3, 6, 1, 14, 1, 4, 1, 6, 3, 1, 2, 2, 1, 1, 2, 1, 3, 1, 2, 1, 1, 4, 1, 2, 1, 6, 1, 2, 1, 3, 1, 1, 1, 3, 37, 1, 2, 3, 2, 8, 4, 10, 1, 15, 1, 2, 1, 3, 3, 2, 2, 1, 1, 1 ] } ], "layout": { "legend": { "bgcolor": "#F5F6F9", "font": { "color": "#4D5663" } }, "paper_bgcolor": "#F5F6F9", "plot_bgcolor": "#F5F6F9", "scene": { "xaxis": { "gridcolor": "#9499A3", "showgrid": true, "tickfont": { "color": "#4D5663" }, "title": { "font": { "color": "#4D5663" }, "text": "" }, "type": "log", "zerolinecolor": "#9499A3" }, "yaxis": { "gridcolor": "#9499A3", "showgrid": true, "tickfont": { "color": "#4D5663" }, "title": { "font": { "color": "#4D5663" }, "text": "" }, "type": "log", "zerolinecolor": "#9499A3" }, "zaxis": { "gridcolor": "#9499A3", "showgrid": true, "tickfont": { "color": "#4D5663" }, "title": { "font": { "color": "#4D5663" }, "text": "" }, "type": "log", "zerolinecolor": "#9499A3" } }, "template": { "data": { "bar": [ { "error_x": { "color": "#2a3f5f" }, "error_y": { "color": "#2a3f5f" }, "marker": { "line": { "color": "#E5ECF6", "width": 0.5 } }, "type": "bar" } ], "barpolar": [ { "marker": { "line": { "color": "#E5ECF6", "width": 0.5 } }, "type": "barpolar" } ], "carpet": [ { "aaxis": { "endlinecolor": "#2a3f5f", "gridcolor": "white", "linecolor": "white", "minorgridcolor": "white", "startlinecolor": "#2a3f5f" }, "baxis": { "endlinecolor": "#2a3f5f", "gridcolor": "white", "linecolor": "white", "minorgridcolor": "white", "startlinecolor": "#2a3f5f" }, "type": "carpet" } ], "choropleth": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "type": "choropleth" } ], "contour": [ { "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": "contour" } ], "contourcarpet": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "type": "contourcarpet" } ], "heatmap": [ { "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": "heatmap" } ], "heatmapgl": [ { "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": "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" } ], "mesh3d": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "type": "mesh3d" } ], "parcoords": [ { "line": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "parcoords" } ], "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.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" } ], "table": [ { "cells": { "fill": { "color": "#EBF0F8" }, "line": { "color": "white" } }, "header": { "fill": { "color": "#C8D4E3" }, "line": { "color": "white" } }, "type": "table" } ] }, "layout": { "annotationdefaults": { "arrowcolor": "#2a3f5f", "arrowhead": 0, "arrowwidth": 1 }, "colorscale": { "diverging": [ [ 0, "#8e0152" ], [ 0.1, "#c51b7d" ], [ 0.2, "#de77ae" ], [ 0.3, "#f1b6da" ], [ 0.4, "#fde0ef" ], [ 0.5, "#f7f7f7" ], [ 0.6, "#e6f5d0" ], [ 0.7, "#b8e186" ], [ 0.8, "#7fbc41" ], [ 0.9, "#4d9221" ], [ 1, "#276419" ] ], "sequential": [ [ 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" ] ], "sequentialminus": [ [ 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" ] ] }, "colorway": [ "#636efa", "#EF553B", "#00cc96", "#ab63fa", "#FFA15A", "#19d3f3", "#FF6692", "#B6E880", "#FF97FF", "#FECB52" ], "font": { "color": "#2a3f5f" }, "geo": { "bgcolor": "white", "lakecolor": "white", "landcolor": "#E5ECF6", "showlakes": true, "showland": true, "subunitcolor": "white" }, "hoverlabel": { "align": "left" }, "hovermode": "closest", "mapbox": { "style": "light" }, "paper_bgcolor": "white", "plot_bgcolor": "#E5ECF6", "polar": { "angularaxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" }, "bgcolor": "#E5ECF6", "radialaxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" } }, "scene": { "xaxis": { "backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white" }, "yaxis": { "backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white" }, "zaxis": { "backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white" } }, "shapedefaults": { "line": { "color": "#2a3f5f" } }, "ternary": { "aaxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" }, "baxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" }, "bgcolor": "#E5ECF6", "caxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" } }, "title": { "x": 0.05 }, "xaxis": { "automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "zerolinecolor": "white", "zerolinewidth": 2 }, "yaxis": { "automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "zerolinecolor": "white", "zerolinewidth": 2 } } }, "title": { "font": { "color": "#4D5663" }, "text": "../datasets/The Red Headed League by Arthur Conan Doyle.txt vs
normalized ../datasets/A Case of Identity by Arthur Conan Doyle.txt vs ../datasets/The Final Problem by Arthur Conan Doyle.txt" } } }, "text/html": [ "
\n", " \n", " \n", "
\n", " \n", "
" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "stem_scatter(src1, src2, src3, leaf_order=2, normalize=True, percentage=True, whole=True);" ] }, { "cell_type": "code", "execution_count": 6, "metadata": { "scrolled": false }, "outputs": [ { "data": { "application/javascript": [ "/* Put everything inside the global mpl namespace */\n", "window.mpl = {};\n", "\n", "\n", "mpl.get_websocket_type = function() {\n", " if (typeof(WebSocket) !== 'undefined') {\n", " return WebSocket;\n", " } else if (typeof(MozWebSocket) !== 'undefined') {\n", " return MozWebSocket;\n", " } else {\n", " alert('Your browser does not have WebSocket support. ' +\n", " 'Please try Chrome, Safari or Firefox ≥ 6. ' +\n", " 'Firefox 4 and 5 are also supported but you ' +\n", " 'have to enable WebSockets in about:config.');\n", " };\n", "}\n", "\n", "mpl.figure = function(figure_id, websocket, ondownload, parent_element) {\n", " this.id = figure_id;\n", "\n", " this.ws = websocket;\n", "\n", " this.supports_binary = (this.ws.binaryType != undefined);\n", "\n", " if (!this.supports_binary) {\n", " var warnings = document.getElementById(\"mpl-warnings\");\n", " if (warnings) {\n", " warnings.style.display = 'block';\n", " warnings.textContent = (\n", " \"This browser does not support binary websocket messages. \" +\n", " \"Performance may be slow.\");\n", " }\n", " }\n", "\n", " this.imageObj = new Image();\n", "\n", " this.context = undefined;\n", " this.message = undefined;\n", " this.canvas = undefined;\n", " this.rubberband_canvas = undefined;\n", " this.rubberband_context = undefined;\n", " this.format_dropdown = undefined;\n", "\n", " this.image_mode = 'full';\n", "\n", " this.root = $('
');\n", " this._root_extra_style(this.root)\n", " this.root.attr('style', 'display: inline-block');\n", "\n", " $(parent_element).append(this.root);\n", "\n", " this._init_header(this);\n", " this._init_canvas(this);\n", " this._init_toolbar(this);\n", "\n", " var fig = this;\n", "\n", " this.waiting = false;\n", "\n", " this.ws.onopen = function () {\n", " fig.send_message(\"supports_binary\", {value: fig.supports_binary});\n", " fig.send_message(\"send_image_mode\", {});\n", " if (mpl.ratio != 1) {\n", " fig.send_message(\"set_dpi_ratio\", {'dpi_ratio': mpl.ratio});\n", " }\n", " fig.send_message(\"refresh\", {});\n", " }\n", "\n", " this.imageObj.onload = function() {\n", " if (fig.image_mode == 'full') {\n", " // Full images could contain transparency (where diff images\n", " // almost always do), so we need to clear the canvas so that\n", " // there is no ghosting.\n", " fig.context.clearRect(0, 0, fig.canvas.width, fig.canvas.height);\n", " }\n", " fig.context.drawImage(fig.imageObj, 0, 0);\n", " };\n", "\n", " this.imageObj.onunload = function() {\n", " fig.ws.close();\n", " }\n", "\n", " this.ws.onmessage = this._make_on_message_function(this);\n", "\n", " this.ondownload = ondownload;\n", "}\n", "\n", "mpl.figure.prototype._init_header = function() {\n", " var titlebar = $(\n", " '
');\n", " var titletext = $(\n", " '
');\n", " titlebar.append(titletext)\n", " this.root.append(titlebar);\n", " this.header = titletext[0];\n", "}\n", "\n", "\n", "\n", "mpl.figure.prototype._canvas_extra_style = function(canvas_div) {\n", "\n", "}\n", "\n", "\n", "mpl.figure.prototype._root_extra_style = function(canvas_div) {\n", "\n", "}\n", "\n", "mpl.figure.prototype._init_canvas = function() {\n", " var fig = this;\n", "\n", " var canvas_div = $('
');\n", "\n", " canvas_div.attr('style', 'position: relative; clear: both; outline: 0');\n", "\n", " function canvas_keyboard_event(event) {\n", " return fig.key_event(event, event['data']);\n", " }\n", "\n", " canvas_div.keydown('key_press', canvas_keyboard_event);\n", " canvas_div.keyup('key_release', canvas_keyboard_event);\n", " this.canvas_div = canvas_div\n", " this._canvas_extra_style(canvas_div)\n", " this.root.append(canvas_div);\n", "\n", " var canvas = $('');\n", " canvas.addClass('mpl-canvas');\n", " canvas.attr('style', \"left: 0; top: 0; z-index: 0; outline: 0\")\n", "\n", " this.canvas = canvas[0];\n", " this.context = canvas[0].getContext(\"2d\");\n", "\n", " var backingStore = this.context.backingStorePixelRatio ||\n", "\tthis.context.webkitBackingStorePixelRatio ||\n", "\tthis.context.mozBackingStorePixelRatio ||\n", "\tthis.context.msBackingStorePixelRatio ||\n", "\tthis.context.oBackingStorePixelRatio ||\n", "\tthis.context.backingStorePixelRatio || 1;\n", "\n", " mpl.ratio = (window.devicePixelRatio || 1) / backingStore;\n", "\n", " var rubberband = $('');\n", " rubberband.attr('style', \"position: absolute; left: 0; top: 0; z-index: 1;\")\n", "\n", " var pass_mouse_events = true;\n", "\n", " canvas_div.resizable({\n", " start: function(event, ui) {\n", " pass_mouse_events = false;\n", " },\n", " resize: function(event, ui) {\n", " fig.request_resize(ui.size.width, ui.size.height);\n", " },\n", " stop: function(event, ui) {\n", " pass_mouse_events = true;\n", " fig.request_resize(ui.size.width, ui.size.height);\n", " },\n", " });\n", "\n", " function mouse_event_fn(event) {\n", " if (pass_mouse_events)\n", " return fig.mouse_event(event, event['data']);\n", " }\n", "\n", " rubberband.mousedown('button_press', mouse_event_fn);\n", " rubberband.mouseup('button_release', mouse_event_fn);\n", " // Throttle sequential mouse events to 1 every 20ms.\n", " rubberband.mousemove('motion_notify', mouse_event_fn);\n", "\n", " rubberband.mouseenter('figure_enter', mouse_event_fn);\n", " rubberband.mouseleave('figure_leave', mouse_event_fn);\n", "\n", " canvas_div.on(\"wheel\", function (event) {\n", " event = event.originalEvent;\n", " event['data'] = 'scroll'\n", " if (event.deltaY < 0) {\n", " event.step = 1;\n", " } else {\n", " event.step = -1;\n", " }\n", " mouse_event_fn(event);\n", " });\n", "\n", " canvas_div.append(canvas);\n", " canvas_div.append(rubberband);\n", "\n", " this.rubberband = rubberband;\n", " this.rubberband_canvas = rubberband[0];\n", " this.rubberband_context = rubberband[0].getContext(\"2d\");\n", " this.rubberband_context.strokeStyle = \"#000000\";\n", "\n", " this._resize_canvas = function(width, height) {\n", " // Keep the size of the canvas, canvas container, and rubber band\n", " // canvas in synch.\n", " canvas_div.css('width', width)\n", " canvas_div.css('height', height)\n", "\n", " canvas.attr('width', width * mpl.ratio);\n", " canvas.attr('height', height * mpl.ratio);\n", " canvas.attr('style', 'width: ' + width + 'px; height: ' + height + 'px;');\n", "\n", " rubberband.attr('width', width);\n", " rubberband.attr('height', height);\n", " }\n", "\n", " // Set the figure to an initial 600x600px, this will subsequently be updated\n", " // upon first draw.\n", " this._resize_canvas(600, 600);\n", "\n", " // Disable right mouse context menu.\n", " $(this.rubberband_canvas).bind(\"contextmenu\",function(e){\n", " return false;\n", " });\n", "\n", " function set_focus () {\n", " canvas.focus();\n", " canvas_div.focus();\n", " }\n", "\n", " window.setTimeout(set_focus, 100);\n", "}\n", "\n", "mpl.figure.prototype._init_toolbar = function() {\n", " var fig = this;\n", "\n", " var nav_element = $('
');\n", " nav_element.attr('style', 'width: 100%');\n", " this.root.append(nav_element);\n", "\n", " // Define a callback function for later on.\n", " function toolbar_event(event) {\n", " return fig.toolbar_button_onclick(event['data']);\n", " }\n", " function toolbar_mouse_event(event) {\n", " return fig.toolbar_button_onmouseover(event['data']);\n", " }\n", "\n", " for(var toolbar_ind in mpl.toolbar_items) {\n", " var name = mpl.toolbar_items[toolbar_ind][0];\n", " var tooltip = mpl.toolbar_items[toolbar_ind][1];\n", " var image = mpl.toolbar_items[toolbar_ind][2];\n", " var method_name = mpl.toolbar_items[toolbar_ind][3];\n", "\n", " if (!name) {\n", " // put a spacer in here.\n", " continue;\n", " }\n", " var button = $('');\n", " button.click(method_name, toolbar_event);\n", " button.mouseover(tooltip, toolbar_mouse_event);\n", " nav_element.append(button);\n", " }\n", "\n", " // Add the status bar.\n", " var status_bar = $('');\n", " nav_element.append(status_bar);\n", " this.message = status_bar[0];\n", "\n", " // Add the close button to the window.\n", " var buttongrp = $('
');\n", " var button = $('');\n", " button.click(function (evt) { fig.handle_close(fig, {}); } );\n", " button.mouseover('Stop Interaction', toolbar_mouse_event);\n", " buttongrp.append(button);\n", " var titlebar = this.root.find($('.ui-dialog-titlebar'));\n", " titlebar.prepend(buttongrp);\n", "}\n", "\n", "mpl.figure.prototype._root_extra_style = function(el){\n", " var fig = this\n", " el.on(\"remove\", function(){\n", "\tfig.close_ws(fig, {});\n", " });\n", "}\n", "\n", "mpl.figure.prototype._canvas_extra_style = function(el){\n", " // this is important to make the div 'focusable\n", " el.attr('tabindex', 0)\n", " // reach out to IPython and tell the keyboard manager to turn it's self\n", " // off when our div gets focus\n", "\n", " // location in version 3\n", " if (IPython.notebook.keyboard_manager) {\n", " IPython.notebook.keyboard_manager.register_events(el);\n", " }\n", " else {\n", " // location in version 2\n", " IPython.keyboard_manager.register_events(el);\n", " }\n", "\n", "}\n", "\n", "mpl.figure.prototype._key_event_extra = function(event, name) {\n", " var manager = IPython.notebook.keyboard_manager;\n", " if (!manager)\n", " manager = IPython.keyboard_manager;\n", "\n", " // Check for shift+enter\n", " if (event.shiftKey && event.which == 13) {\n", " this.canvas_div.blur();\n", " event.shiftKey = false;\n", " // Send a \"J\" for go to next cell\n", " event.which = 74;\n", " event.keyCode = 74;\n", " manager.command_mode();\n", " manager.handle_keydown(event);\n", " }\n", "}\n", "\n", "mpl.figure.prototype.handle_save = function(fig, msg) {\n", " fig.ondownload(fig, null);\n", "}\n", "\n", "\n", "mpl.find_output_cell = function(html_output) {\n", " // Return the cell and output element which can be found *uniquely* in the notebook.\n", " // Note - this is a bit hacky, but it is done because the \"notebook_saving.Notebook\"\n", " // IPython event is triggered only after the cells have been serialised, which for\n", " // our purposes (turning an active figure into a static one), is too late.\n", " var cells = IPython.notebook.get_cells();\n", " var ncells = cells.length;\n", " for (var i=0; i= 3 moved mimebundle to data attribute of output\n", " data = data.data;\n", " }\n", " if (data['text/html'] == html_output) {\n", " return [cell, data, j];\n", " }\n", " }\n", " }\n", " }\n", "}\n", "\n", "// Register the function which deals with the matplotlib target/channel.\n", "// The kernel may be null if the page has been refreshed.\n", "if (IPython.notebook.kernel != null) {\n", " IPython.notebook.kernel.comm_manager.register_target('matplotlib', mpl.mpl_figure_comm);\n", "}\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stderr", "output_type": "stream", "text": [ "/home/fdion/DionResearch/stemgraphic/stemgraphic/alpha.py:1371: UserWarning:\n", "\n", "Labels do not currently work in log scale due to an incompatibility in matplotlib. Set log_scale=False to display text labels.\n", "\n" ] } ], "source": [ "ax, df = word_scatter(src1, src2, src3, alpha=0.7, fig_xy=(10,10),\n", " interactive=False, percentage=True, normalize=True, label=True, stop_words=EN);" ] }, { "cell_type": "code", "execution_count": 10, "metadata": {}, "outputs": [ { "data": { "application/javascript": [ "/* Put everything inside the global mpl namespace */\n", "window.mpl = {};\n", "\n", "\n", "mpl.get_websocket_type = function() {\n", " if (typeof(WebSocket) !== 'undefined') {\n", " return WebSocket;\n", " } else if (typeof(MozWebSocket) !== 'undefined') {\n", " return MozWebSocket;\n", " } else {\n", " alert('Your browser does not have WebSocket support. ' +\n", " 'Please try Chrome, Safari or Firefox ≥ 6. ' +\n", " 'Firefox 4 and 5 are also supported but you ' +\n", " 'have to enable WebSockets in about:config.');\n", " };\n", "}\n", "\n", "mpl.figure = function(figure_id, websocket, ondownload, parent_element) {\n", " this.id = figure_id;\n", "\n", " this.ws = websocket;\n", "\n", " this.supports_binary = (this.ws.binaryType != undefined);\n", "\n", " if (!this.supports_binary) {\n", " var warnings = document.getElementById(\"mpl-warnings\");\n", " if (warnings) {\n", " warnings.style.display = 'block';\n", " warnings.textContent = (\n", " \"This browser does not support binary websocket messages. \" +\n", " \"Performance may be slow.\");\n", " }\n", " }\n", "\n", " this.imageObj = new Image();\n", "\n", " this.context = undefined;\n", " this.message = undefined;\n", " this.canvas = undefined;\n", " this.rubberband_canvas = undefined;\n", " this.rubberband_context = undefined;\n", " this.format_dropdown = undefined;\n", "\n", " this.image_mode = 'full';\n", "\n", " this.root = $('
');\n", " this._root_extra_style(this.root)\n", " this.root.attr('style', 'display: inline-block');\n", "\n", " $(parent_element).append(this.root);\n", "\n", " this._init_header(this);\n", " this._init_canvas(this);\n", " this._init_toolbar(this);\n", "\n", " var fig = this;\n", "\n", " this.waiting = false;\n", "\n", " this.ws.onopen = function () {\n", " fig.send_message(\"supports_binary\", {value: fig.supports_binary});\n", " fig.send_message(\"send_image_mode\", {});\n", " if (mpl.ratio != 1) {\n", " fig.send_message(\"set_dpi_ratio\", {'dpi_ratio': mpl.ratio});\n", " }\n", " fig.send_message(\"refresh\", {});\n", " }\n", "\n", " this.imageObj.onload = function() {\n", " if (fig.image_mode == 'full') {\n", " // Full images could contain transparency (where diff images\n", " // almost always do), so we need to clear the canvas so that\n", " // there is no ghosting.\n", " fig.context.clearRect(0, 0, fig.canvas.width, fig.canvas.height);\n", " }\n", " fig.context.drawImage(fig.imageObj, 0, 0);\n", " };\n", "\n", " this.imageObj.onunload = function() {\n", " fig.ws.close();\n", " }\n", "\n", " this.ws.onmessage = this._make_on_message_function(this);\n", "\n", " this.ondownload = ondownload;\n", "}\n", "\n", "mpl.figure.prototype._init_header = function() {\n", " var titlebar = $(\n", " '
');\n", " var titletext = $(\n", " '
');\n", " titlebar.append(titletext)\n", " this.root.append(titlebar);\n", " this.header = titletext[0];\n", "}\n", "\n", "\n", "\n", "mpl.figure.prototype._canvas_extra_style = function(canvas_div) {\n", "\n", "}\n", "\n", "\n", "mpl.figure.prototype._root_extra_style = function(canvas_div) {\n", "\n", "}\n", "\n", "mpl.figure.prototype._init_canvas = function() {\n", " var fig = this;\n", "\n", " var canvas_div = $('
');\n", "\n", " canvas_div.attr('style', 'position: relative; clear: both; outline: 0');\n", "\n", " function canvas_keyboard_event(event) {\n", " return fig.key_event(event, event['data']);\n", " }\n", "\n", " canvas_div.keydown('key_press', canvas_keyboard_event);\n", " canvas_div.keyup('key_release', canvas_keyboard_event);\n", " this.canvas_div = canvas_div\n", " this._canvas_extra_style(canvas_div)\n", " this.root.append(canvas_div);\n", "\n", " var canvas = $('');\n", " canvas.addClass('mpl-canvas');\n", " canvas.attr('style', \"left: 0; top: 0; z-index: 0; outline: 0\")\n", "\n", " this.canvas = canvas[0];\n", " this.context = canvas[0].getContext(\"2d\");\n", "\n", " var backingStore = this.context.backingStorePixelRatio ||\n", "\tthis.context.webkitBackingStorePixelRatio ||\n", "\tthis.context.mozBackingStorePixelRatio ||\n", "\tthis.context.msBackingStorePixelRatio ||\n", "\tthis.context.oBackingStorePixelRatio ||\n", "\tthis.context.backingStorePixelRatio || 1;\n", "\n", " mpl.ratio = (window.devicePixelRatio || 1) / backingStore;\n", "\n", " var rubberband = $('');\n", " rubberband.attr('style', \"position: absolute; left: 0; top: 0; z-index: 1;\")\n", "\n", " var pass_mouse_events = true;\n", "\n", " canvas_div.resizable({\n", " start: function(event, ui) {\n", " pass_mouse_events = false;\n", " },\n", " resize: function(event, ui) {\n", " fig.request_resize(ui.size.width, ui.size.height);\n", " },\n", " stop: function(event, ui) {\n", " pass_mouse_events = true;\n", " fig.request_resize(ui.size.width, ui.size.height);\n", " },\n", " });\n", "\n", " function mouse_event_fn(event) {\n", " if (pass_mouse_events)\n", " return fig.mouse_event(event, event['data']);\n", " }\n", "\n", " rubberband.mousedown('button_press', mouse_event_fn);\n", " rubberband.mouseup('button_release', mouse_event_fn);\n", " // Throttle sequential mouse events to 1 every 20ms.\n", " rubberband.mousemove('motion_notify', mouse_event_fn);\n", "\n", " rubberband.mouseenter('figure_enter', mouse_event_fn);\n", " rubberband.mouseleave('figure_leave', mouse_event_fn);\n", "\n", " canvas_div.on(\"wheel\", function (event) {\n", " event = event.originalEvent;\n", " event['data'] = 'scroll'\n", " if (event.deltaY < 0) {\n", " event.step = 1;\n", " } else {\n", " event.step = -1;\n", " }\n", " mouse_event_fn(event);\n", " });\n", "\n", " canvas_div.append(canvas);\n", " canvas_div.append(rubberband);\n", "\n", " this.rubberband = rubberband;\n", " this.rubberband_canvas = rubberband[0];\n", " this.rubberband_context = rubberband[0].getContext(\"2d\");\n", " this.rubberband_context.strokeStyle = \"#000000\";\n", "\n", " this._resize_canvas = function(width, height) {\n", " // Keep the size of the canvas, canvas container, and rubber band\n", " // canvas in synch.\n", " canvas_div.css('width', width)\n", " canvas_div.css('height', height)\n", "\n", " canvas.attr('width', width * mpl.ratio);\n", " canvas.attr('height', height * mpl.ratio);\n", " canvas.attr('style', 'width: ' + width + 'px; height: ' + height + 'px;');\n", "\n", " rubberband.attr('width', width);\n", " rubberband.attr('height', height);\n", " }\n", "\n", " // Set the figure to an initial 600x600px, this will subsequently be updated\n", " // upon first draw.\n", " this._resize_canvas(600, 600);\n", "\n", " // Disable right mouse context menu.\n", " $(this.rubberband_canvas).bind(\"contextmenu\",function(e){\n", " return false;\n", " });\n", "\n", " function set_focus () {\n", " canvas.focus();\n", " canvas_div.focus();\n", " }\n", "\n", " window.setTimeout(set_focus, 100);\n", "}\n", "\n", "mpl.figure.prototype._init_toolbar = function() {\n", " var fig = this;\n", "\n", " var nav_element = $('
');\n", " nav_element.attr('style', 'width: 100%');\n", " this.root.append(nav_element);\n", "\n", " // Define a callback function for later on.\n", " function toolbar_event(event) {\n", " return fig.toolbar_button_onclick(event['data']);\n", " }\n", " function toolbar_mouse_event(event) {\n", " return fig.toolbar_button_onmouseover(event['data']);\n", " }\n", "\n", " for(var toolbar_ind in mpl.toolbar_items) {\n", " var name = mpl.toolbar_items[toolbar_ind][0];\n", " var tooltip = mpl.toolbar_items[toolbar_ind][1];\n", " var image = mpl.toolbar_items[toolbar_ind][2];\n", " var method_name = mpl.toolbar_items[toolbar_ind][3];\n", "\n", " if (!name) {\n", " // put a spacer in here.\n", " continue;\n", " }\n", " var button = $('