text: export function setupXLabel(svg, width, height, label, xAxis) {
    svg.select('.x.axis')
      .attr('transform', `translate(0,${height})`)
      .call(xAxis);
  
    svg.select('.x.label')
      .attr('text-anchor', 'middle')
      .style('font', '12px sans-serif')
      .attr('transform', `translate(${(width / 2)},${(height + 40)})`)
      .text(label);
  }
  
  export function setupYLabel(svg, height, label, yAxis) {
    svg.select('.y.axis')
      .call(yAxis);
  
    svg.select('.y.label')
      .attr('text-anchor', 'middle')
      .style('font', '12px sans-serif')
      .attr('transform', `translate(-50,${(height / 2)})rotate(-90)`)
      .text(label);
  }
  