Blake-Madden/polyfillR: Partially fill SVG polygons with a color in R

Takes an SVG path and partially fills it with a specified color. This can be useful for infographics, showing how much something is complete or a creative alternative to bar charts. The returned objects are a (character vector) image block that can be embedded into HTML output and the updated SVG text. A set of predefined polygons are also included.

Getting started

Package details

AuthorBlake Madden
MaintainerBlake Madden <seasweptdreams@gmail.com>
LicenseBSD 2-clause License + file LICENSE
Version0.1.0
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("Blake-Madden/polyfillR")
Blake-Madden/polyfillR documentation built on March 3, 2021, 12:29 a.m.