To construct valid probability distributions solely from input data, this paper compares three nonparametric density estimators: (1) histograms, (2) Kernel Density Estimation, and (3) Frequency Polygon Estimation. A pseudocode is implemented, a practical example is illustrated, and the Simphony.NET simulation environment is used to fit the nonparametric frequency polygon to a set of data to recreate it as a posterior distribution via the Metropolis-Hastings algorithm.