Use the chart_selector variable when looking for the element where the week chart
will be rendered (instead of the hardcoded "svg")