Package: D3partitionR 0.5.0

D3partitionR: Interactive Charts of Nested and Hierarchical Data with 'D3.js'

Builds interactive 'd3.js' hierarchical visualisation easily. D3partitionR makes it easy to build and customize sunburst, circle treemap, treemap, partition chart, ...

Authors:Antoine Guillot [aut, cre], Mike Bostock [aut, cph], Susie Lu [aut, cph], Kerry Rodden [aut, cph], Nadieh Bremer [aut, cph], Hub Spot [aut, cph]

D3partitionR_0.5.0.tar.gz
D3partitionR_0.5.0.zip(r-4.5)D3partitionR_0.5.0.zip(r-4.4)D3partitionR_0.5.0.zip(r-4.3)
D3partitionR_0.5.0.tgz(r-4.4-any)D3partitionR_0.5.0.tgz(r-4.3-any)
D3partitionR_0.5.0.tar.gz(r-4.5-noble)D3partitionR_0.5.0.tar.gz(r-4.4-noble)
D3partitionR_0.5.0.tgz(r-4.4-emscripten)D3partitionR_0.5.0.tgz(r-4.3-emscripten)
D3partitionR.pdf |D3partitionR.html
D3partitionR/json (API)

# Install 'D3partitionR' in R:
install.packages('D3partitionR', repos = c('https://antoineguillot2.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/antoineguillot2/d3partitionr/issues

On CRAN:

d3jsd3partitionrdata-visualizationr-shiny

4.60 score 40 stars 8 scripts 269 downloads 24 exports 32 dependencies

Last updated 5 years agofrom:6c9f6bb886. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 15 2024
R-4.5-winNOTEOct 15 2024
R-4.5-linuxNOTEOct 15 2024
R-4.4-winNOTEOct 15 2024
R-4.4-macNOTEOct 15 2024
R-4.3-winNOTEOct 15 2024
R-4.3-macNOTEOct 15 2024

Exports:add_dataadd_nodes_dataadd_titleaggregate_sessions_to_pathcompile_D3_partitionRcompute_unique_leaf_nameD3partitionRD3partitionROutputdf_to_nestfind_min_max_treeget_all_nodes_namesis_present_variablerenderD3partitionRscale_typeset_chart_typeset_continuous_color_scaleset_discrete_color_scaleset_labels_parametersset_legend_parametersset_shiny_inputset_tooltip_parametersset_trailstrip_pathtooltip_builder

Dependencies:base64encbslibcachemclidata.tabledigestevaluatefastmapfontawesomefsfunctionalgluehighrhtmltoolshtmlwidgetsjquerylibjsonliteknitrlifecyclemagrittrmemoisemimeR6rappdirsRColorBrewerrlangrmarkdownsasstinytextitanicxfunyaml

Readme and manuals

Help Manual

Help pageTopics
Append data to a D3partitionR objectadd_data
Add informations (for instance new names, colors, ....) to the nodes of a D3_partitionR objectadd_nodes_data
Add a title to a D3partitionR objectadd_title
Aggregate a data.frame in long format with a column containing steps of each session For instance the function can be used with a frame of the form Unique ID - Step - Value 1 - ... -Value Naggregate_sessions_to_path
Compile D3partitionR object to plot itcompile_D3_partitionR
Return al the leaf namescompute_unique_leaf_name
Creates a D3partitionR objectD3partitionR
Shiny bindings for D3partitionRD3partitionR-shiny D3partitionROutput renderD3partitionR
Transform a dataframe to a nested lists structure (i.e. hierarchical).df_to_nest
Find the maximum values of a given var in a treefind_min_max_tree
Return al the possible nodes namesget_all_nodes_names
Check if a variable is present in a D3partitionR objectis_present_variable
Plot D3partitionR objectplot.D3partitionR
Check if the scale variable is discrete or continuousscale_type
Set the chart_typeset_chart_type
Add a custom discrete color scaleset_continuous_color_scale
Add a custom discrete color scaleset_discrete_color_scale
Set the labels parametersset_labels_parameters
Set the legend parameterset_legend_parameters
Configuration of a D3partitionR object as a Shiny inputset_shiny_input
Set the tooltips parameterset_tooltip_parameters
Enable/disable the trail of stepsset_trail
Strip a dataframe containing a step into separate columnsstrip_path
Build tooltip html functiontooltip_builder