Chart Of Intertextual Links Per Source - warwickfoster/qurantools GitHub Wiki

File: app/charts/chart_formulae_unique_to_sura.php

Purpose

The provided HTML code snippet describes a web page that displays a chart showing the number of unique formulae used in each sura of the Quran.

Key Features

  • Chart Type Bar chart
  • Data Source Quranic text
  • Filters
    • Formula type
    • Provenance (Meccan, Medinan)
    • Occurrence count (all occurrences, occurrences per 100 words)
    • Sort order (sura number, number of formulae used)
  • Interactive Features
    • Hover tooltips to display formula details
    • Ability to filter data by different criteria
    • Display of provenance information

Technical Details

  • JavaScript Library Chart.js
  • Data Storage JSON file
  • Web Framework HTML, CSS, JavaScript

Usage

The page can be used by scholars, students, and anyone interested in the Quranic text to understand the distribution of formulae across different suras. It can also be used to analyze the linguistic and theological aspects of the Quran.

Additional Notes

  • The miniMode variable determines whether the page is displayed in a smaller size for mobile devices.
  • The provenance information is only displayed if the filter_provenance variable is not set.
  • The print_control.php and footer.php files are included for printing and footer functionality, respectively.

Conclusion

The provided code snippet provides a comprehensive solution for visualizing and analyzing the distribution of Quranic formulae. It is a valuable tool for anyone interested in the Quranic text and its linguistic and theological aspects.