• Stars
    star
    214
  • Rank 184,010 (Top 4 %)
  • Language
    JavaScript
  • License
    ISC License
  • Created about 8 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Make hexagonally tiled cartograms

Tilegrams

A “tilegram” is a map made of tiles where regions are sized proportionally to a dataset.

You can read more in our blog post or the manual.

Development

Setup

After cloning the repository, run:

npm i

Running

Run

npm start

Then access http://localhost:8080/.

Deploying

To generate deployable assets, run:

npm run build

They will be written to dist/.

Dependencies

JavaScript is written in ES2015 using Babel. Styles are written in SASS. All assets are preprocessed with webpack.

The Maker also depends on a pre-release npm version of topogram (formerly cartogram.js) as seen in this PR.

Data Sources

US Population Data

Electoral Votes Data

GDP Data

France Population Data

Base Map Sources

US states map: Natural Earth Data

Germany constituency map: Bundeswahlleiter.de © Der Bundeswahlleiter, Statistisches Bundesamt, Wiesbaden 2016, Wahlkreiskarte für die Wahl zum 19. Deutschen Bundestag Basis of the geological information © Geobasis-DE / BKG (2016)

License

This software is distributed under the ISC license.