The d3.symbolSquare property is a symbol type in D3.js. It is asquare-shaped symbol type that can be used.
Syntax:
d3.symbolSquare
Example 1:
Output:
Example 2: