function exports(_selection) {
            _selection.each(function(_data) {
                dataPoints = cleanData(_data);

                chartWidth = width - margin.left - margin.right;
                chartHeight = height - margin.top - margin.bottom;

                if (locale) {
                    localeFormatter = setDefaultLocale(locale);
                }

                buildScales();
                buildSVG(this);
                buildAxis();
                buildVoronoi();
                drawAxis();
                drawGridLines();
                initHighlightComponents();
                drawDataPoints();
                drawMaskingClip();

                if (hasTrendline) {
                    drawTrendline(calcLinearRegression(dataPoints));
                }

                addMouseEvents();
            });
        }
This function creates the graph using the selection as container
@param  {D3Selection} _selection A d3 selection that represents
                                 the container(s) where the chart(s) will be rendered
@param {ScatterPlotData} _data The data to attach and generate the chart