Design Challenge 2 - Social Network Among Students

Edit this code, then press Shift-Return (or click the ▶) to run it! Press Option-Return (or click the +) to insert a new cell.

Object {event: null, format: f(t) = ƒ f(t), formatPrefix: formatPrefix(t, n) = ƒ formatPrefix(t, n), timeFormat: format(t) = ƒ format(t), timeParse: parse(t) = ƒ parse(t), utcFormat: utcFormat(t) = ƒ utcFormat(t), utcParse: utcParse(t) = ƒ utcParse(t), version: "5.7.0", bisect: right(n, e, r, i) = ƒ right(n, e, r, i), bisectRight: right(n, e, r, i) = ƒ right(n, e, r, i), bisectLeft: left(n, e, r, i) = ƒ left(n, e, r, i), ascending: n(t, n) = ƒ n(t, n), bisector: e(t) = ƒ e(t), cross: (t, n, e) = ƒ (t, n, e), descending: (t, n) = ƒ (t, n), deviation: c(t, n) = ƒ c(t, n), extent: s(t, n) = ƒ s(t, n), histogram: () = ƒ (), thresholdFreedmanDiaconis: (t, e, r) = ƒ (t, e, r), thresholdScott: (t, n, e) = ƒ (t, n, e), …}
(simulation) = ƒ (simulation)
(d) = ƒ (d)
600
Object {nodes: Array(77), links: Array(254)}
Object {links: Array(141), nodes: Array(35)}
forceSimulation(nodes, links) = ƒ forceSimulation(nodes, links)
10011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035