ge(0, height, gridSize);

      const grid = svg.append("g").attr("class", "grid");

      grid
        .selectAll("line.vertical")
        .data(xGrid)
        .enter()
        .append("line")
        .attr("class", "vertical")
        .attr("x1", (d) => d)
        .attr("y1", 0)
        .attr("x2", (d) => d)
        .attr("y2", height);

      grid
        .selectAll("line.horizontal")
        .data(yGrid)
        .enter()
        .append("line")
        .attr("class", "horizontal")
        .attr("x1", 0)