public void UserAvgStarDist() {
		int totalUserCnt = 0;
		Map<Double, Integer> UserAvgStarMap = new TreeMap<Double, Integer>();
		for (User user:userMap.values()) {
			//System.out.println("hello");
			double score = roundScore(user.average_stars);
			totalUserCnt += 1;
			if (!UserAvgStarMap.containsKey(score)) {
				UserAvgStarMap.put(score,0);
			}
			UserAvgStarMap.put(score,UserAvgStarMap.get(score)+1);
		}
		DefaultCategoryDataset dataset = new DefaultCategoryDataset();
		for (Double d:UserAvgStarMap.keySet()) {
			dataset.setValue((double)UserAvgStarMap.get(d)/totalUserCnt,"Percentage",String.valueOf(d));
		}
		JFreeChart chart = ChartFactory.createBarChart("User Average Score Distribution",
				"Avg Score", "Percentage", dataset, PlotOrientation.VERTICAL, false, true, false);
		try {
			ChartUtilities.saveChartAsJPEG(new File("barchart_user.jpg"), chart, 500, 300);
		} catch (IOException e) {
			System.err.println("Problem occurred creating chart.");
		}
	}