Description Usage Arguments Value
View source: R/singleGeosparkBM.R
Generate a Spatial Sparkline as Simple Feature Geometry (sfg) based on a method by Financial Times Data Visualization Designer John Burn-Murdoch
1 2 3 4 5 6 7 8 9 | singleGeosparkBM(
my_coords,
my_values,
max_value = NULL,
width,
height,
direction = "ne",
n = 7
)
|
my_coords |
Point coordinates |
my_values |
Values associated to point |
max_value |
Maximum value |
width |
Width |
height |
Height |
direction |
Direction of lines, upward (north), downward (south), left (west) or right (east). For instance, "ne" will generate upward right lines. |
n |
Window size (default = 7) |
returns a geometry (sfg)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.