Change selector for element, using d3 exclusively and introducing log warning in case template is missing.