circle.radius()

circle.radius([radius])

If radius is specified, sets the circle radius to the specified angle in degrees, and returns this circle generator. The radius may also be specified as a function; this function will be invoked whenever a circle is generated, being passed any arguments passed to the circle generator. If radius is not specified, returns the current radius accessor, which defaults to:

1
2
3
function radius() {
  return 90;
}
doc_D3_Js
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.