Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
375 views
in Technique[技术] by (71.8m points)

r - d3tree2(treemap, ...] keeps showing duplicate noninteractive treemap

I have the following code:

library(treemap)
library(d3treeR)

# example 1 from ?treemap
data(GNI2014)
d3tree2(
   treemap(
     GNI2014
     ,index=c("continent", "iso3")
     ,vSize="population"
     ,vColor="GNI"
     ,type="value"
   )
   , rootname = "World"
)

It shows, both, the interactive and the noninteractive maps, but I want only one to be shown: Interactive one.

This is what I get: two not needed, but added plots


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...