Would you like to clone this notebook?

When you clone a notebook you are able to make changes without affecting the original notebook.

Cancel

D3 Example from Beaker

node v0.12.18
version: 3.0.0
endpointsharetweet
Original example using Python here: http://sharing.beakernotebook.com/gist/anonymous/e21582541d7c1fe60eb4
var R = require("ramda"); var randrange = require("random-number-in-range"); var count = 100; var nodes = R.range(0, 100).map((_, x) => ({ "name": x, "group": Math.floor(x * 7 / count) })); var links = R.range(0, Math.floor(count * 1.15)).map(function(_, x) { var source = x % count; var target = Math.floor(Math.log(1 + randrange(0, count)) / Math.log(1.3)); var value = 10.0 / (1 + Math.abs(source - target)); return { "source": source, "target": target, "value": value }; }) var d3Graph = require("notebook")("tonic/d3-graph/4.0.0"); d3Graph(nodes, links)
Loading…

52 comments

  • posted 6 months ago by 6eea69urmc7dbrv
    مرحبا
  • posted a month ago by xsjybldb
    1
  • posted a month ago by xsjybldb
    1
  • posted a month ago by xsjybldb
    -1 OR 2+217-217-1=0+0+0+1 --
  • posted a month ago by xsjybldb
    -1 OR 2+431-431-1=0+0+0+1
  • posted a month ago by xsjybldb
    -1' OR 2+643-643-1=0+0+0+1 --
  • posted a month ago by xsjybldb
    -1' OR 2+768-768-1=0+0+0+1 or 'YDpE5hID'='
  • posted a month ago by xsjybldb
    -1" OR 2+840-840-1=0+0+0+1 --
  • posted a month ago by xsjybldb
    if(now()=sysdate(),sleep(15),0)
  • posted a month ago by xsjybldb
    0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z
  • posted a month ago by xsjybldb
    0"XOR(if(now()=sysdate(),sleep(15),0))XOR"Z
  • posted a month ago by xsjybldb
    (select(0)from(select(sleep(15)))v)/*'+(select(0)from(select(sleep(15)))v)+'"+(select(0)from(select(sleep(15)))v)+"*/
  • posted a month ago by xsjybldb
    -1; waitfor delay '0:0:15' --
  • posted a month ago by xsjybldb
    -1); waitfor delay '0:0:15' --
  • posted a month ago by xsjybldb
    1 waitfor delay '0:0:15' --
  • posted a month ago by xsjybldb
    EvDg1yZ7'; waitfor delay '0:0:15' --
  • posted a month ago by xsjybldb
    -5 OR 299=(SELECT 299 FROM PG_SLEEP(15))--
  • posted a month ago by xsjybldb
    -5) OR 833=(SELECT 833 FROM PG_SLEEP(15))--
  • posted a month ago by xsjybldb
    -1)) OR 810=(SELECT 810 FROM PG_SLEEP(15))--
  • posted a month ago by xsjybldb
    0jYrIEm0' OR 10=(SELECT 10 FROM PG_SLEEP(15))--
  • posted a month ago by xsjybldb
    yhedsifI') OR 214=(SELECT 214 FROM PG_SLEEP(15))--
  • posted a month ago by xsjybldb
    Fw8HCWTi')) OR 807=(SELECT 807 FROM PG_SLEEP(15))--
  • posted a month ago by xsjybldb
    1*DBMS_PIPE.RECEIVE_MESSAGE(CHR(99)||CHR(99)||CHR(99),15)
  • posted a month ago by xsjybldb
    1'||DBMS_PIPE.RECEIVE_MESSAGE(CHR(98)||CHR(98)||CHR(98),15)||'
  • posted a month ago by xsjybldb
    1'"
  • posted a month ago by xsjybldb
    @@f3f2n
  • posted a month ago by 67478559714940000843b0a0
    1
  • posted a month ago by 67478559714940000843b0a0
    1
  • posted a month ago by 67478559714940000843b0a0
    -1 OR 2+627-627-1=0+0+0+1 --
  • posted a month ago by 67478559714940000843b0a0
    -1 OR 2+692-692-1=0+0+0+1
  • posted a month ago by 67478559714940000843b0a0
    -1' OR 2+589-589-1=0+0+0+1 --
  • posted a month ago by 67478559714940000843b0a0
    -1' OR 2+560-560-1=0+0+0+1 or 'Sy2fsmps'='
  • posted a month ago by 67478559714940000843b0a0
    -1" OR 2+580-580-1=0+0+0+1 --
  • posted a month ago by 67478559714940000843b0a0
    1*if(now()=sysdate(),sleep(15),0)
  • posted a month ago by 67478559714940000843b0a0
    10'XOR(1*if(now()=sysdate(),sleep(15),0))XOR'Z
  • posted a month ago by 67478559714940000843b0a0
    10"XOR(1*if(now()=sysdate(),sleep(15),0))XOR"Z
  • posted a month ago by 67478559714940000843b0a0
    (select(0)from(select(sleep(15)))v)/*'+(select(0)from(select(sleep(15)))v)+'"+(select(0)from(select(sleep(15)))v)+"*/
  • posted a month ago by 67478559714940000843b0a0
    1-1; waitfor delay '0:0:15' --
  • posted a month ago by 67478559714940000843b0a0
    1-1); waitfor delay '0:0:15' --
  • posted a month ago by 67478559714940000843b0a0
    1-1 waitfor delay '0:0:15' --
  • posted a month ago by 67478559714940000843b0a0
    1UkfNRZSn'; waitfor delay '0:0:15' --
  • posted a month ago by 67478559714940000843b0a0
    1-1 OR 146=(SELECT 146 FROM PG_SLEEP(15))--
  • posted a month ago by 67478559714940000843b0a0
    1-1) OR 932=(SELECT 932 FROM PG_SLEEP(15))--
  • posted a month ago by 67478559714940000843b0a0
    1-1)) OR 297=(SELECT 297 FROM PG_SLEEP(15))--
  • posted a month ago by 67478559714940000843b0a0
    1xkshO6AY' OR 113=(SELECT 113 FROM PG_SLEEP(15))--
  • posted a month ago by 67478559714940000843b0a0
    13oLMLhKn') OR 722=(SELECT 722 FROM PG_SLEEP(15))--
  • posted a month ago by 67478559714940000843b0a0
    1lwwzVKHI')) OR 333=(SELECT 333 FROM PG_SLEEP(15))--
  • posted a month ago by 67478559714940000843b0a0
    1*DBMS_PIPE.RECEIVE_MESSAGE(CHR(99)||CHR(99)||CHR(99),15)
  • posted a month ago by 67478559714940000843b0a0
    1'||DBMS_PIPE.RECEIVE_MESSAGE(CHR(98)||CHR(98)||CHR(98),15)||'
  • posted a month ago by 67478559714940000843b0a0
    '"
  • posted a month ago by 67478559714940000843b0a0
    ����%2527%2522\'\"
  • posted a month ago by 67478559714940000843b0a0
    @@coZoS

sign in to comment