Giter Site home page Giter Site logo

cartogramph's People

Contributors

stefsy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

cartogramph's Issues

Disregarding Laguna Lake

Noticed that at several points, the code is checking if the Name is "Laguna Lake". Perhaps we can remove that data point at the beginning?

Input data format

I don't think it's mentioned anywhere what the format/columns are for the CSVs used by the script. Can we add a spec description in the README, and/or a sample file in the repo?

lib folder usage?

If the purpose is to have a library squared away somewhere separate, I highly recommend not including the hardcoded data variables because those are currently broken.

var GEODATA = "/static/data/philippines-topo2.json"; //link to the map json source file
var THEMATIC = "/static/data/philpopulation2015.csv"; //link to population data
var THEMATICCOL = "pop2015"; //thematic variable
var THEMATICLAB = "Population"; //label

rethink "thematic" and "sequential"

"Thematic" is incredibly confusing to me. I can't figure out what a thematic cartogram is, and even after reading the post, I can't remember what it's supposed to be. Can we rename to something more direct and memorable? On the same topic, "sequential" only makes sense if you know what a sequential palette is, which most people don't.

Some suggestions for "thematic":

  1. CustomVariable

Some suggestions for "sequential":

  1. Heatmap
  2. Cloropleth

Create a combined thematic+sequential type

Given that makecartogram() takes in both thematic and sequential data, would it be technically easy to do a 2-in-1 chart where you can have two custom data sources to map in comparison to each other?

Like Schools per province vs. Literacy Rate, should be strongly related but maybe there's a visually large province that's unexpectedly light in color.

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.