I have a CSV file with a set of words occurrences in several documents.
The first column is the document it. The second column states the text topic (there are 5 different topics). The other columns indicate whether a word occurs in this document (1) or not (0), so it is a binary representation.
Here is an extract:
id,topic,w_hello,w_apple,w_tomato 1,politics,1,1,0 2,sport,0,1,0 3,politics,1,0,1
My actual CSV consists of over 10.000 words.
I now want to visualize.
My first approach was just plot each word individually with a bar plot:
- x-axis: the different words
- y-axis: number of occurrences per document
But as you can see, with over 10.000 words the plot looks very confusing.
Are there any other approaches to visualize it?
Is there something else interesting I can do with my CSV? I'm just playing around.