Draw geom_triangle legend based on its height (z)
1 2 3 4 5 6 7 8 9 10 | draw_geom_triangles_height_legend(
width = 1,
width_scale = 0.1,
height_scale = 0.1,
z_values = 1:3,
n.breaks = 3,
labels = c("low", "medium", "high"),
color = "black",
fill = "black"
)
|
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.