Forum How do I...?

D3 and querySelector

alesbukovsky
Hello,

I am attempting to generate a PDF from an URL that renders a chart using D3 javascript library. I am getting a TypeError which I managed to tracked down to the line that calls querySelector() function on a Document object. This fails although there is a release note from 2013 that querySelector and querySelectorAll are both supported.

Any idea? Am I missing something obvious?

Thanks in advance

~A
mikeday
The querySelector methods are supported in the latest alpha version. However, there may be other DOM features needed to support d3.