Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Absolute cartogram sizing #4

Open
2 of 3 tasks
Tracked by #1
addu390 opened this issue Jun 21, 2022 · 0 comments
Open
2 of 3 tasks
Tracked by #1

Absolute cartogram sizing #4

addu390 opened this issue Jun 21, 2022 · 0 comments

Comments

@addu390
Copy link
Contributor

addu390 commented Jun 21, 2022

To accomplish plotting a cartogram with fixed cell-size:

  • Calculate the cell size for the given year and cell radius. The year here translates to the population count - the total population/ number of cells.
  • However, in a contiguous cartogram, the tesselation of the plane is done only after plotting the cartogram (displacing boundary co-ordinate chain). Hence, the basic idea is to calculate an additional reduction factor to further scale up or down the cartogram until the given cell size is met.

Some of the known disadvantages are:

  • Cell size (population count per cell, example: 1 cell = 2 million people) can only range within a small threshold, as scaling up or down beyond a point is likely, not possible, or not visually pleasing.
  • Accuracy of the cell size beyond one decimal place can be challenging, given the approach to backpropagate from the reduction factor.

Todo:

  • Heuristic-based Fixed mode in the UI
  • Back-propgatation method to increase the precision of cell-size
  • SVG viewbox manual zoom
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant