D3
OG
Old school D3 from simpler times
All examples
By author
By category
About
bill-kidwell
Full window
Github gist
JS Bin // source https://jsbin.com/netemij
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width"> <title>JS Bin</title> </head> <body> <script id="jsbin-javascript"> "use strict"; var a = 0; // Impure increment function function increment() { a += 1; } console.log(a); increment(); console.log(a); </script> <script id="jsbin-source-javascript" type="text/javascript">var a = 0; // Impure increment function function increment() { a += 1; } console.log(a); increment(); console.log(a);</script></body> </html>