Problem embedding d3 as div

This actually was just an issue with my being completely new to hugo and my custom layout was defined using

{{ define "main" }}
  {{ .Content}}
{{ end }}

instead of just

{{ .Content}}

I must have copy/pasted the layout from somewhere else as I have no theme and am using the victor-hugo boilerplate