Using rayshader for 3D plots in R

Rayshader comes with a set of native functions to make 3D plots/maps. The function plot_gg() renders in 3D a ggplot object, projecting in third dimension the fill or color aesthetic. Example: population density by census track in the City of Buenos Aires (zoom in!):

plot_gg(graph, multicore = TRUE, width = 2 ,height=1.5, scale=120, fov = 70, zoom=0.355)
Federico Tiberti
Federico Tiberti
Ph.D. in Politics

My interests include comparative political economy, development, statistical methods and data science.

Related