htl.html`<svg viewBox="0 0 ${width} ${height}" style="max-width: ${width}px; font: 10px sans-serif;">
<g>
${processed.map(
(d) =>
htl.svg`<circle cx="${
d.started ? x(getEventDate(d.started)) : -10
}" cy="${
d.started ? y(getYTime(d.date, d.started)) : -10
}" r="1" stroke="green" stroke-width="3" fill="red" />`
)}
${processed.map(
(d) =>
htl.svg`<circle cx="${d.ended ? x(getEventDate(d.ended)) : -10}" cy="${
d.ended ? y(getYTime(d.date, d.ended)) : -10
}" r="1" stroke="red" stroke-width="3" fill="red" />`
)}
</g>
${d3
.select(htl.svg`<g transform="translate(0,${height - margin.bottom})">`)
.call(d3.axisBottom(x))
.node()}
${d3
.select(htl.svg`<g transform="translate(${margin.left},0)">`)
.call(d3.axisLeft(y))
.node()}
</svg>`