Mutiny.widgets.graph = {
  defaults: { width: 900, height: 500 },
  init: function(instigator, options){
    d3.json(options.url, function(error, data) {
      if (error) return console.warn(error);

      var svg = dimple.newSvg(instigator, options.width, options.height)
      var chart = new dimple.chart(svg, data)
      chart.setBounds(-1, 0, options.width + 1, options.height)
      chart.addCategoryAxis('x', options.xAxis)
      chart.addMeasureAxis('y', options.yAxis)
      chart.addSeries(options.series, dimple.plot.line)
      chart.draw()
    })
  }
}

@@ -22,49 +22,8 @@
 = %7B%0A
-  defaults: %7B width: 900, height: 500 %7D,%0A
   in
@@ -152,16 +152,135 @@
 rror);%0A%0A
+      var width = options.width %7C%7C instigator.offsetWidth%0A      var height = options.height %7C%7C instigator.offsetHeight%0A
       va
@@ -317,31 +317,15 @@
 or, 
-options.width, options.
+width, 
 heig
@@ -403,24 +403,16 @@
 (-1, 0, 
-options.
 width + 
@@ -414,24 +414,16 @@
 th + 1, 
-options.
 height)%0A

Clean up graphing