function exports(_selection) {
            if (locale) {
                localeFormatter = setDefaultLocale(locale);
            }

            _selection.each(function (_data) {
                chartWidth = width - margin.left - margin.right;
                chartHeight = height - margin.top - margin.bottom;
                data = cleanData(_data);

                prepareData(data);

                buildScales();
                buildLayers();
                buildSVG(this);
                drawGridLines();
                buildAxis(localeFormatter);
                drawAxis();
                drawGroupedBar();

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