https://github.com/saurfang/shinycartogram
d3-cartogram Binding for Shiny
https://github.com/saurfang/shinycartogram
Last synced: 2 months ago
JSON representation
d3-cartogram Binding for Shiny
- Host: GitHub
- URL: https://github.com/saurfang/shinycartogram
- Owner: saurfang
- License: mit
- Created: 2014-10-14T01:48:18.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-05-02T06:44:26.000Z (about 8 years ago)
- Last Synced: 2025-02-12T11:13:54.628Z (4 months ago)
- Language: JavaScript
- Homepage: https://saurfang.shinyapps.io/shinyCartogram/
- Size: 232 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
shinyCartogram
==============
[](https://travis-ci.org/saurfang/shinyCartogram)This R package wraps [d3-cartogram](https://github.com/shawnbot/d3-cartogram) in
a reusable [Shiny](http://rstudio.com/shiny) component.
The concept and R Shiny binding implementation borrows heavily from
[leaflet-shiny](https://github.com/jcheng5/leaflet-shiny).You can install the latest development version from github with
```R
#install.packages("devtools")
devtools::install_github("saurfang/shinyCartogram")
```[cartogram.js](https://github.com/shawnbot/d3-cartogram/blob/master/cartogram.js) is a JavaScript
implementation of [an algoritm to construct continuous area cartograms](http://lambert.nico.free.fr/tp/biblio/Dougeniketal1985.pdf),
by James A. Dougenik, Nicholas R. Chrisman and Duane R. Niemeyer, ©1985
by the Association of American Geographers.This [example](https://saurfang.shinyapps.io/shinyCartogram/) replicates the original demo that
[Shawn Allen](http://stamen.com/studio/shawn) made for his [d3-cartogram](https://github.com/shawnbot/d3-cartogram).
This R package has made it possible for you to only focus on providing the dataset and column definitions
rather than writing boilerplate codes that creates the map and associated visual updates.