Last active
December 22, 2017 08:15
-
-
Save srbdev/38a2d0e6d1865cc59e2b to your computer and use it in GitHub Desktop.
Chrome snippet for loading d3.js
This file contains 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() { | |
var s = document.createElement('script'); | |
s.type = 'text/javascript'; | |
s.async = true; | |
// has to be https to work... | |
s.src = '//cdnjs.cloudflare.com/ajax/libs/d3/3.5.5/d3.min.js'; | |
document.getElementsByTagName('body')[0].appendChild(s); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment