Skip to content

paulirish/tilegrams

 
 

Repository files navigation

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

Population Data

Electoral Votes Data

GDP Data

License

This software is distributed under the ISC license.

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 93.1%
  • CSS 6.2%
  • HTML 0.7%