Code Monkey home page Code Monkey logo

cedmap's Introduction

cedmap

This is a very simple "hack" made for Parents for Future Sweden to visualize which municipalities in Sweden:

  • Has declared climate emergency
  • Has an ongoing discussion about declaring climate emergency
  • Has none of the above

The map uses Leaflet JS together with GeoJSON from Kodapan to display Sweden and it's municipalities. The GeoJSON data includes contact details and population for each municipality.

The map also fetches a curated Google sheet that holds information about each municipals Climate Emergency Declaration status and any link to ongoing discussions where citizens can sign petitions etc.

This "application" relies on a few external scripts and data files to function:

Appart from these dependencies this is a very basic implementation, quick & dirty if you will. There is a lot of room for improvements and I welcome any climate/code activist to fork it and change it to suit the needs in your country.

The Google sheet holding the Climate Emergency Declaration status of Swedish municipalities is curated by crowd sourcing, i.e. we who are active in Parents For Future Sweden all search and investigate each municipality from time to time to update the sheet with new information.

User Experience The cedmap has the ability to show the map with a default color. Each municipality is shown either in the map default color, if we have no information on Climate Emergency Declaraion status, or in yellow if status is "ongoing process" or in green if the municipality in fact has declared Climate Emergency or red if the municipality acively has decided against CED.

This "application" is released under the most generous Creative Commons licence.

Attribution 4.0 International (CC BY 4.0)

cedmap's People

Contributors

bjarman 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.