maliny12 / sugarglider

Sugarglider creates glyph maps to visualise spatio-temporal data with customisable ribbon and segment geometries.
https://maliny12.github.io/sugarglider/
Other
8 stars 0 forks source link
data-visualization r

sugarglider

R-CMD-check

Overview

sugarglider provides ggplot2 extensions to create glyph maps that visualize seasonal aspects of spatio-temporal data with geom_glyph_ribbon() and geom_glyph_segment().

These functions create a ribbon or segment geometry designed to display glyphs based on the combination of x_major and y_major. For each x_minor value, geom_glyph_ribbon() displays a y interval defined by ymin_minor and ymax_minor. Meanwhile, geom_glyph_segment() draws a straight line between y_minor and yend_minor with respect to x_minor.

Installation

# Download the development version from GitHub:
devtools::install_github("maliny12/sugarglider")

Usage

See the examples page to learn more about how to use sugarglider in your project.

Generate glyph-maps with leaflet. Generate interactive glyphs with ggiraph Add ribbon legend to the glyph map. Color by year

R Journal

The source code for the R journal article is available on GitHub at link.