VOOZH about

URL: https://www.geeksforgeeks.org/javascript/d3-js-symbol-size-method/

⇱ D3.js symbol.size() Method - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

D3.js symbol.size() Method

Last Updated : 14 Sep, 2020

The symbol.size() method can be used to change the size of the symbol.

Syntax:

symbol.size([size])

Parameters: This function accepts a single parameter as mentioned above and described below:

  • size: This is the size in square pixels or the area to be set.

Return Value: This method has no return value.

Example 1:

Output:

👁 Image

Example 2:

Output:

👁 Image
Comment
Article Tags:
Article Tags: