tmap
tmap is an R package for thematic mapping and cartography. It provides a unified, high-level framework for creating publication-quality maps from geographic data, with an emphasis on clearly visualizing spatial patterns. The package supports both static maps suitable for reports and presentations, and interactive maps suitable for web pages and dashboards.
tmap operates in two modes: plot mode for static maps and view mode for interactive maps. The
Maps are built using a layered, grammar-like syntax. The data source is declared with tm_shape(data), followed
tmap is designed to work with sf objects and supports data from sp for backward compatibility. It