working through Scott Murray's tutorials on D3