Questions tagged [cartogram]

A cartogram is a map where surfaces are proportional to a given statistical variable.

A cartogram is a map where surfaces are proportional to a given statistical variable.

Useful link

42 questions
0
votes
2 answers

How can I create multiple non-contiguous cartograms with the same underlying scale using cartogram_ncont() in R?

My Goal I would like to visualise the spatial variation in election results on a map. This would answer the question: how did each electoral district vote? In particular, I would like to use non-contiguous cartograms and scale each district's area…
Dendron
  • 3
  • 3
0
votes
1 answer

Congressional District as a Cartogram in R?

Currently, I am using United States Congressional District Shapefiles. I want to make a Cartogram using the steps laid out in the cartogram package. But I cannot seem to make it into the cartogram object using the cartogram_cont function…
Sharif Amlani
  • 1,138
  • 1
  • 11
  • 25
0
votes
1 answer

How to draw a cartogram in r without zip code, longitude and latitude?

I want to make a cartogram with data from my country Suriname. This diagram should show the location on the map together with the number of the schools. The only data I have…
0
votes
0 answers

Getting old api error in gganimate while animating cartogram plot in r

I am new to cartogram, geospatial & gganimate and was recreating animated plot by using code from website: https://www.r-graph-gallery.com/a-smooth-transition-between-chloropleth-and-cartogram.html But at the last step of animating I am now getting…
ViSa
  • 1,563
  • 8
  • 30
0
votes
1 answer

Use "st_transform()" to transform coordinates to another projection - when creating cartogram

I have a shapefile of population estimates of different administrative levels on Nigeria and I want to create a cartogram out of it. I used the cartogram package and tried the following library(cartogram) admin_lvl2_cartogram <-…
z star
  • 684
  • 6
  • 19
0
votes
0 answers

Difficulty in customising cartogram output in R Studio

I am able to produce a cartogram using cartogram::cartogram_cont() But then have difficulty in customising the styling. I have used broom::tidy() and dplyr::left_join() to fortify the cartogram, but I think perhaps the tidy stage has interfered…
M_Merciless
  • 379
  • 6
  • 12
0
votes
1 answer

ggplot Discrete Legend Continuous Data

I'm new to R programming but I'm enjoying the challenge of writing code! I created a GIF by stitching multiple map plots together. Unfortunately, my legend is referencing the particular year of the map being generated and as a result, the GIF shows…
gm007
  • 547
  • 4
  • 11
0
votes
1 answer

D3 cartogram.js contiguous cartogram values not reflected

I'm building a contiguous cartogram of inward refugee numbers, based on this example using cartogram.js for D3. When I just use the refugee number, the map does not move. Base refugee number But when I add an arbitrary number to "r" on line, the it…
Iainure
  • 169
  • 1
  • 12
0
votes
1 answer

How to remove lines in between cartogram Maps in d3.js

I am new to d3.js. Trying to understand the cartogram example give in http://prag.ma/code/d3-cartogram/ . Here they gave example for USA map. I am trying the same for World Map to see how things works. My cartogram map has lines in between. My data…
user4565448
0
votes
1 answer

D3: Messed up coordinates with Cartogram.js

Following the tutorial of Jeff Fletcher (http://www.limn.co.za/2013/10/making-a-cartogram/) I've been trying to build a Cartogram.js map of Europe. I'm able to render the initial map, but when I do the transitions the coordinates get messed up. The…
Jens
  • 121
  • 1
  • 9
0
votes
1 answer

Scaling geographic shapes to a similar size in D3

I'm using D3's world-countries.json file to create a mercator map of world countries, which I'll then bind to some data for a non-contiguous cartogram. Alas, the much larger sizes of Canada, the U.S., Australia, etc. mean that one unit for those…
aendra
  • 5,286
  • 3
  • 38
  • 57
-1
votes
1 answer

How to make `Cartogram` in Flutter

I'm new to Flutter. I want to create a flutter app that show data on the map in the form of cartogram. I just want to render map from geojson file. Is it possible to do that? If it is possible, let me know how to do. Thanks.
Dscyre Scotti
  • 1,307
  • 10
  • 17
1 2
3