Created
September 9, 2014 18:44
-
-
Save fasiha/4497c5e99b9a1699f4eb to your computer and use it in GitHub Desktop.
D3 function to just grab something from the web and into the workspace via XHR
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function getOnline(url) { | |
d3.xhr(url, 'text/plain', | |
function(err, req) { _response = req.responseText; }); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment