Interactive Data Story & Demo

Questions Are All You Need

How curiosity, a few good questions, and DuckDB-WASM turned 41,995 verses of scripture into an instant, serverless research lab.

4 Standard Works 6 Interactive Dashboards In-Browser DuckDB-WASM
Launch Live Explorer ↗

Use ← / → arrow keys, swipe, or click Next below

The Starting Point

You Don't Need to Start With Code.
You Start With a Question.

Every dashboard in the LDS Scriptures Explorer grew out of one simple human question — and then asking "wait, what if we also checked...?"

Question #1
"If I search for a word like 'faith', can I see a chart of every chapter in all 4 Standard Works — and hover to read the verses?"
Question #2
"Can I pick any book — like Alma or Psalms — and see its longest verses, shortest verses, and themes?"
Question #3
"In the Book of Mormon, who is actually speaking each verse — and which phrases belong uniquely to each author?"
Question #4
"Did later authors like Mormon and Moroni echo rare phrases from earlier prophets like Isaiah, Nephi, and Abinadi?"
Step 1 · From Raw File to Meaning

Teaching the Computer How Scriptures Work

We started with one Parquet file containing every verse of the Standard Works — and built a clean semantic model (using Malloy) that understands scripture structure.

4

Standard Works

The Bible, Book of Mormon, Doctrine & Covenants, and Pearl of Great Price.

87

Books

From Genesis to Articles of Faith, in canonical reading order.

1,582

Chapters

Every chapter & section mapped so we can chart patterns from start to finish.

41,995

Verses

Searchable by word, phrase, length, deity titles, and 9 gospel themes.

Step 2 · Visualizing All 4 Standard Works

A 2×2 Scripture Radar for Any Word

Type any word — like faith, light, covenant, or zion — and watch it light up chapter by chapter across all four Standard Works at once.

4 Bar Charts Side by Side

The Bible (1,189 chapters), Book of Mormon (239), Doctrine & Covenants (138), and Pearl of Great Price (16) — each plotted left-to-right in reading order.

Try Word Search live ↗

Hover & Pin Verse Inspector

Hover any bar to see which chapter spiked (like Ether 12 with 34 mentions of "faith"!) — and read every matching verse with a count badge next to each verse.

Inspect Ether 12 ↗

Book Statistics Deep Dive

Pick any book to see its chapter-by-chapter pacing, longest and shortest verses, top titles of Deity, and thematic DNA.

Try Book Statistics live ↗

Canon & Phrase Explorer

Search multi-word phrases like "it came to pass" (1,808 verses!) or "fear not" and compare all 4 Standard Works side by side.

Try Phrase Explorer live ↗
Step 3 · Every Project Hits a Plot Twist

"Wait — Who Is Actually Speaking?"

The Book of Mormon doesn't have a column saying who is talking in each verse. Sometimes three different people speak inside a single verse (like 1 Nephi 1:13: Nephi → Lehi → Nephi!).

The Roadblock

We tried opening a WordCruncher .elim file on a Mac, but it was encrypted for Windows-only software. Dead end!

The Breakthrough

BYU professor John Hilton III published a 48-page PDF (Appendix D) listing every speaker change in the Book of Mormon — down to the exact starting and ending words!

We parsed all 48 pages and split all 6,604 verses (including 724 multi-speaker verses) into 7,565 exact speaker segments.

Search by Speaker Voice live ↗
Step 4 · Always Check the Data

Did Our Numbers Match the Scholars?

One of the most important habits when building data tools: verify against ground truth. We checked our extracted word counts against John Hilton III's published table:

Rank Speaker Published Scholar Count Our Extracted Dataset Accuracy
1Mormon97,591 (36.4%)96,889 (36.3%)99.3% match
2Nephi128,166 (10.5%)27,955 (10.5%)99.3% match
3Alma220,051 (7.5%)20,050 (7.5%)Off by 1 word! (99.995%)
4Moroni219,513 (7.3%)19,229 (7.2%)98.5% (excl. Title Page)
5Jesus Christ14,161 (5.3%)14,267 (5.3%)99.3% match
Step 5 · Finding Author Fingerprints

Signature Phrases Unique to Each Speaker

Once every word had an author attached, we scanned thousands of 2- to 5-word phrases to find "fingerprints" — phrases that immediately reveal who is speaking:

Nephi1 · 100% Exclusive

"my soul delighteth"

Appears 11 times in the entire Book of Mormon — all 11 spoken by Nephi. Also favors Lord over God.

Jacob · 100% Exclusive

"great creator"

Used 3 times — exclusively by Jacob! Also uses "O my beloved brethren" and favors God over Lord.

Zenos · 100% Exclusive

"turn their hearts aside"

Unique to Zenos, plus his poetic refrain "thou didst hear me" (4/4 exclusive).

King Benjamin's Sermon

"lord omnipotent"

Spoken 3× by the Angel to King Benjamin, and echoed 1× by Benjamin's covenant people — nowhere else!

Alma2 · 86% Exclusive

"now my son"

Used 25 out of 29 times by Alma the Younger, plus "beginneth to" (Alma 32).

Jesus Christ · 100% Exclusive

"in my name"

Used 44 out of 44 times by Jesus Christ, along with "verily I say unto you" (96%) and "baptize".

Step 6 · Echoes Across 1,000 Years

How Later Authors Echoed Earlier Prophets

Ordering authors historically — from Isaiah & Old Testament prophets (~700 BC) to Mormon (~385 AD) and Moroni (~421 AD) — revealed 3,185 rare phrase echoes:

"in the cavity of a rock" Exclusive 2-Author Echo · ~1,000 yrs apart
Nephi1 (~580 BC · 1 Nephi 3:27)
Hiding from Laban's servants "in the cavity of a rock"
→
Moroni2 (~421 AD · Ether 13:13)
Ether hiding "in the cavity of a rock" as he watches his people fall
"brimstone whose flame ascendeth up forever" Exclusive 2-Author Echo · ~460 yrs apart
Jacob (~545 BC · 2 Nephi 9:16)
"lake of fire and brimstone, whose flame ascendeth up forever"
→
Alma2 (~83 BC · Alma 12:17)
Echoes Jacob's exact imagery word-for-word to Zeezrom
"bringeth about the restoration of" & "set your hearts upon riches" Abinadi → Alma2
Abinadi (~148 BC · Mosiah 12–16)
Testifying before King Noah (heard by Alma the Elder)
→
Alma2 (~83 BC · Alma 7 & 40)
Weaves Abinadi's distinctive phrases into his counsel to his son Corianton
Step 7 · Architecture

How Does It Run So Fast — With Zero Servers?

Normally an interactive analytics app needs a cloud database running 24/7. Here's how this site delivers instant queries for free:

1. Local In-Memory Parquet

All 41,995 verses, speaker segments, signature phrases, and echoes fit into 4 compressed .parquet files (~3.9 MB total) fetched once into browser memory via registerFileBuffer.

2. DuckDB-WASM + Malloy

DuckDB-WASM compiles and runs every Malloy query directly inside your browser — zero server round-trips, millisecond filtering, and edge-cached assets.

3. Cloudflare Pages Edge

Deployed straight from the CLI to Cloudflare Pages, serving both the WASM explorer and this slide deck globally with zero backend maintenance.

The Takeaway

Questions Are All You Need

Bring a good question, check the numbers, follow the clues — and keep asking "what else can we discover?"

Explore All 6 Live Dashboards →