This commit resolves #17 . D4 no longer hardcodes the svg with an id of #chart.