问题
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
来源:https://stackoverflow.com/questions/65606792/d3tree2treemap-keeps-showing-duplicate-noninteractive-treemap