Where you create the path and assign it an id you can set a class based on the id
d3.selectAll('path').classed('lime', d => d.id.indexOf('06-G4-708') >=0);
solved D3.js Wildcard selection on SVG Path [closed]
Where you create the path and assign it an id you can set a class based on the id
d3.selectAll('path').classed('lime', d => d.id.indexOf('06-G4-708') >=0);
solved D3.js Wildcard selection on SVG Path [closed]