I'm trying to make a browser extension to download our data from the Medium stats page.
In the console, I can access the data for each SVG rect in the bar graph, in their __data__ attributes. (I guess they're using D3).
But in a script injected via a Chrome extension, I can read the rest of the DOM fine, but the __data__ attributes are undefined.
(I tried changing the runAt property but that didn't have any effect). 
I've replicated this with a small sample project here.
Do Chrome extension injected scripts not have access to data attached to the DOM?
Is there any workaround?

