Member-only story

How to Build a Word Collocation Network Graph via Tableau & R? Part 2

DigNo Ape
2 min readMay 11, 2023

--

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:

  1. 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!

--

--

DigNo Ape
DigNo Ape

Written by DigNo Ape

我們秉持著從原人進化的精神,不斷追求智慧的累積和工具的運用來提升生產力。我們相信,每一個成員都擁有無限的潛力,透過學習和實踐,不斷成長和進步。

No responses yet