Description Usage Arguments Examples
Create a cartogram in D3
1 2 | d3_cartogram(shape, projection = "Mercator", stroke_col = "#fff",
stroke_width = 0.5, width = NULL, height = NULL)
|
shape |
A |
projection |
D3 projection to use. |
stroke_col |
Color of shape contours. |
stroke_width |
Width of shape contour in pixels. |
width |
Desired width for output widget. |
height |
Desired height for output widget. |
1 | # todo
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.