Chord Diagram with Chi-Square Association Analysis
Use this tool to show how two categorical systems are linked, for example cancer type by mutation class, tissue by variant effect or cell type by ligand. Paste a count table, assign the row labels and count columns, and the tool tests the association, highlights enriched and depleted cells and draws the chord diagram. Restyle it, then sign in free to download pictures or an APA 7 Word report.
About this tool
In a chord diagram, each sector is a category and its width is proportional to its total. Ribbons connect row and column categories and their width is the observed count, so the strongest links stand out visually.
The tool tests independence with the chi-square test (Monte Carlo when counts are small), reports Cohen’s w and bias-corrected Cramér’s V, and marks cells that are significantly enriched or depleted using Holm-adjusted standardised residuals. Significantly enriched links are drawn opaque with a black border.
When to use it
Use it for contingency tables in genomics, ecology, marketing and the social sciences whenever you need a figure and a statistical test of how two categorical variables relate.
What this tool reports
Chord diagram with sector widths proportional to marginal totals.
Chi-square test of independence with degrees of freedom and p value.
Cohen’s w and bias-corrected Cramér’s V.
Holm-adjusted standardised residuals for every cell, ranked.
APA 7 paragraph and tables, with PNG, SVG and Word downloads.
Assumptions to check
Cells contain counts of independent observations, not percentages.
Expected counts are large enough; when many are below 5 the Monte Carlo p value is used.
Rows and columns with a total of zero are removed before analysis.
How to report it in APA 7
Report the chi-square statistic with degrees of freedom and sample size, the p value and Cramér’s V, for example χ²(20, N = 1,200) = 85.4, p < .001, V = .21, then name the most enriched and depleted pairs. The tool drafts this text and the tables.
Downloads
Analyses and figures are free to view. Create a free account or log in to download the figure as a picture (PNG or SVG) or the combined APA 7 results and figure as a Word (.docx) file. Colours, text colour, text size and line size can be changed before you download.
Frequently asked questions
Is the chord diagram maker free?
Yes. You can analyse your table and view the figure without an account. A free account is needed only to download.
What does the ribbon width mean?
Ribbon width is the observed count between the connected row and column categories.
Which cells are highlighted?
Cells with a Holm-adjusted standardised residual that is significant are called enriched (positive) or depleted (negative).