It would be nice to mention the D3 version targeted in the very first paragraph.
This tutorial, along with the hundreds of other examples we maintain on Observable, are kept up-to-date with all D3 releases.
Official docs and examples with an objective of simple visualization you want to build. You can get through simple timeseries and bar charts with it in 4h. Worked for me, N=1