Custom visualization fails to navigate to URL using LookerChartUtils.openUrl(..)?

We are attempting to use a custom visualization that allows a user to navigate to a different dashboard with specific filters included in the URL. Using LookerChartUtils openUrl() the custom vis appears to work within an explore view but adding the custom viz LookML to a dashboard it doesn’t.

Are there specific attributes required to enable a custom vis element to navigate to a new URL?

This is an example of the logic embedded within the custom visualization

      .on("click", function (d) {
        LookerCharts.Utils.openUrl(
          "https://www.google.com/",
          d.event
        );
      })