Adding tick lines and labels to the x and y axis of a D3 chart in React Native

Hello,

Whilst I’m an experienced programmer, I’m new to D3 and I really like it!

I’ve been learning by running through examples and I’ve modified the chart from this tutorial:

I’m looking to add tick lines and labels to the x and y axis. Can anybody please provide some suggestions?

The code for the example is here:

Thanks!

I’ve tried svg.append but I can’t get it to work