new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

D3 · all subjects

d3-selection/control-flow

7 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

selection.each method

selection.each calls a function for each element.

selection.call method

selection.call calls a function with this selection.

selection.empty method

selection.empty returns true if this selection is empty.

selection.nodes method

selection.nodes returns an array of all selected elements.

selection.node method

selection.node returns the first non-null element.

selection.size method

selection.size returns the count of elements.

selection Symbol.iterator

selection[Symbol.iterator] iterates over the selection's nodes.

Give your agent this brain