Skip to content

lggcs/crossrefviz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

36 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŒˆ CrossRefViz

Explore Scripture's Infinite Web of Connections


โœจ What is CrossRefViz?

CrossRefViz is an immersive, interactive visualization of the Bible's cross-reference network โ€” featuring 607,000+ curated connections between verses, enhanced with Rainbow Bible themes and scholarly commentary on textual difficulties.

Ever wondered how Genesis 1:1 connects to Revelation? Or how prophecy weaves through Scripture? CrossRefViz transforms the tangled web of biblical references into a beautiful, navigable journey of discovery.

๐Ÿ“– 600K+ Cross-References โ†’ ๐ŸŒˆ 10 Rainbow Themes โ†’ ๐Ÿ“Š Visual Exploration โœจ

๐ŸŽจ Features

๐ŸŒ Arc-Based Visualization

  • Stunning bezier curves connecting related verses across the entire Bible
  • 607,000+ cross-references from OpenBible.info, crowd-sourced and verified
  • Zoomable, scrollable canvas โ€” navigate from Genesis to Revelation
  • Hover to inspect โ€” see vote counts, source/target verses on demand

๐ŸŒˆ Rainbow Bible Themes

Theme Color Hex Focus
God โ— Purple #A020F0 Divine attributes, nature, character
Discipleship โ— Salmon #FA8072 Following Christ, spiritual growth
Love โ— Green #008000 Unconditional love, relationships
Faith โ— Light Orange #FFB347 Trusting God, believing promises
Sin โ— Gray #808080 Fall, temptation, moral failure
Evil โ— Brown #8B4513 Satan, spiritual warfare, judgment
Salvation โ— Blue #0000FF Redemption, atonement, eternal life
Family โ— Yellow #FFFF00 Marriage, parenting, home life
Outreach โ— Pink #FFC0CB Evangelism, missions, spreading gospel
Commandments โ— Olive #808000 God's law, obedience, statutes
History โ— Silver #C0C0C0 Biblical events, Israel's timeline
Prophecy โ— Gold #FFD700 Foretelling, fulfillment, end times

Filter by theme โ€” click any color to reveal only related passages and their connections

๐Ÿ“š Bible Difficulties Database

  • 996+ curated scholarly articles addressing textual complexities
  • Multiple sources: defendinginerrancy.com, kjvtoday.net, answersingenesis.org, christcreated.com, lighthousetrailsresearch.com
  • Verse-level linking โ€” scroll to chapters, see associated commentary instantly
  • Source attribution โ€” color-coded labels (green/yellow/blue/purple/orange)
  • Quick BibleHub access โ€” deep links to verse interpretations

๐Ÿ” Interactive Exploration

  • Book-by-book navigation โ€” jump to any book with one click
  • Verse detail panel โ€” full verse text, cross-references, themes
  • Powerful search โ€” find "John 3:16", "Genesis 1:1-3", or book names
  • Vote threshold slider โ€” quality filter, show connections with 2+ to 50+ votes
  • Arc limit control โ€” display 100 to 3000 strongest connections
  • Keyboard navigation โ€” arrow keys โ† โ†’ to step through connections

๐Ÿš€ Quick Start

No Build, No Server, No Database

Deploy this instantly to GitHub Pages:

  1. Clone the repo:

    git clone <your-repo-url>
    cd tskviz
  2. Open in browser:

    open index.html
  3. Or serve locally (optional):

    python serve.py
    # Navigate to http://localhost:5000

GitHub Pages Deployment

Drop these 5 files into your gh-pages branch:

File Size Purpose
index.html ~2839 lines Complete application
verses-1769.json ~4.6 MB KJV verse texts
openbible.json ~40 MB 607K cross-references
verse_themes.json ~4.1 MB Rainbow theme classifications
bible_difficulties.json ~221 KB 996 scholarly articles

That's it.


๐Ÿ“– How It Works

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  1. Load 49MB JSON data (downloads once, cached thereafter)  โ”‚
โ”‚     โ†“                                                        โ”‚
โ”‚  2. Parse 607,000+ cross-references (filtered: 2+ votes)     โ”‚
โ”‚     โ†“                                                        โ”‚
โ”‚  3. Map to 10 Rainbow Bible themes for every verse           โ”‚
โ”‚     โ†“                                                        โ”‚
โ”‚  4. Render thousands of arcs on HTML5 Canvas                 โ”‚
โ”‚     โ†“                                                        โ”‚
โ”‚  5. Interactive: Scroll, hover, click, filter, search        โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Performance:

  • First visit: 5-15 seconds (downloads ~49MB)
  • Cached visits: 1-3 seconds (browser caches JSONs)
  • Memory: ~150-200MB after initial load
  • GitHub Pages compression: ~12-15MB after gzip

๐ŸŽฏ Inspiration & Origins

The Vision

Inspired by Chris Harrison's BibleViz (2007), which first revealed Scripture's staggering interconnectedness through static visualizations. CrossRefViz brings this concept to life as a fully interactive, real-time experience.

The Data

  • OpenBible.info โ€” Community-curated cross-references with transparent voting (CC BY 4.0)
  • Rainbow Study Bible โ€” Color-coded themes concept (adapted, not used directly)
  • KJV Text โ€” Public domain King James Version
  • Theme Classifications โ€” AI-generated using Ollama models

๐Ÿ› ๏ธ Technology Stack

Layer Technology Why
UI/Styling Tailwind CSS Utility-first, dark mode, responsive mobile/desktop
Visualization HTML5 Canvas High-performance rendering of thousands of arcs
Interactivity Vanilla JavaScript No framework overhead, clean & predictable
Deployment GitHub Pages Free hosting, auto-gzipping, zero configuration
AI Classification Ollama Local LLMs for theme categorization (Python scripts)

No build step. index.html contains everything.


๐Ÿ“ File Structure

Production (Deploy these 5 files)

tskviz/
โ”œโ”€โ”€ index.html              # All-in-one application
โ”œโ”€โ”€ verses-1769.json        # KJV verse texts
โ”œโ”€โ”€ openbible.json          # Cross-references (607K links)
โ”œโ”€โ”€ verse_themes.json       # Rainbow theme assignments
โ””โ”€โ”€ bible_difficulties.json # Scholarly commentary

๐ŸŽฎ Controls Reference

Control Action
Horizontal scroll Navigate through Bible chapters
Mouse wheel Zoom in/out of canvas
Hover arc Show source/target verses & vote count
Click arc Select, populate Details panel
Arrow keys โ† โ†’ Step through arc connections
Click book (sidebar) Filter to that book's references
Theme click Toggle show/hide themed arcs
Search Find "John 3:16", "Gen 1:1-3", or book names
Votes slider Filter cross-refs by minimum vote threshold
Arcs slider Limit visible arcs (100-3000)
Source filter dots Show/hide Bible difficulties by source

๐Ÿ“ License

  • OpenBible cross-references: CC BY 4.0 (Credit: openbible.info)
  • Bible verses: Public domain (KJV)
  • Theme concepts: Inspired by Rainbow Study Bible (not directly used, generated by AI)
  • Code: Free to use, modify, distribute. AGPL 3.0

๐Ÿ™ Acknowledgments

Source Contribution
OpenBible.info 607,000+ cross-references & API
Chris Harrison Original BibleViz inspiration (2007)
Rainbow Study Bible Color-coded thematic approach
farskipper/kjv KJV verse text dataset
Ollama Local AI for theme classification

๐ŸŒฟ "All Scripture is breathed out by God and profitable for teaching..."

2 Timothy 3:16

Navigate Scripture's connections. Understand its unity.

๐ŸŽ‰ Start exploring: Live Demo

About

A colorful and interactive way to browse Bible cross references and defend inerrancy.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors