Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/PitchInteractiveInc/tilegrams

Make hexagonally tiled cartograms
https://github.com/PitchInteractiveInc/tilegrams

Last synced: 3 months ago
JSON representation

Make hexagonally tiled cartograms

Awesome Lists containing this project

README

        

# 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](http://pitchinteractive.com/latest/tilegrams-more-human-maps/)
or the [manual](MANUAL.md).

## 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](https://babeljs.io/docs/learn-es2015/)
using [Babel](https://babeljs.io/). Styles are written in
[SASS](http://sass-lang.com/). All assets are preprocessed with
[webpack](https://webpack.github.io/).

The Maker also depends on a pre-release `npm` version of `topogram`
(formerly `cartogram.js`) as seen in
[this PR](https://github.com/shawnbot/topogram/pull/26).

## Data Sources
[US Population Data](http://factfinder.census.gov/faces/tableservices/jsf/pages/productview.xhtml?pid=PEP_2015_PEPANNRES&prodType=table)

[Electoral Votes Data](https://www.archives.gov/federal-register/electoral-college/allocation.html)

[GDP Data](http://www.bea.gov/itable/)

[France Population Data](https://en.wikipedia.org/wiki/Ranked_list_of_French_regions)

## Base Map Sources
US states map:
[Natural Earth Data](http://www.naturalearthdata.com/downloads/)

Germany constituency map:
[Bundeswahlleiter.de](https://www.bundeswahlleiter.de/en/bundestagswahlen/2017/wahlkreiseinteilung/downloads.html)
© 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](https://spdx.org/licenses/ISC.html)
license.