focusView = {
const svg = d3.select( chart )
svg.append('defs')
.append('clipPath')
.attr('id', 'clip')
.append('rect')
.attr('width', width - margin.left - margin.right)
.attr('height', height1)
const focus = svg.append('g')
.attr('class', 'focus')
.attr('transform', `translate(${ margin.left },${ margin.top })`)
focus.append('path')
.datum( data )
.attr('class', 'area')
.attr('clip-path', 'url(#clip)')
.style('fill', '#cf5454')
.style('stroke', '#cf5454')
.style('stroke-width', 3)
.attr('d', area)
focus.append('g')
.attr('class', 'x-axis')
.attr('transform', `translate(0,${ height1 })`)
.call( xAxis )
.select('.domain')
.remove()
focus.append('g')
.attr('class', 'y-axis')
.call( yAxis )
.select('.domain')
.remove()
return focus.node()
}