Cross Referencing Formulas In A Selection Of Verses - warwickfoster/qurantools GitHub Wiki
app/charts/chart_nouns.php
File:Purpose
This HTML code snippet displays a chart of noun occurrences based on a specific root. It provides options to filter the data by provenance (Meccan, Medinan, or All Suras), count type (All Occurrences or Occurrences per 100 Words), and sort order.
Key Features
- Chart Title "Noun Occurrences Based On Root: $ARABIC ($ROOT)"
- Data Visualization A bar chart with data points representing noun occurrences for each surah.
- Filter Options
- Provenance: Meccan, Medinan, All Suras
- Count Type: All Occurrences, Occurrences per 100 Words
- Sort Order: Sura Number, Occurrences
- Chart Controls
- Provenance selection dropdown
- Count type selection dropdown
- Sort order selection dropdown
- Additional Features
- Expand/collapse button for full screen view
- Footer with provenance information
Usage
This code can be used to visualize noun occurrences for a specific root. Users can filter the data based on their preferences and explore the distribution of noun occurrences across different suras.
Technical Details
- HTML5
- CSS
- JavaScript
- PHP (for data retrieval and filtering)
Additional Notes
- The
$ROOT
variable is used to retrieve the root value from the query string. - The
$PROV
,$COUNT
, and$SORT
variables are used to store the filter options selected by the user. - The code includes a footer that provides information about the provenance of the data.