Skip to content

Leaflet thematic polygon map, with hover info, tabs to display time periods, and data drawn from GeoJSON file

License

Notifications You must be signed in to change notification settings

HandsOnDataViz/leaflet-map-polygon-tabs

Repository files navigation

leaflet-map-polygon-tabs

Leaflet thematic polygon map, with hover info, tabs to display time periods, and data drawn from GeoJSON file.

Lefalet Map Polygon Tabs Demo

Demo

https://handsondataviz.github.io/leaflet-map-polygon-tabs

Credits

Pros

  • Hover over polygon to view info; or tap polygon in mobile devices
  • Click tabs or keyboard arrow keys to flip through data series (such as decades or categories)
  • Easily create and upload data by joining a CSV table to a GeoJSON map boundary in MapShaper.org

Cons

  • Automated legend displays only numerical ranges, not text values
  • This version displays only one GeoJSON map boundary

Create your own

About

Leaflet thematic polygon map, with hover info, tabs to display time periods, and data drawn from GeoJSON file

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published