finished the visualization using mpld3 and got a working LDA