{
const width = 900
const height = 400
const svg = d3.create('svg')
.attr("width",width)
.attr("height",height);
const group = svg.append("g")
group
.selectAll("circle")
.data(data)
.enter()
.append("circle")
.attr("cx", d => d.animal * 80 - 100)
.attr("cy", 200)
.attr("r", d => Math.log(d.value) * 3)
.style("opacity", 1)
.attr("fill", function(d,i){
return d3.rgb(10,225-i*20,255-i*20);
})
return svg.node();
}