https://thewallacehouseblog.blogspot.com/2024/06/using-adjacent-data-values-in-d3.html
Using Adjacent Data Values In D3