Label by Group can use any field that exists in the current links table.

That includes:

That’s what Label by Group does: it configures the map’s Link Labels to show a compact summary per connection.

What is being summarised?#

The map groups links into bundles by cause→effect.  

For each bundle (say Education → Employment) Label by Group looks at the links inside that bundle and summarises the selected field.

Common choices:

Counts: Sources vs Citations#

Before choosing a display mode, decide what a “count” means:

If some sources produce many more links than others, Sources is usually the more interpretable option.

Display modes#

Assume you pick field = custom_tribeId (or custom_gender) and Counts = Sources.

Tally#

Shows counts per value in the bundle.

Example label on an edge:

Interpretation: 4 sources from tribe T1 and 1 source from tribe T2 contain at least one link in this cause→effect bundle.

International development-style example:

Example using an existing source custom column (Counts = Sources):

Percentage#

For each value, shows:

\[

\text{percent} = \frac{\text{count of this value in this bundle}}{\text{total count of this value across all currently filtered links}} \times 100

\]

Example label:

Interpretation: 18% of T1’s total (source-based) participation in the current filtered map appears in this one bundle.

This is a “share of that group’s activity” view.

Chi‑square (significance)#

The three Chi-square modes test, for each value, whether it appears in the bundle more or less often than its share of the whole filtered map would lead you to expect. They differ only in how much they print:

Sig level sets the significance threshold (default p < .05).

Ordinal correction (numeric groups). Where the group values are numeric-like (including strings such as "12 foobar"), you can switch this on. The Chi-square modes then use an ordinal trend test and show only the overall total plus (⬆) or (⬇), without per-group totals.

What the marks mean:

In the last form, 45 (T1 4/5⬆, T3 3/6⬇), where:

International development-style example (Counts = Sources):

A worked mini-example (Sources)#

Suppose in your current filtered map:

Expected T1 in bundle = \(45 × 5 / 50 = 4.5\).   Observed (4) is slightly below expected, so it would not show as over‑represented.

If instead observed were 5 with the same totals, it would skew upward and might appear as T1⬆ depending on the chi‑square contribution.

## How to use (quick)

  1. Add Label by Group to the filter pipeline
  2. Pick Field (e.g. custom_tribeId)
  3. Pick Counts (Sources/Citations)
  4. Pick Display mode
  5. In Map Formatting → Link Labels, select Label by Group

That’s it: the map labels update immediately as you tweak the settings.