Skip to content

yomlee/risk-polygons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Top 10% Risk Polygons — GitHub Pages

This folder is a ready-to-deploy static site that shows the top 10% risk polygons on an OpenStreetMap basemap using Leaflet.

How to publish on GitHub Pages

  1. Create a new public repository on GitHub (e.g., risk-polygons).
  2. Upload the contents of this folder (keep the folder structure):
    • index.html
    • data/top10pct_polygons.geojson
  3. In the repository: Settings → Pages
    • Source: "Deploy from branch"
    • Branch: main (or master), Folder: / (root)
  4. Wait a moment and open the URL:
    • https://<your-username>.github.io/<repo-name>/

Local preview

You can also run a local server:

python -m http.server 8000
# then open http://localhost:8000/

Notes

  • The GeoJSON is in WGS84 (EPSG:4326), so it aligns with web basemaps.
  • Customize polygon color/opacity or add labels by editing index.html.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages