Chart Verse Lengths - warwickfoster/qurantools GitHub Wiki

File: app/charts/chart_formulae_in_common_by_sura.php

Purpose

The provided text describes a web page that displays a chart showing the common formulas between a specific sura and other suras in the Quran. The chart includes options to filter the results by formula length, type, provenance, and sorting order.

Key Features

  • Chart displaying common formulas between suras
  • Filter options for formula length, type, provenance, and sorting
  • Provenance information displayed based on user selection
  • Print control included for non-mini mode

Technical Details

  • HTML, CSS, JavaScript
  • Chart.js library for creating the chart
  • PHP for server-side processing and data retrieval

Functionality

  • Users can select different filter options to view specific formulas and their distribution across suras.
  • The chart updates dynamically based on the selected filter options.
  • The provenance information is displayed based on the user's selection, such as showing formulas from Meccan or Medinan suras.

Additional Notes

  • The mini mode version of the page displays a smaller chart with simplified navigation options.
  • The provenance footer is included when provenance information is not filtered.
  • The print control is only available in non-mini mode.

Conclusion

The web page provides a valuable tool for analyzing and comparing common formulas across different suras in the Quran. It enables users to filter and view the data in a user-friendly manner.