{
const svg = d3.create('svg')
.attr('width', width)
.attr('height', height);
svg.append('g')
.attr('transform', `translate(0, ${height - margin.bottom})`)
.call(d3.axisBottom(x));
svg.append('g')
.attr('transform', `translate(${margin.left}, 0)`)
.call(d3.axisLeft(y));
const bnbs = svg
.selectAll('circle')
.data(listings_clean)
.join('circle')
.attr('opacity', .75)
.attr('fill', d => color(d.neighborhood))
.attr('cx', d => x(d.calculated_host_listings_count))
.attr('cy', d => y(d.price))
.attr('r', d => 3);
return svg.node();
}