svg
        .append('rect')
        .attr('class', 'overlay')
        .attr('width', width)
        .attr('height', height)