sunburstR | R htmlwidget for interactive sunburst plots | Data Visualization library
kandi X-RAY | sunburstR Summary
kandi X-RAY | sunburstR Summary
Easily make these interactive d3.js sequence sunburst charts in R modeled on this example from Kerry Rodden. For more details, see this post Week 26 | sunburstR from the BuildingWidgets blog.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of sunburstR
sunburstR Key Features
sunburstR Examples and Code Snippets
Community Discussions
Trending Discussions on sunburstR
QUESTION
I am looking to add a click event to a shiny app that has 2 sund2b plots on the page. I would like the text output to just be in reference to whichever plot they clicked last, however it only seems to react to the first plot and not the second. The output is great for the one but I would like it to work for both. This is a simplified example of what I have:
...ANSWER
Answered 2021-Feb-04 at 21:39The name of the click event input depends on the output name (input$sunburst2_click
for output$sunburst2
).
Please check the following:
QUESTION
I've just installed ggsunburst package so that I can display labels and percentages in my sunburst figures (sunburstR
can't do that).
But the very first example command for ggsunburst gives an error. Could anyone help me, please?
First, sunburst_data(nw)
prompted me with:
No non-system installation of Python could be found. Would you like to download and install Miniconda?
So I installed it and the command resulted in:
nw <- "(((a, b, c), (d, e, f, g)), (f, i, h));" sb <- sunburst_data(nw) Error in py_run_file_impl(file, local, convert) : SyntaxError: invalid syntax (, line 31)
It looks like python error, but I am R user. Anyway, I have Python 2.7.16 installed, the downloaded Miniconda has python 3.x build. Before getting ggsunburst I reinstalled R 4.0.0, RTools, I updated reticulate, ggplot2 packages and RStudio. I use Windows 10.
...ANSWER
Answered 2020-May-28 at 06:56Brother helped me eventually :) missing numpy seems to be the issue. This worked:
- Remove all the miniconda files (I had them in User/ntb/AppData/r-miniconda)
- Install numpy
- Restart R
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install sunburstR
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page