Member-only story
How to Build a Word Collocation Network Graph via Tableau & R? Part 2
Previously on How to Build a Word Collocation Network Graph via Tableau & R? Part 1, we discuss on how to set the coordinates (X1, X2) for each word. In this article, we are going to visualize the data in Tableau.
Steps:
- Import Excel Tabs “edges” and “nodes” into Tableau and set the relationship as follows.
2. In the sheet, make sure you have X1 and X2 converted into Dimension for both “edges” and “nodes”.
3. Drag X1 (X1 in nodes) in Columns and X2 (X2 in nodes) in Rows and convert them into Continuous instead of Discrete. Also, combine them into one chart by clicking on “Dual Axis”.
4. Drag “Verb” and “Noun” in “edges” into Details under Marks.
5. Drag “Word” in “nodes” into Label under Marks and drag “Group” into Shape and Color under Marks.
6. Add “Verb” and “Noun” into Filters so you can decide which ones should be kept in the canvas.
Here is the Demo link. We will show you how to use Python to build this kind of network chart soon! Thank you and enjoy it!