d3_sunburst.Rd
Sunburst Chart
d3_sunburst(
data,
aggregator = "sum",
index_columns = NULL,
include_nesting = F,
plot_title = NULL,
subtitle = NULL,
size = NULL,
size_filter = NULL,
show_labels = T,
exclude_filtered_words = F,
exclude_filters = c("UNNAMED", "OTHER", "UNKNOWN"),
algorithm = "pivotSize",
color = NULL,
color_type = "continuous",
color_palette = NULL,
use_base_color_group = T,
override_colors = F,
color_direction = 1,
type = "index",
font_size = 8,
file_path = NULL,
draw = F,
use_breadcrumb = T,
bread_tooltip = NULL,
bread_at = NULL,
bread_follow_mouse = T,
bread_my = NULL,
bread_html = JS("function(nodedata, size, percent) { return '<span style=\"font-weight: bold; font-family: serif; word-break: break-word; font-size: 8px\">' + nodedata.name + '</span>' + ' $' + (size/1000000).toFixed(3) + ' M'}"),
orient = "left",
widget_name = "my-sunburst",
use_extra_css = T,
extra_css = NULL,
value_css = glue("font-size: {font_size}px; max-width: 100px;") %>% as.character(),
percent_css = "margin-left: 12px;",
frame_css = "\n overflow: hidden;\n ",
content_css = "\n text-overflow: ellipsis;\n font-size: 7x;\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;\n font-kerning: auto;\n kerning: auto;\n ",
label_css = "\n font-size: 7px;\n text-overflow: ellipsis;\n ",
chart_advanced_css = "\n width: 100%;\n height: 100%;\n align-content: center;\n\n ",
frame_widget = F,
frame_width = "100%",
frame_height = NULL,
frame_element = NULL,
frame_options = frameOptions(allowfullscreen = T),
width = 800,
height = 600,
...
)
inst/examples/d3_sunburst.r