changing this.svg to this.container and changing append logic for the chart
mergin