Skip to content

A collection of King James Version (KJV) Bible analysis and visualization

Notifications You must be signed in to change notification settings

verneylmavt/st-kjv-vis

Repository files navigation

✝️ King James Version (KJV) Bible Analysis and Visualization

This repository provides a comprehensive exploration of Bible datasets by delving deep into the multifaceted dimensions of biblical texts. It offers an in‐depth analysis of the scriptures through metrics such as verse counts, chapter distributions, lexical richness, and sentiment across all the books, while also presenting a detailed overview of the Bible’s organizational structure—from the broad divisions of the Old and New Testaments down to the individual books. The visualizations capture the internal structure and thematic nuances of the Bible, revealing patterns and relationships within its extensive textual tradition.

This repository also examines the interconnections between the various books by mapping out the intricate network of cross-references. It highlights how passages in one book relate to and resonate with those in another, using visual tools like heatmaps, chord diagrams, Sankey diagrams, and network graphs to illustrate the flow of ideas and scriptural dialogue. These visual representations bring to light the rich tapestry of intertextual references that underscore the unity and complexity of the biblical narrative.

In addition to the textual and referential analysis, the repository extends its exploration into the historical and geographical realms of the Bible. It presents a timeline of significant biblical events, covering both BC and AD periods, and details the duration and context of these events along with their scriptural connections. Complementing the timeline, a mapping of ancient and modern biblical sites is provided, linking geographical locations with corresponding verses to offer insights into the historical landscape that underpins the biblical world.

For more information about the training process, please check the kjv.ipynb, kjv_cr.ipynb, and kjv_timeline.ipynb file in the training folder. Check here to see my other ML projects and tasks.

🎈 Demo App

Streamlit App

If you encounter message This app has gone to sleep due to inactivity, click Yes, get this app back up! button to wake the app back up.

⚙️ Running Locally

If the demo page is not working, you can fork or clone this repository and run the application locally by following these steps:

  1. Clone the repository:

    git clone https://github.com/verneylmavt/st-kjv-vis.git
    cd st-kjv-vis
  2. Install the required dependencies:

    pip install -r requirements.txt
  3. Run the Streamlit app:

    streamlit run app_local.py

⚖️ Acknowledgement

I acknowledge the use of the following datasets, which have been instrumental in conducting the research and developing this project:

OpenBible.info - Bible Geocoding

  • Source: https://www.openbible.info/geo/
  • License: Creative Commons Attribution 4.0 International
  • Description: This dataset contains the locations of every identifiable place mentioned in the Bible, compiled from over seventy modern sources.

Viz.Bible - Events

  • Source: https://viz.bible/
  • License: Creative Commons Attribution Share Alike 4.0 International
  • Description: This dataset contains a structured timeline of biblical events, including details such as dates, duration, predecessors, participants, locations, and corresponding verses.

OpenBible.info - Bible Cross References

  • Source: https://www.openbible.info/labs/cross-references/
  • License: Creative Commons Attribution 4.0 International
  • Description: This dataset contains approximately 340,000 cross references linking different parts of the Bible based on similar themes, words, events, or people.

I deeply appreciate the efforts of the providers in making these datasets available.

📊 Chart Gallery

Bible Overview

Bible Verses, Bible Chapters, Bible Books

Bible WordCloud

Bible Events

Bible Cross-References