attr
A custom cell attribute that allows you to specify any custom CSS attribute by name and value.
For example:
attr("text-align", "center")
attr("border", "3px solid green")Content copied to clipboard
For more information: See format on the documentation website.