Venezuela, Hungary and Turkey have all seen their democracies erode in recent years, based on the Varieties of Democracy ranking that measures freedom of expression, judicial independence, the strength of part systems, press freedom, civil liberties and other measures of a healthy democratic society. The quality of democracy is measured on a scale of 0 (worst) to 1 (best).