Description Usage Arguments Value
Continuous area cartograms with d3.js
and cartogram-chart
.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
sfobj |
An |
value |
Variable name to use to distort topology. |
label |
|
palette |
Name of a color palette, such as |
rescale_to |
Rescale value to distort topology to a specified range, use |
n_iteration |
Number of iterations to run the algorithm for. Higher numbers distorts the areas closer to their associated value, at the cost of performance. |
projection |
Name of a projection, see available ones here: https://github.com/d3/d3-geo-projection. |
layerId |
A formula, the layer id to specify value returned by |
width |
A numeric input in pixels. |
height |
A numeric input in pixels. |
elementId |
Use an explicit element ID for the widget. |
A topogram()
htmlwidget
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.