A bit late on the reply, but someone else mentioned observable HQ for lots of examples.
I found this YouTube video of someone walking through creating a bar chart helpful - the author explains as he goes:
Beyond that, copying and pasting working examples and trying to adjust them for your purposes works really well. I still don't fully understand the API but it doesn't seem to matter that much to start with - I'm still in the "monkey see, monkey do, monkey iterate" phase.