Visualising data distributions with kernel density estimation and reduced chi-squared statistic