Today we're going to go through some different patterns for selecting and manipulating views in d3. Some will be review. My goal is to get everyone on the same page technically so that we can start discussing interactions and doing some more advanced things in the following weeks.
D3.js version 6 came out about 3 weeks ago. It looks pretty bug-free, so we'll be updating to it. See new import on this file. There is a migration guide to highlight the changes.
We'll make use of JS destructuring in our function calls today, since it's so handy. See the reference doc.