scale_type | R Documentation |
Type of scale
scale_type(elements)
elements |
values Quantitative scales are treated differently than categorical scales by D3. If elements is numeric and has a length greater than one, it returns "quantitative". If elements is NULL, or not numeric, or has a length of one, it returns "categorical". |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.