-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add interactive version #17
Comments
Great! +1 to roll it into treemap. |
Brilliant! You're very welcome to add it to the
Again, thanks for bringing our R packages to life! If you need more ideas for the upcoming weeks: PS: the
|
Very odd that it did not work for you. I know What happens when you click the button in RStudio to show in the browser? Does it also show an empty screen? If possible, could you do I have struggled with how to handle the layout of the rectangles. It illustrates the plus/minus of the different techniques for interactivity as we have discussed in Legends are critical. I think instead of making a new |
Do you see any errors in the JavaScript debugger? |
20:18:20.513 TypeError: d.parent is undefined1 d3tree.js:184:16 |
Darn, not sure what is happening? Looks like we match on all our package versions. Are you using the following example? library(d3treeR)
library(treemap)
data(GNI2010)
d3tree(
treemap(
GNI2010,
index=c("continent", "iso3"),
vSize="population",
vColor="GNI",
type="value"
)
,rootname = "World"
) Does the non- library(d3tree)
d3tree(
"http://bl.ocks.org/mbostock/raw/4063269/flare.json"
,id = "name"
) Would you mind |
Still no succes, but the non-
|
Ok, I think I see now. Looks like |
@mtennekes will you reinstall, and see if it is working again? Sorry for this. Thanks so much for working through it with me. |
Yes, it's working! Nice job! |
I started working on an interactive version with the idea that it works seamlessly with the return treemap
list
. It is minimal and sparse now, but I would love your input. Happy to eventually roll it intotreemap
if you would like. All the code is https://github.com/timelyportfolio/d3treeR.Thanks for such a great package.
The text was updated successfully, but these errors were encountered: