src/charts/scatter-plot.js
function buildVoronoi() {
            voronoi = d3Voronoi.voronoi()
                .x((d) => xScale(d.x))
                .y((d) => yScale(d.y))
                .extent([
                    [0, 0],
                    [chartWidth, chartHeight]
                ])(dataPoints);
        }
function buildVoronoi() {
            voronoi = d3Voronoi.voronoi()
                .x((d) => xScale(d.x))
                .y((d) => yScale(d.y))
                .extent([
                    [0, 0],
                    [chartWidth, chartHeight]
                ])(dataPoints);
        }
function buildVoronoi ( ) { voronoi = d3Voronoi . voronoi ( ) . x ( ( d ) => xScale ( d . x ) ) . y ( ( d ) => yScale ( d . y ) ) . extent ( [ [ 0 , 0 ] , [ chartWidth , chartHeight ] ] ) ( dataPoints ) ; }
Draws the voronoi component in the chart.
@return {void}
@private
Draws the voronoi component in the chart .