{
const svg = d3.create("svg")
.attr("viewBox", [-10, -20, width, height]);
const l = 30;
svg.selectAll("path")
.data(trends)
.join("path")
.attr("d", `M 0 0 L ${l} 0`)
.attr("transform", (d, i) => `translate(0, ${20*i}) rotate(${scale(d[1] / d[0])}, ${l / 2}, 0)`)
.attr("stroke-width", 4)
.attr("stroke", (_, i) => color(i));
return svg.node();
}