added in the streamgraph chart - but not sure about the checkMissingValues function in the layout script