Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/PitchInteractiveInc/tilegrams
- Owner: PitchInteractiveInc
- License: isc
- Created: 2016-08-24T17:04:57.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-01-15T15:12:58.000Z (about 2 years ago)
- Last Synced: 2024-08-01T12:34:08.729Z (6 months ago)
- Language: JavaScript
- Homepage: http://pitchinteractiveinc.github.com/tilegrams
- Size: 6.44 MB
- Stars: 214
- Watchers: 11
- Forks: 49
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - PitchInteractiveInc/tilegrams - Make hexagonally tiled cartograms (others)
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.