Returns the value used for the diameter of the earth in the calculations
1  |   earthDiameter(units = "km")
 | 
units | 
 a string with the distance units (default kilometers)  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.