Country Curves

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram CDF Player or other Wolfram Language products.

Requires a Wolfram Notebook System

Edit on desktop, mobile and cloud with any Wolfram Language product.

The border of a country can be represented by a parametric curve derived from a Fourier series approximation. In this Demonstration, the Fourier series is computed using the border coordinates stored in CountryData. To form an elegant parametric equation representing the curve, the coefficients are rationalized.


Increasing the number of terms of the series or decreasing the tolerance of the rationalization gives a more accurate curve.


Contributed by: Erik Mahieu (February 2013)
Open content licensed under CC BY-NC-SA




Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.