It gives you some default bins using jenks breaks and a midpoint of 0
1 | default_bins(df, midpoint = 0, round_to = 100, n_breaks = 3)
|
df |
a dataframe with only numeric columns or a vector |
midpoint |
0 by efault but can be changed |
round_to |
round the bins to their ceiling (absolute)by default hundreds (100) |
n_breaks |
Number of breaks to each side of the midpoint by default 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.