Help: Error: missing: Dashboard

Hi!

I am trying out to use d3.stratify() on a csv.
where the CSV has 2 columns: Parent, Name

var csvData = d3.csv({CSVURL})
var stratify = d3.stratify().id(d => d.Name).parentId(d => d.Parent)
var hierarchyData = stratify(csvData) // Here is where I got “Error: missing: Dashboard”

Hope that someone can advise me on this.

Thanks!

I managed to solve my problem.

  1. For hierarchyData, there can only be 1 null Parent with a Main Child
  2. Main Child can be the Parent for many Children for illustration.