Simple typical d3 example, Description of the reusable API