diff --git a/scattertext/data/viz/scripts/main.js b/scattertext/data/viz/scripts/main.js index 2ad9b9e..e56e0b3 100644 --- a/scattertext/data/viz/scripts/main.js +++ b/scattertext/data/viz/scripts/main.js @@ -792,7 +792,9 @@ function buildViz(widthInPixels = 800, .html(messages.join('
')); }; - populateCorpusStats(); + if(fullData.docs) { + populateCorpusStats(); + } if (saveSvgButton) { // from http://stackoverflow.com/questions/23218174/how-do-i-save-export-an-svg-file-after-creating-an-svg-with-d3-js-ie-safari-an