 ########################################################################################################################
 
 $('#home-page').each ->
+	
+	# Render the dependency counts graph
+	d3.json 'dependency-counts.json', (error, data) -> renderDependencyCountsGraph data
 	
 	url = $ '.badge-maker span'
 	badge = $ '.badge-maker img'

				renderDependencyCountsGraph data
		)
	
	searchField.keyup ->
		
		clearTimeout searchTimeoutId
		
		q = searchField.val()
		
		if q.length is 0
			
			renderDependencyCountsGraph(dependencyCounts)
			
		else if q.length > 2
			
			searchTimeoutId = setTimeout(
				-> search q
				1000
			)
	
	if searchField.val()
		renderDependencyCountsGraph {}
		search searchField.val() 
# d3 dependency count graph
###

renderDependencyCountsGraph = null

$('#dependency-counts-graph').each ->
