Build Status

This R package wraps d3-cartogram in a reusable Shiny component. The concept and R Shiny binding implementation borrows heavily from leaflet-shiny.

You can install the latest development version from github with


cartogram.js is a JavaScript implementation of an algoritm to construct continuous area cartograms, by James A. Dougenik, Nicholas R. Chrisman and Duane R. Niemeyer, ©1985 by the Association of American Geographers.

This example replicates the original demo that Shawn Allen made for his 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.

saurfang/shinyCartogram documentation built on May 29, 2019, 3:20 p.m.