Add and modify small charts on an interactive map created with package 'leaflet'. These charts can be used to represent at same time multiple variables on a single map.
For a few years now, it has become easy to create interactive maps with R thanks to the package
leaflet by the Rstudio team. Nevertheless, it only provides only a few functions to create basic shapes on a map, so the information that can be represented on a single map is limited: if you have some data associated to some points, you can only represent at most two variables by drawing circles and changing their radius and color according to data.
leaflet.minicharts is an R package that provides two functions to add and update small charts on an interactive maps created with the package
leaflet. These charts can be used to represent as many variables as desired associated to geographical points. Currently, three types of chart are supported: barcharts (the default), pie charts and polar area charts.
Here are screenshots of sample outputs:
You can also find a live example here.
You can install the package from CRAN:
To see how simple it is to use this package, have a look at the package vignette.
Contributions to the library are welcome and can be submitted in the form of pull requests to this repository.
grunt. First modify files in the
Copyright 2015-2016 RTE (France)
This Source Code is subject to the terms of the GNU General Public License, version 2 or any higher version. If a copy of the GPL-v2 was not distributed with this file, You can obtain one at https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html.
Changes in version 0.5.2 (2017-12-06)
Changes in version 0.5.1 (2017-08-17)
Changes in version 0.5.0 (2017-07-10)
Changes in version 0.4.0 (2017-06-19)
Changes in version 0.3.1 (2017-05-30)
Changes in version 0.3 (2017-05-19)
Changes in version 0.2 (2017-05-05)