{
const body = DOM.element('html')
const bodyG = d3.select(body)
bodyG.append('style')
.html(`body { font-family: sans-serif; font-size: 13px; }
h1 { padding: 0; margin: 0; text-align: center; }
h2 { padding: 0; margin: 0; }
div#container { overflow: auto; border: solid black 6px; }
div.bundle { margin: 0.5em; padding: 0.5em; background: lightblue; float: left; }
p.tag { margin: 0.5em; font-weight: bold; }`);
const container = bodyG.append('div')
.attr('id','container');
const bundles = container.selectAll('div.bundle')
.data(d3nest)
.enter()
.append('div')
.classed('bundle', true);
bundles.insert('h2')
.text((d)=> d.key);
const tags = bundles.selectAll('p.tag')
.data((d)=> d.values)
.enter()
.append('p')
.classed('tag', true)
.text((d)=> d.tag);
return body
}