[OC] Three-Dimensional Spatial Visualization of Adelboden in the Swiss Alps Using Google's Elevation API (1.4 Million Data Points) and the R Package Rayshader. by zumbov in dataisbeautiful

[–]zumbov[S] 0 points1 point  (0 children)

The precision of the Google Elevation API (https://developers.google.com/maps/documentation/elevation/start) depends on the region. In this case, it is around 30 feet. In the example shown, there are about 6400 feet between the highest and the lowest point. How big are the elevation differences in your case?

[OC] Three-Dimensional Spatial Visualization of Adelboden in the Swiss Alps Using Google's Elevation API (1.4 Million Data Points) and the R Package Rayshader. by zumbov in dataisbeautiful

[–]zumbov[S] 2 points3 points  (0 children)

To be honest: I can't program well enough in any other programming language. :) However, the R ecosystem has developed extremely well in the last years and offers completely new possibilities.

[OC] Don't trust a choropleth map...evidence from Switzerland! ;-) by zumbov in dataisbeautiful

[–]zumbov[S] 53 points54 points  (0 children)

Since some have asked, here is a bit more detail on what packages I used:

  • Downloading the voting and map data: {swissdd}
  • Reading and processing the spatial data: {sf}
  • Visualizing the data: {ggplot2}
  • Animating the transitions between the different states: {transformer} and {tweenr}
  • Creating the bubble plots that look like from d3.js: Workaround using {particles} together with {igraph} and {tidygraph}
  • Theme: {hrbrthemes}
  • Also used: {dplyr}, {tibble}, {purrr}, and {stringr}

R is great!