Draw histograms with a closed line shape, towards #3.

Drawing with closed lines rather than rectangles is somewhat more
flexible, and is certaintly easier from a styling point of view:
we get stepped lines for free with D3's line interpolation.
Add a simple histogram to the examples for easier debugging.