Easy Search - warwickfoster/qurantools GitHub Wiki
app/charts/chart_sura_length.php
File:Purpose
The chart visualizes the lengths of surahs in the Quran, categorized by their provenance (Meccan or Median).
Key Features
- Data Visualization Bar chart with different colors representing the provenance of each surah.
- Provenance Control Users can filter the data to display only Meccan, Median, or all surahs.
- Sorting Options Surah number and length can be used to sort the data.
- Print and Download Options Users can print or download the chart in various formats.
Components
- Header Title, navigation, and provenance control.
- Chart Container Where the bar chart is displayed.
- Footer Displayed when no specific provenance is selected.
Usage
The chart can be used to:
- Understand the distribution of surah lengths between Meccan and Median.
- Identify the longest and shortest surahs.
- Compare the lengths of surahs within a specific provenance category.
Target Audience
- Muslim scholars and students
- Individuals interested in Islamic studies
- Anyone seeking to gain insights into the Quran's structure and composition.
Technical Details
- Developed using PHP and JavaScript.
- Data is retrieved from a database.
- Chart is rendered using a JavaScript library.
Additional Notes
- The chart supports a mini mode for reduced size.
- The chart can be customized with different colors and styles.
- The data can be updated with new surah lengths or provenance information.