centers_details_list = {
let headings = centers_tbl
.groupby(["School"])
.rollup({ centers: (x) => aq.op.array_agg_distinct(x.centerName) })
.objects()
.map((o) => {
let centers_items = o.centers.map((x) => html`<li>${x}`);
let centers_list = html`<ul>${centers_items}`;
return html`<details><summary>${o.School} (${o.centers.length})</summary>${centers_list}`;
});
return html`<h2>Academic Centers, Programs, and Initiatives</h2>
<p>List is taken directly from school websites (TODO: list, more notes).
</p>
${headings}`;
}