The Two by Two Truth Diagram
Get picks like this daily. Today's launch numbers, the top launches, AI and tech news, and a daily opportunity pick, straight to your inbox.
Want to reach these readers? Sponsor an issue.
I am diagnostic radiologist with over 40 years experience. In diagnostic testing, many terms are used to describe how well the test detects the disease or disorder. Examples are “sensitivity”, “specificity”, “predictive values”, “odds ratio”, “likelihood ratios” and numerous others. In the literature and medical presentations there is often not much consistency in their use; as a physician listening to or reading research, I was perpetually unclear on how these terms “fit together”. My solution was to invent the visual 2 by 2 diagram, or truth diagram, as a graphical alternative to the standard contingency table used in diagnostic testing (Johnson 1999). The concepts listed above, and many others, are represented graphically, and their inter-relationships can be clearly visualized. Instead of four numbers in a grid, a single rectangle on a coordinate system encodes all four cells of the 2×2 table through its position and shape. Each hemi-axis corresponds to one cell (see below). The vertical height corresponds to the number of subjects with the disorder, and the horizontal width corresponds to the number of subjects without the disorder. A low, wide box represents a low prevalence of the disorder; a high narrow box represents a high prevalence. The diagram makes it possible to see statistics like sensitivity, specificity, PPV, NPV, likelihood ratios, and even Bayes’ theorem as geometric relationships — lengths, areas, slopes, and proportions — rather than abstract formulas. Drag or resize the box to see how the cell values change. The other lessons in this app explain each of the terms and how they appear on the diagram. Any of these screens can be saved for presentation and publication purposes.Please take a look and feel free to give me feedback.REFERENCESJohnson KM. The two by two diagram: a graphical truth table. J Clin Epidemiol. 1999;52(11):1073-82. [PubMed] [ResearchGate] Johnson KM, Johnson BK. Visual presentation of statistical concepts in diagnostic testing: the 2×2 diagram. AJR Am J Roentgenol. 2014;203(1):W14-20. [PubMed] [ResearchGate] Johnson KM. Using Bayes’ rule in diagnostic testing: a graphical explanation. Diagnosis (Berl). 2017;4(3):159-67. [PubMed] [ResearchGate]
HN · launched Mar 21, 2026 · 5 upvotes (top 89%) · 0 views
Niche: data and scientific visualization tools · 146 launches, 3 in the last 7 days ▼ -50% · Explore this niche →
Visit website ↗ Source listing ↗
More like this: all 146 launches in data and scientific visualization tools →
Could you build this?
Yes It is an interactive 2x2 contingency table calculator and visualization tool for diagnostic statistics (sensitivity, specificity, predictive values), easily implemented with standard web front-end technologies.
Discussion
No comments on this launch.
Competitors
Other products that read as similar to this one : 110 launches clear the similarity bar, closest 8 shown.
Attention rank: #108 of 111 (itself plus its competitors, highest first, normalized so YC and Product Hunt are compared fairly).
Launched 135 days after the earliest competitor.
- Nosology.AI · ph · 2026-10-06 · 2 upvotes · similarity 0.48
- Interactive 3D and 2D Visualization of GPT-2 · hn · 2026-03-19 · 12 upvotes · similarity 0.43
- Cancer diagnosis makes for an interesting RL environment for LLMs · hn · 2025-11-12 · 46 upvotes · similarity 0.42
- IQ Test: Reasoning Score · ph · 2026-10-12 · 1 upvotes · similarity 0.41
- Height Comparison · ph · 2026-10-30 · 1 upvotes · similarity 0.40
- Semantic Space · ph · 2026-09-19 · 3 upvotes · similarity 0.39
- nervous-system-atlas · github · 2026-09-09 · 25 upvotes · similarity 0.39
- visual-comparison · ph · 2026-10-20 · 2 upvotes · similarity 0.39
The niche, labels, vibe code rating and competitor comparison on this page are analysis by Nicheloom. If you use them, please credit nicheloom.com. How you may use our data.