Home
<!doctype html> <html> <head> <script src="https://d3js.org/d3.v4.min.js"></script> </head> <body> <table> <tr> <td> One </td> <td> Two </td> </tr> <tr> <td> Three </td> <td> Four </td> </tr> </table> <script> d3.select("tr").selectAll("td").style('background-color','yellow'); </script> </body> </html>
Result: