Code Monkey home page Code Monkey logo

bc-flags's Introduction

Map of Flags of Municipalities of British Columbia

CBC Vancouver's Justin McElroy / @j_mcelroy ranked every single municipal flag in British Columbia in this epic Twitter thread.

Thread reader version here: https://threadreaderapp.com/thread/1066885174112047104.html

I turned it into a zoomable slippy map, and converted the rankings into emoji. Why? Because that's just what how you make maps in 2018.

image of map

mapmoji table:

1 2 3 4 5 6 7 7.8
๐Ÿ˜ฑ ๐Ÿ˜ณ ๐Ÿ˜ฌ ๐Ÿค” ๐Ÿ™‚ ๐Ÿ˜ƒ ๐Ÿ˜ ๐Ÿ˜Ž

#Apologies:

  • The map works on mobile, just tap on the emoji, but is more fun on a bigger screen with hover.
  • the popups are a little wonky if the icon is at the very top of the screen - sorry, the popup doesn't know how big the image will be and I am am bad at CSS. SOLUTION: scroll down and then over or click.
  • Sorry if your OS doesn't have all these emoji, this map cutting-edge. try this version of the map with a light background if you're on Windows 7 https://burritojustice.github.io/bc-flags/light.html

How did I make this map?

  • a great deal of regexing and strategic deleting turned the html of Justin's thread into a CSV
  • I geocoded the CSV using the batch geocoder from geocode.earth / Pelias.
  • I uploaded the CSV to HERE XYZ using XYZ Studio.
  • I used the table editor in XYZ Studio to fix a bunch of notes and data I regexed a little too hard
  • I used XYZ Studio's map edit feature to nudge some of the points to better locations (because centroids of large municipalities are often not quite where the towns are).
  • I made the map in Tangram Play, pulling the points in from the HERE XYZ API and using conditional formatting to convert scores to emoji. I displayed the map with tangram.js top of a Refill basemap from Nextzen.

Notes:

@j_mcelroy I mean come on top 30 at least look at the jaunty blue stripe https://t.co/N1FOuaLgco pic.twitter.com/px5HNGd4Yo

oak bay flag

bc-flags's People

Contributors

burritojustice avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.