   graphHeight = 180
   # padding used underneath the bars to make space
   # for the names of the countries
-  yPadding = 12
-  xPadding = 12
+  yPadding = 20
+  xPadding = 20
   # placeholder for the data
   data = []
+  
+  #place holder for x and y maxes
+  xMax = 0
+  yMax = 0
 
   # using an ordinal scale for X as our
   # data is categorical (the names of countries)
   # xScale = d3.scale.ordinal()
   #   .rangeRoundBands([0, graphWidth], 0.1)
 
-  xScale = d3.scale.linear().range([0, graphWidth - xPadding])
+  
 
   # names will also be used to color the bars
   #colorScale = d3.scale.ordinal()
   #  .range(["#ff7f0e", "#1f77b4", "#2ca02c", "#d62728", "#8c564b", "#9467bd"])
 
   # yPadding is removed to make room for country names
-  yScale = d3.scale.linear().range([0, graphHeight - yPadding])
+  
 
   # This is the amount by which we will enlarge the small chart 
   # when displaying it in detail display

      .attr("text-anchor", "middle")
      .attr("x", graphWidth / 2)
      .attr("dy", "1.3em")

  # This creates the additional text displayed for
  # the detail view.

    selection.each (rawData) ->
      # store our data and set the scale domains
      data = rawData
      #setScales()
      #createLegend()

      # bind data to svg elements so there will be a svg for
