block by fogonwater c6c890355d85c3a7ec7566b111de9a2b

Building a hierarchy from a flat table

Full Screen

A test block to experiment with building hierarchies from flat files. Pretty messy at the moment.

The flatToHierarchy() function transforms a flat and wide table into a hierarchy based on a sequence of field names. Adapted from this Stack Overflow answer.

index.html

data.csv