U.S. Presidential Interconnections and Exclusions

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

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

This Demonstration is a variant of a related Demonstration,"U.S. Presidential Interconnections", which presented a general method for using Mathematica's built-in function GraphPlot as a basis to illustrate details of categorical interconnections. This variant also shows membership in selected categories, but it portrays a separate plot of U.S. Presidents who are excluded from the selected categories. In this case, each of the forty-three individuals who have to date served as U.S. President are further categorized as having held other elected, commissioned, or appointed offices. By toggling the checkboxes, presidential interconnections—and the set of those who are excluded from them—are shown. By manually changing function Mathematica's GraphPlot Method and PackingMethod options and the setting of AspectRatio, some displays can be optimized. Multiclicking on the plot enables manual repositioning of each vertex.

Contributed by: Daniel G. Martinez (April 2011)
Open content licensed under CC BY-NC-SA



The historical information in the list &straightpi; in the program was obtained from general references, primarily [1].


[1] D. C. Whitney and R. V. Whitney, The American Presidents: Biographies of Our Chief Executives from George Washington to Barack Obama, 11th ed., Direct Brands, Inc., 2009.

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.