Skip to content

r-tmap/tmap.highcharter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tmap.highcharter

A new mode! tmap contains two modes: "plot" (static plots) and "view" (interactive leaflet maps). With this package a new mode called "hc" is introduced. It uses the R package highcharter, a wrapper around JS library Highcharts.

Installation

# install.packages("remotes")
install_github("r-tmap/tmap")
install_github("r-tmap/tmap.highcharter")

Example

library(tmap)
library(tmap.highcharter)

tmap_mode("hc")
tm_shape(World) +
  tm_polygons("HPI", fill.scale = tm_scale_intervals(values = "brewer.rd_yl_gn")) 
	

About

tmap extension: new mode using high charter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages