Skip to content

D3v6 nested graph – nested join()?

I want to visualize the “children” insight each node. I guess the D3v6 .join() function can be nested. Unfortunately I can´t find any example. The snippet below contains an outerGraph with 3 nodes and children as attribute. So far those children aren´t used yet. The innerGraph instead visualize th…

Is it possible to define new data types in JavaScript?

MDN says there are nine data types in latest JS spec. I wondering if these are the only nine data types that the spec allows programmers to use. Just to clarify, I think programmer-defined functions/constructors internally using prototypical inheritance are still Objects, so do not qualify as new data types. …