{
var svg = d3.select(DOM.svg(width, height));
var z = d3.interpolateCool;
var area = d3.area()
.x(d => x(d.data.date))
.y0(d => y(d[0]))
.y1(d => y(d[1]))
.curve(d3.curveMonotoneX);
svg.selectAll("path")
.data(stacked)
.enter().append("path")
.attr("d", area)
.attr("fill", (d, i) => {
return colors(data.idMap[i + 1].artist);
})
.attr("stroke", '#000')
.attr('title', (d, i) => data.idMap[i + 1].artist);
svg.append('g')
.attr('transform', `translate(0, ${height - margin.bottom + 10})`)
.call(xAxis);
return svg.node();
}