src/charts/bullet.js
function buildSVG(container) {
            if (!svg) {
                svg = d3Selection.select(container)
                    .append('svg')
                      .classed('britechart bullet-chart', true);

                buildContainerGroups();
            }

            svg
                .attr('width', width)
                .attr('height', height);
        }
function buildSVG(container) {
            if (!svg) {
                svg = d3Selection.select(container)
                    .append('svg')
                      .classed('britechart bullet-chart', true);

                buildContainerGroups();
            }

            svg
                .attr('width', width)
                .attr('height', height);
        }
function buildSVG ( container ) { if ( ! svg ) { svg = d3Selection . select ( container ) . append ( 'svg' ) . classed ( 'britechart bullet-chart' , true ) ; buildContainerGroups ( ) ; } svg . attr ( 'width' , width ) . attr ( 'height' , height ) ; }
Builds the SVG element that will contain the chart
@param  {HTMLElement} container DOM element that will work as the container of the graph
@return {void}
@private
Builds the SVG element that will contain the chart