d3tree2(treemap, …] keeps showing duplicate noninteractive treemap

心已入冬 提交于 2021-01-29 09:03:06

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!