ML_inputs = Array.from(
d3.flatRollup(
pqDataset.results,
(v) => v.length,
(d) => d.question.showAs,
(d) => d.question.debateSection.showAs,
(d) => d.question.to.showAs
),
([question, heading, department]) => ({ question, heading, department })
).slice()