A General Approach to Visualizing Uncertainty in Statistical Graphics