D3.js version 5 Scatterplot with Shapes

This code goes through how you can create a scatter plot with D3.js version 5 by updating Mike BostocksĀ version 3 graph.

This includes showing how to have custom shapes with your scatter plot and the version 5 changes.

Example code and full tutorial

The full code is available by viewing the source of the below frame. If you want more detailed instructions there is my blog post I talk through the code step by step.