Now uses D3 scale, albeit badly.