FYI you don't need to explicitly get a reference to d3. It gets loaded globally by default.