_/ _/ _/ _/ _/ _/
_/_/ _/ _/_/_/ _/ _/_/ _/_/_/ _/_/_/ _/ _/_/_/ _/_/
_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/_/_/_/
_/ _/_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/
_/ _/ _/_/_/ _/ _/ _/ _/ _/ _/ _/ _/ _/_/_/
Northline is a JavaScript library that creates SVG maps of Canada's provinces and territories from GeoJSON. It's a small modification of the U.S. version, Stateline, by ProPublica. It comes with Landline, also by ProPublica.
Documentation for Landline: http://propublica.github.io/landline Issues or questions about Landline and Stateline: https://github.com/propublica/landline/issues
Northline uses the same basic structure as Stateline with some alterations.
- You can simply swap in your data as a JSON array called
mapData
. Be sure to specify the province or territory. - Tooltips are styled as white-on-black, semi-transparent boxes
Issues or questions about Northline: @stuartathompson
This is the initial commit of a working version. Bugs could exist. Many alterations to come.