May 2019
Beginner to intermediate
650 pages
14h 50m
English
The d3.geoCircle() function draws a circle on the surface of a sphere, using the coordinates of its center and radius. It can be used to draw hemispheres and spherical caps. The shape only appears as a circle on the surface of the sphere, but may be distorted into an elliptical form, lines or curves, depending on the projection used. The following table describes this function and its configuration methods.
|
Function and methods |
Description |
|
d3.geoCircle() |
Creates a circle generator function that returns a GeoJSON Polygon approximating a circle on the surface of a sphere. |
|
.center(coords) |
Coordinates of the center of the circle on the surface of the sphere. |
|
.radius(radius) |
The radius of the circle, specified ... |
Read now
Unlock full access