{
const container = d3.select(html`<svg>`);
const svg = d3c.chart(
container.append('svg'),
{ width:200, height:70, responsive: true }
);
const grid = d3c.template(
{ rows: 'auto auto auto', columns: 'auto' },
{ ...d3c.measure(svg), padding: [0,0,0,0], row_gap: 8 } );
let aligns = { baseline:'central',align: 'end',justify:'end', anchor:'end'}
d3c.layout(svg, grid, layers => {
const x = d3c.text(layers('x',), { text: 'hello', ...aligns }).style('fill','red')
const y = d3c.text(layers('y'), { text: 'you', ...aligns }).style('fill','red')
const z = d3c.text(layers('z'), { text: 'there', ...aligns }).style('fill','red')
})
return container.node()
}