Skip to content

Latest commit

 

History

History
150 lines (118 loc) · 10.3 KB

File metadata and controls

150 lines (118 loc) · 10.3 KB

Chart Type Guide — Index

Reference index for the SSCI-Plots chart catalog. 55 charts are organized across 5 chart-family reference files; this Index points to each section by canonical anchor.

Colors, sizes, helpers are defined in scripts/ssci_style.py (SSOT). Never copy HEX, DPI, or figure-size values across files — always reference by name (e.g. get_palette(n), FIGURE_SIZES['scatter'], NEUTRAL['axis'], apply_style(journal='nejm')).


Table of Contents

By Chart Family

Core distribution & relationship — §1-§7

Statistical model output — §8-§12, §17-§19, §32-§33

Causal inference / econometrics — §22-§26, §38

Applied / specialty — §14, §16, §20-§21, §27-§31

Quick Reference (P3) — §15.1-§15.11


By Discipline (decision shortcut)

Discipline Primary file(s)
Psychology — descriptive distribution chart-types-core.md
Psychology — modeling (SEM / mediation / forest) chart-types-models.md
Economics / Political science — causal chart-types-causal-econ.md
Medicine / Public health (KM / ROC / funnel / Bland-Altman) chart-types-applied.md
Sociology — flow / cross-tab (mobility, ridgeline) chart-types-applied.md
Geography (choropleth) chart-types-applied.md
Methodology — robustness (spec curve, DAG, parallel analysis) chart-types-models.md

Multi-panel and shared concepts


Y-axis Baseline Rule (Cross-Cutting)

Bar charts (§1) require a zero baseline (APA 7 §7.27; Weissgerber et al., 2015, PLOS Biology). Distribution displays (§5 box, §6 violin, §14 raincloud) and continuous trends (§3 line, §4 scatter) start at the data range with sensible padding. ROC and calibration plots (§29) span 0-1 naturally. Bar length encodes value → baseline must be zero; non-bar encodings do not.

Within individual sections we no longer repeat this rule. If your chart uses bar-area encoding and you find yourself reaching for a non-zero baseline, that is the cue to switch to a dot-and-whisker variant (§2) or a lollipop (§15.7) instead.

Cross-Reference for §10 Mediation

Mediation diagrams use a straight c' in the triangular (§10) and parallel (§10.2) layouts; serial chains (§10.1) use a curved c' to avoid passing through the M nodes — this is a geometric (collision- avoidance) choice, not a semantic one. SEM convention treats curved and straight single-headed arrows as identical regression paths; only double-headed curves denote covariance.

See apa-figure-standards.md §11 ("Mediation Diagram Conventions") for full SEM notation rules and the references that anchor this convention (Baron & Kenny, 1986; Hayes, 2018; Kline, 2023).


Legacy Anchor Compatibility

If you reach this file via a link like chart-type-guide.md#10-mediation-diagram from an older document or screenshot, the section now lives in chart-types-models.md#10-mediation-diagram. All historical anchors map to canonical sub-file slugs as follows:

Legacy anchor Current location
#1-grouped-bar-chart chart-types-core.md#1-grouped-bar-chart
#2-error-bar--mean-comparison-plot chart-types-core.md#2-error-bar--mean-comparison-plot
#3-line-chart--trend-plot chart-types-core.md#3-line-chart--trend-plot
#4-scatter-plot-with-regression chart-types-core.md#4-scatter-plot-with-regression
#5-box-plot chart-types-core.md#5-box-plot
#6-violin-plot chart-types-core.md#6-violin-plot
#7-correlation-heatmap chart-types-core.md#7-correlation-heatmap
#8-forest-plot chart-types-models.md#8-forest-plot
#9-path-diagram--sem chart-types-models.md#9-path-diagram--sem
#10-mediation-diagram chart-types-models.md#10-mediation-diagram
#11-interaction--moderation-plot chart-types-models.md#11-interaction--moderation-plot
#12-simple-slopes-plot chart-types-models.md#12-simple-slopes-plot
#13-multi-panel-figure multi-panel.md#13-multi-panel-figure
#14-raincloud-plot chart-types-applied.md#14-raincloud-plot
#15-additional-chart-types-p2-p3-quick-reference chart-types-quick-reference.md

Within each sub-file the canonical slug is preserved unchanged, so any existing #10-mediation-diagram link resolves to the same heading content it always did, only now in chart-types-models.md.