May 2019
Beginner to intermediate
650 pages
14h 50m
English
A radial area function can be created with d3.areaRadial(). The coordinates of each data point are specified by the methods listed in the following table. Radial areas also inherit line methods, such as defined() and curve(), and radial line methods, such as angle():
|
Method |
Description |
|
innerRadius(function) |
This is equivalent to y0() in Cartesian areas, but returns a distance from the origin. |
|
outerRadius(function) |
This is equivalent to y1() in Cartesian areas, but returns a distance from the origin. |
|
startAngle(function) angle(function) |
This is equivalent to x1() in Cartesian areas, but returns an angle in radians. Typically, only the inherited angle() method is used. |
|
endAngle(function) angle(function ... |
Read now
Unlock full access