public void businessScoreDist() {
		double totalScore = 0;
		int totalBusinessCnt = 0;
		Map<Double, Integer> businessScoreMap = new TreeMap<Double, Integer>();
		for (Business business:businessMap.values()) {
			//System.out.println("hello");
			totalBusinessCnt += 1;
			double star = business.stars;
			totalScore += star;
			if (!businessScoreMap.containsKey(star)) {
				businessScoreMap.put(star,0);
			}
			businessScoreMap.put(star,businessScoreMap.get(star)+1);
		}
		DefaultCategoryDataset dataset = new DefaultCategoryDataset();
		for (Double d:businessScoreMap.keySet()) {
			dataset.setValue((double)businessScoreMap.get(d)/totalBusinessCnt,"Percentage",String.valueOf(d));
		}
		JFreeChart chart = ChartFactory.createBarChart("Business Score Distribution",
				"Business Score", "Percentage", dataset, PlotOrientation.VERTICAL, false, true, false);
		try {
			ChartUtilities.saveChartAsJPEG(new File("barchart.jpg"), chart, 500, 300);
		} catch (IOException e) {
			System.err.println("Problem occurred creating chart.");
		}
	}