 	svg = d3.select(@).append('svg')
 		.attr('width', diameter)
 		.attr('height', diameter)
-		.attr('class', 'bubble');
-	
-	# Get the dependency counts
-	d3.json 'dependency-counts.json', (error, data) ->
-		dependencyCounts = data
-		renderDependencyCountsGraph data
+		.attr('class', 'bubble')
 	
 	# Render the graph
 	renderDependencyCountsGraph = (data) ->

# d3 dependency count graph
###

dependencyCounts = {}
renderDependencyCountsGraph = null

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


$('#search-page').each ->
	
	dependencyCounts = {}
	
	searchForm = $ 'form'
	
	searchForm.submit (event) -> event.preventDefault()
	
	searchField = $ 'input', searchForm
	
