The above is an excellent example of both what d3 is AND how it works.
Seems to be broken on Chrome (Win7 x64). Clicking on any of the Run buttons does nothing.
The “document” here refers to the W3C Document Object Model (DOM): the hierarchy of HTML or SVG elements that comprises a webpage. And “data” refers to arbitrary JavaScript data structures, like an array of numbers or a parsed CSV file. So, D3 is a JavaScript library for transforming the DOM based on data.
"Data" as in "datasets", not "paragraph data" or "JPEG data".