I was learning how to created linked force charts for data that had was charted by name (as in Mike Bostocks example here: https://bl.ocks.org/mbostock/4062045) and data that was only mapped by index value. The first is preferable because the links are directly attached to the nodes by their names, rather than by their index values, which could change if the data is changed or remapped.
https://cdnjs.cloudflare.com/ajax/libs/d3/4.12.0/d3.min.js