How haidarakmalr/web-jetis works
Dusun Jetis is a static village information website. Visitors use its page to view population summaries and charts, village boundaries and location markers, and page navigation effects. Population and map data are fetched from local JSON and GeoJSON files; the map also requests OpenStreetMap tiles. The source excerpts show these data flows and runtime integrations, but not how the HTML loads the scripts, so that connection is left out.
Main entry points: script.js Navigation effects · chart-init.js Population stats and charts · map-init.js Map and markers · index.html Village page
Components 11
Website
- Village page
index.html - Navigation effects
js/script.js
Population
- Population stats and charts
js/chart-init.js - Population data
data/penduduk.json
Village map
- Map and markers
js/map-init.js - Boundary GeoJSON
data/batas-wilayah.geojson
Other components
- Visitor
- AOS library
- Bootstrap Collapse
- Chart.js
- OpenStreetMap tiles
Connections 7
- Visitor → Village page: views
- Navigation effects → AOS library: initializes
js/script.js - Navigation effects → Bootstrap Collapse: collapses menu
js/script.js - Population stats and charts → Population data: fetches
js/chart-init.js - Population stats and charts → Chart.js: renders charts
js/chart-init.js - Map and markers → Boundary GeoJSON: fetches
js/map-init.js - Map and markers → OpenStreetMap tiles: loads tiles
js/map-init.js