Robuta

https://d3-graph-gallery.com/graph/connectedscatter_select.html Connected scatter plot with dropdown to select group in d3.js Create a connected scatter plot with a dropdown button to select data series. D3.js code and explanation provided. Example with code (d3.js v4 and v6). connected scatter plotselect groupdropdown