Test
var ldavis_el45322071017688294582072_data = {"lambda.step": 0.01, "plot.opts": {"ylab": "PC2", "xlab": "PC1"}, "topic.order": [2, 1, 3], "mdsDat": {"Freq": [34.2739688242064, 33.59320342464377, 32.132827751149826], "topics": [1, 2, 3], "cluster": [1, 1, 1], "x": [-0.14010287863219487, -0.08798515441655251, 0.22808803304874753], "y": [0.17387290557705856, -0.202543038004639, 0.02867013242758024]}, "R": 30, "tinfo": {"logprob": [30.0, 29.0, 28.0, 27.0, 26.0, 25.0, 24.0, 23.0, 22.0, 21.0, 20.0, 19.0, 18.0, 17.0, 16.0, 15.0, 14.0, 13.0, 12.0, 11.0, 10.0, 9.0, 8.0, 7.0, 6.0, 5.0, 4.0, 3.0, 2.0, 1.0, -3.5514, -3.8476, -4.0138, -4.1263, -4.1982, -4.222, -4.4096, -4.5476, -4.5808, -4.6918, -4.6993, -4.6993, -4.7012, -4.739, -4.7399, -4.7438, -4.7812, -4.7833, -4.8328, -4.8771, -4.9794, -4.982, -4.982, -4.982, -4.982, -4.9832, -5.0348, -5.0388, -5.0388, -5.0388, -2.9625, -3.9889, -4.1311, -4.1736, -4.1794, -4.18, -4.3466, -4.3988, -4.6144, -4.6533, -4.7339, -4.7864, -4.7864, -4.7885, -4.8372, -4.8849, -4.9387, -4.9387, -4.9387, -4.9412, -4.9956, -4.9956, -4.9956, -4.9969, -4.9969, -4.9969, -5.0474, -5.0993, -5.1774, -5.245, -4.0987, -4.1986, -4.2546, -4.4406, -4.4625, -4.6222, -4.6995, -4.8211, -4.8221, -4.8533, -4.8584, -4.9088, -4.9088, -4.912, -4.9141, -4.9495, -4.9574, -4.9596, -5.0084, -5.0096, -5.0119, -5.0622, -5.0647, -5.1191, -5.1191, -5.1191, -5.1191, -5.1191, -5.1204, -5.1599], "Term": ["p\u0142atek", "chleb", "owoc", "kukurydziany", "przygotowanie", "mleko", "gluten", "pe\u0142noziarnisty", "kurczak", "kawa\u0142ek", "mas\u0142o", "jajko", "\u015bniadanie", "\u0142y\u017cka", "ulubiony", "zosta\u0107", "chrupa\u0107", "dodatek", "patelnia", "sk\u0142adnik", "kuchnia", "smaczny", "du\u017cy", "smak", "ka\u017cdy", "posi\u0142ek", "szklanka", "produkt", "dziecko", "jednocze\u015bnie", "chleb", "owoc", "przygotowanie", "gluten", "jajko", "\u0142y\u017cka", "dodatek", "kuchnia", "smaczny", "posi\u0142ek", "produkt", "dziecko", "jednocze\u015bnie", "panierka", "kulinarny", "dobre", "polski", "minuta", "wysoki", "stworzy\u0107", "sprawdzi\u0107", "tre\u015b\u0107", "przyrz\u0105dzenie", "panierowa\u0107", "mieszanka", "sma\u017cy\u0107", "warzywo", "patent", "troszk\u0119", "nabra\u0107", "p\u0142atek", "kukurydziany", "pe\u0142noziarnisty", "kurczak", "kawa\u0142ek", "mas\u0142o", "zosta\u0107", "chrupa\u0107", "du\u017cy", "ka\u017cdy", "m\u00f3c", "pokruszy\u0107", "szybki", "seria", "stan", "informacja", "bakalie", "nast\u0119pnie", "kukurydza", "p\u00f3\u017ano", "strona", "miska", "obtoczy\u0107", "celiakia", "jako\u015b\u0107", "for", "domowy", "\u015bniadaniowy", "pier\u015b", "swoje", "mleko", "\u015bniadanie", "ulubiony", "patelnia", "sk\u0142adnik", "smak", "szklanka", "raz", "naturalny", "czas", "dzi\u0119k", "przygotowa\u0107", "forma", "sprawdza\u0107", "kromka", "ziarno", "da\u0107", "czekoladowy", "kolejny", "reszta", "opr\u00f3cz", "wypowied\u017a", "wygl\u0105da\u0107", "s\u0142ynny", "ciastko", "znale\u017a\u0107", "wczesno", "soli\u0107", "podawa\u0107", "artyku\u0142"], "loglift": [30.0, 29.0, 28.0, 27.0, 26.0, 25.0, 24.0, 23.0, 22.0, 21.0, 20.0, 19.0, 18.0, 17.0, 16.0, 15.0, 14.0, 13.0, 12.0, 11.0, 10.0, 9.0, 8.0, 7.0, 6.0, 5.0, 4.0, 3.0, 2.0, 1.0, 1.0587, 1.0545, 1.0516, 1.0494, 1.0478, 1.0473, 1.0425, 1.0384, 1.0373, 1.0334, 1.0332, 1.0331, 1.0331, 1.0316, 1.0316, 1.0315, 1.03, 1.0299, 1.0279, 1.026, 1.0213, 1.0211, 1.0211, 1.0211, 1.0211, 1.0211, 1.0185, 1.0183, 1.0183, 1.0183, 1.0841, 1.072, 1.0692, 1.0683, 1.0681, 1.0681, 1.0641, 1.0626, 1.056, 1.0546, 1.0516, 1.0496, 1.0496, 1.0495, 1.0475, 1.0454, 1.0429, 1.0429, 1.0429, 1.0428, 1.0402, 1.0402, 1.0402, 1.0401, 1.0401, 1.0401, 1.0376, 1.0348, 1.0304, 1.0263, 1.1115, 1.1091, 1.1076, 1.102, 1.1013, 1.0955, 1.0924, 1.0869, 1.0869, 1.0854, 1.0852, 1.0826, 1.0826, 1.0825, 1.0823, 1.0805, 1.0801, 1.0799, 1.0773, 1.0772, 1.0771, 1.0741, 1.074, 1.0707, 1.0707, 1.0707, 1.0707, 1.0707, 1.0706, 1.0681], "Total": [72.0, 41.0, 30.0, 26.0, 26.0, 22.0, 23.0, 22.0, 21.0, 21.0, 21.0, 21.0, 20.0, 21.0, 19.0, 18.0, 17.0, 17.0, 16.0, 15.0, 15.0, 15.0, 14.0, 13.0, 13.0, 13.0, 12.0, 13.0, 13.0, 13.0, 41.17599727135128, 30.748116362008684, 26.114431607746038, 23.389705377947102, 21.800698603325216, 21.29917031885282, 17.74157452485391, 15.518376088118915, 15.028238606596176, 13.500205194351897, 13.40372154797429, 13.403050874589665, 13.378930289172448, 12.901522164959637, 12.890133652203408, 12.841220958774924, 12.388606206812911, 12.363812845213847, 11.789922769626475, 11.300454070275025, 10.249830430452773, 10.225034723987369, 10.225034723988594, 10.225034723985157, 10.22503472398409, 10.21297456674772, 9.724181870665694, 9.687324793632884, 9.687324793631186, 9.68732479363137, 72.34154692025533, 26.2333518579215, 22.81968444191974, 21.892546480820474, 21.76842550833028, 21.756082544095634, 18.49121742021922, 17.576425425150134, 14.262190906682578, 13.736560852885065, 12.710680127836017, 12.085613814738236, 12.085613814737174, 12.060928246310338, 11.510612231350523, 10.997324407980406, 10.44700806227215, 10.447008062270957, 10.447008062268749, 10.42232249537274, 9.896691423906697, 9.896691423901663, 9.896691423898295, 9.884348658823846, 9.884348658821947, 9.884348658820224, 9.421132554071562, 8.969557913014665, 8.332845074091395, 7.819558785893691, 22.594506739436824, 20.49827003460759, 19.4106063050279, 16.205837680393866, 15.866348442714123, 13.603136317767712, 12.630267578927967, 11.24486815014009, 11.234431775563401, 10.905386495802741, 10.853204056673624, 10.345621662883108, 10.345621662885145, 10.314311843007395, 10.293439582797456, 9.95395401537545, 9.880343761206156, 9.859470462317322, 9.415066196436957, 9.404629499222844, 9.383756810137339, 8.94978905683671, 8.928916082164474, 8.48451246059642, 8.484512460607569, 8.484512460609556, 8.484512460615134, 8.484512460619149, 8.474075946656336, 8.16589651699434], "Freq": [72.0, 41.0, 30.0, 26.0, 26.0, 22.0, 23.0, 22.0, 21.0, 21.0, 21.0, 21.0, 20.0, 21.0, 19.0, 18.0, 17.0, 17.0, 16.0, 15.0, 15.0, 15.0, 14.0, 13.0, 13.0, 13.0, 12.0, 13.0, 13.0, 13.0, 40.680865833007886, 30.252970976968328, 25.61932299974704, 22.894585257516546, 21.30556027083245, 20.80401989501217, 17.246550806385603, 15.023341337523336, 14.533132218051914, 13.00517080115237, 12.908679532993096, 12.907931652938641, 12.883815286872851, 12.406383476893087, 12.395094192569564, 12.346097553471722, 11.89357023024965, 11.868666081537322, 11.294776440806901, 10.805281278015613, 9.754779098852394, 9.729833069689548, 9.729833069674957, 9.729833069621384, 9.729833069612962, 9.717777432944033, 9.229128246966223, 9.192104046828591, 9.192104046817192, 9.192104046801651, 71.85284302130245, 25.744666106431154, 22.33091957805351, 21.40384522463773, 21.27964320445488, 21.267302402259716, 18.00238729834574, 17.08768770106067, 13.773437610201851, 13.24779271314579, 12.221999983830884, 11.596823773853398, 11.596823773836485, 11.572146279472442, 11.02181946017045, 10.508507075622628, 9.958176518678556, 9.958176518666727, 9.958176518633586, 9.933499018997843, 9.407842622610659, 9.407842622542779, 9.407842622499968, 9.395504081629753, 9.39550408161942, 9.395504081580995, 8.93244181730324, 8.480814396361877, 7.844146547049727, 7.33085163652426, 22.063698261201548, 19.967491266335035, 18.879760513015803, 15.674929834626457, 15.335552902218506, 13.072378871761224, 12.099441553515549, 10.714018514144941, 10.70358550330454, 10.374596828314187, 10.322435116700666, 9.814737457763169, 9.814737457751505, 9.78344253573028, 9.762573631971707, 9.423175026911407, 9.349447981789947, 9.3285852070407, 8.884156519101673, 8.87372541431311, 8.852859043618079, 8.418862549168248, 8.397997864992197, 7.953565374923975, 7.9535653748586785, 7.953565374850717, 7.953565374815935, 7.953565374792357, 7.943133190751442, 7.6350512010428915], "Category": ["Default", "Default", "Default", "Default", "Default", "Default", "Default", "Default", "Default", "Default", "Default", "Default", "Default", "Default", "Default", "Default", "Default", "Default", "Default", "Default", "Default", "Default", "Default", "Default", "Default", "Default", "Default", "Default", "Default", "Default", "Topic1", "Topic1", "Topic1", "Topic1", "Topic1", "Topic1", "Topic1", "Topic1", "Topic1", "Topic1", "Topic1", "Topic1", "Topic1", "Topic1", "Topic1", "Topic1", "Topic1", "Topic1", "Topic1", "Topic1", "Topic1", "Topic1", "Topic1", "Topic1", "Topic1", "Topic1", "Topic1", "Topic1", "Topic1", "Topic1", "Topic2", "Topic2", "Topic2", "Topic2", "Topic2", "Topic2", "Topic2", "Topic2", "Topic2", "Topic2", "Topic2", "Topic2", "Topic2", "Topic2", "Topic2", "Topic2", "Topic2", "Topic2", "Topic2", "Topic2", "Topic2", "Topic2", "Topic2", "Topic2", "Topic2", "Topic2", "Topic2", "Topic2", "Topic2", "Topic2", "Topic3", "Topic3", "Topic3", "Topic3", "Topic3", "Topic3", "Topic3", "Topic3", "Topic3", "Topic3", "Topic3", "Topic3", "Topic3", "Topic3", "Topic3", "Topic3", "Topic3", "Topic3", "Topic3", "Topic3", "Topic3", "Topic3", "Topic3", "Topic3", "Topic3", "Topic3", "Topic3", "Topic3", "Topic3", "Topic3"]}, "token.table": {"Freq": [0.9796842249165064, 0.9572118582078581, 0.9105304062666405, 0.9957257314208701, 0.9672046271521554, 0.9428944841725327, 0.9169780460187078, 0.9128279286801254, 0.910899480576505, 0.9344905783121749, 0.9582013127518615, 0.9552991583915715, 0.9816163653678392, 0.9699284231358255, 0.9213868962365092, 0.9105304062669741, 0.9665924703079892, 0.9833385939818406, 1.0002432948161148, 0.9632718832595994, 0.9105304062668155, 0.9716770862107627, 0.9646999959626743, 0.9463795297255669, 0.9559146810253937, 0.9714925627690226, 0.9665959836792594, 0.9572118582081698, 0.9911047639209307, 0.9309445754232928, 0.9592305773290278, 0.9652473030214336, 0.9779917887754217, 0.9705743810773808, 0.9093948284841893, 0.9736879965430199, 0.9440879543275069, 0.9290490606773883, 0.9572118582079675, 0.9791327429596105, 0.9093948284844988, 0.9591041394292354, 0.9756695222172038, 0.9301228061749055, 0.9779917887753196, 0.9872985473226791, 0.9290490606772432, 0.9640799396676152, 0.9600562507604657, 0.9440557354405827, 0.9929160557295128, 0.9686319671215957, 0.9629483265512757, 0.9698798914518404, 0.9956180701358978, 0.9665924703081796, 0.9779917887749908, 0.9594790416857432, 0.9952786892899619, 0.9782240087771026, 0.9569754981569151, 0.9949482954324865, 0.9453971122692725, 0.99812096365147, 0.9556619662055488, 0.979146666296307, 0.9428944841712459, 0.9695266298138461, 0.975625896238194, 0.955639872051305, 0.9093948284837268, 0.9734122126060981, 0.8951911727587294, 0.9500986360748611, 0.9929160557296001, 0.9428944841737716, 0.9779917887751081, 0.9290490606774061, 0.9788462916317281, 0.9255277327905306, 0.942894484171692, 0.8959654146576665, 0.8938758164237212, 0.933000174380998, 0.9041633089823483, 0.9428944841723118, 0.9734350957508024, 0.9859538979981765, 0.9756920933441529, 0.8919057190535719], "Topic": [3, 2, 2, 1, 2, 3, 3, 3, 3, 1, 1, 2, 2, 1, 3, 2, 3, 1, 2, 1, 2, 1, 2, 2, 3, 3, 1, 2, 2, 1, 2, 2, 1, 1, 2, 3, 2, 1, 2, 3, 2, 3, 1, 1, 1, 3, 1, 2, 2, 3, 2, 1, 1, 1, 1, 3, 1, 2, 2, 3, 3, 2, 3, 1, 3, 1, 3, 3, 1, 2, 2, 1, 2, 3, 2, 3, 1, 1, 3, 1, 3, 3, 3, 1, 3, 3, 2, 1, 3, 2], "Term": ["artyku\u0142", "bakalie", "celiakia", "chleb", "chrupa\u0107", "ciastko", "czas", "czekoladowy", "da\u0107", "dobre", "dodatek", "domowy", "du\u017cy", "dziecko", "dzi\u0119k", "for", "forma", "gluten", "informacja", "jajko", "jako\u015b\u0107", "jednocze\u015bnie", "kawa\u0142ek", "ka\u017cdy", "kolejny", "kromka", "kuchnia", "kukurydza", "kukurydziany", "kulinarny", "kurczak", "mas\u0142o", "mieszanka", "minuta", "miska", "mleko", "m\u00f3c", "nabra\u0107", "nast\u0119pnie", "naturalny", "obtoczy\u0107", "opr\u00f3cz", "owoc", "panierka", "panierowa\u0107", "patelnia", "patent", "pe\u0142noziarnisty", "pier\u015b", "podawa\u0107", "pokruszy\u0107", "polski", "posi\u0142ek", "produkt", "przygotowanie", "przygotowa\u0107", "przyrz\u0105dzenie", "p\u00f3\u017ano", "p\u0142atek", "raz", "reszta", "seria", "sk\u0142adnik", "smaczny", "smak", "sma\u017cy\u0107", "soli\u0107", "sprawdza\u0107", "sprawdzi\u0107", "stan", "strona", "stworzy\u0107", "swoje", "szklanka", "szybki", "s\u0142ynny", "tre\u015b\u0107", "troszk\u0119", "ulubiony", "warzywo", "wczesno", "wygl\u0105da\u0107", "wypowied\u017a", "wysoki", "ziarno", "znale\u017a\u0107", "zosta\u0107", "\u0142y\u017cka", "\u015bniadanie", "\u015bniadaniowy"]}};
function LDAvis_load_lib(url, callback){ var s = document.createElement('script'); s.src = url; s.async = true; s.onreadystatechange = s.onload = callback; s.onerror = function(){console.warn("failed to load library " + url);}; document.getElementsByTagName("head")[0].appendChild(s); }
if(typeof(LDAvis) !== "undefined"){ // already loaded: just create the visualization !function(LDAvis){ new LDAvis("#" + "ldavis_el45322071017688294582072", ldavis_el45322071017688294582072_data); }(LDAvis); }else if(typeof define === "function" && define.amd){ // require.js is available: use it to load d3/LDAvis require.config({paths: {d3: "https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.5/d3.min"}}); require(["d3"], function(d3){ window.d3 = d3; LDAvis_load_lib("https://cdn.rawgit.com/bmabey/pyLDAvis/files/ldavis.v1.0.0.js", function(){ new LDAvis("#" + "ldavis_el45322071017688294582072", ldavis_el45322071017688294582072_data); }); }); }else{ // require.js not available: dynamically load d3 & LDAvis LDAvis_load_lib("https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.5/d3.min.js", function(){ LDAvis_load_lib("https://cdn.rawgit.com/bmabey/pyLDAvis/files/ldavis.v1.0.0.js", function(){ new LDAvis("#" + "ldavis_el45322071017688294582072", ldavis_el45322071017688294582072_data); }) }); }