How mathuramg/indian-history works
This repository is a browser-based Indian history compilation (1600–1947), presented as JSON data and interactive visualizations rather than an API. The main user workflow is browsing historical timeline pages, with separate views for famines, battles, and wars. Data files and image assets support these experiences. The graph covers documented calls and data use; other README capabilities, including treaties, rulers, and the general timeline, are represented only where the tree provides identifiable source paths.
Main entry points: famines/app.js Famine view · divide-rule/app.js Division view · timeline.js Timeline renderer · scrollify.js Section scrolling
Components 14
Historical Data
- Famine records
famines/data/famine.js - Division timelines
divide-rule/data/divideRule.js - History datasets
- Battle records
battles.json
History Views
- Famine view
famines/app.js - Division view
divide-rule/app.js - Timeline renderer
js/timeline.js - Battle map
battles/sketch.js - Wars chart
wars-gantt/app.js
Navigation
- Page navigation
js/nav.js - Keyboard controls
js/keyboard.js - Section scrolling
libraries/scrollify.js
Other components
- History reader
- Map tiles
Connections 17
- History reader → Famine view: opens
README.md - History reader → Division view: opens
README.md - History reader → Battle map: opens
README.md - Famine view → Timeline renderer: creates
famines/app.js - Division view → Timeline renderer: creates
divide-rule/app.js - Famine view → Famine records: selects project
- Division view → Division timelines: selects project
- Timeline renderer → Famine records: reads
- Timeline renderer → Division timelines: reads
- Famine view → Section scrolling: configures
famines/app.js - Division view → Section scrolling: configures
divide-rule/app.js - Famine view → Page navigation: creates
famines/app.js - Page navigation → Section scrolling: moves sections
js/nav.js - Keyboard controls → Section scrolling: advances sections
js/keyboard.js - Battle map → Battle records: loads
battles/sketch.js - Battle map → Map tiles: requests tiles
- History reader → Wars chart: opens