We currently require you to provide tidy data to the tree mark, typically with a path column that provides a slash-delimited string representing the location of each row in the tree. It’d be nice if we also allowed D3’s nested {children} object representation, as is used by many D3 examples.
Ideally the tree transform can do this — to turn a hierarchical object into an array of descendants without having to go through stratify and without computing paths.
We currently require you to provide tidy data to the tree mark, typically with a path column that provides a slash-delimited string representing the location of each row in the tree. It’d be nice if we also allowed D3’s nested {children} object representation, as is used by many D3 examples.