{
const width = 800
const height = 200
const svg = d3.create('svg')
.attr("width",width)
.attr("height",height);
const first = svg.append("g")
const datos = [20,45,67,81,39,100,120,140,58,72,94]
const datos2 = [1900,345,667,81,39,100,120,140,58,72,94]
first
.selectAll("line")
.data(datos)
.enter()
.append("line")
.attr("x1", function(horse,i){return horse*5})
.attr("y1", 100)
.attr("x2", function(horse,i){return horse*5})
.attr("y2", 200)
.style("opacity",.5)
.attr("stroke", function(horse){return d3.rgb(0,255-horse,horse*2)})
.attr("stroke-width", function(horse){return 20})
return svg.node();
}