clouds = {
const svg = d3.create("svg")
.attr("viewBox", [0, 0, width, height]);
svg.append("rect")
.attr("width", "100%")
.attr("height", "100%")
.attr("fill", "#292929");
const allClouds = svg.selectAll("ellipse").data(cloudData);
allClouds.enter().append("ellipse")
.attr("cx", function(d) {
return (Math.floor(random() * width));
})
.attr("cy", function(d,i) {
return (Math.floor(random() * height));
})
.attr("rx", "150")
.attr("ry", "50")
.attr("class", "cloud")
.style("fill", d => d.color);
return svg.node();
}