D3 line charts improvements.