src/charts/donut.js
/**
         * Builds the SVG element that will contain the chart
         *
         * @param  {HTMLElement} container DOM element that will work as the container of the graph
         * @private
         */
Builds the SVG element that will contain the chart
@param  {HTMLElement} container DOM element that will work as the container of the graph
@private
Builds the SVG element that will contain the chart @param { HTMLElement } container DOM element that will work as the container of the graph @private
function buildSVG(container) {
            if (!svg) {
                svg = d3Selection.select(container)
                  .append('svg')
                    .classed('britechart donut-chart', true)
                    .data([data]);  
                buildContainerGroups();
            }
            svg
                .transition()
                .ease(ease)
                .attr('width', width + margin.left + margin.right)
                .attr('height', height + margin.top + margin.bottom);
        }
function buildSVG ( container ) { if ( ! svg ) { svg = d3Selection . select ( container ) . append ( 'svg' ) . classed ( 'britechart donut-chart' , true ) . data ( [ data ] ) ; buildContainerGroups ( ) ; } svg . transition ( ) . ease ( ease ) . attr ( 'width' , width + margin . left + margin . right ) . attr ( 'height' , height + margin . top + margin . bottom ) ; }
Builds the SVG element that will contain the chart
 @param  {HTMLElement} container DOM element that will work as the container of the graph
 @private
Builds the SVG element that will contain the chart @param { HTMLElement } container DOM element that will work as the container of the graph @private
//TO REVIEW