lib/repsheet_visualizer/application/public/javascripts/application.js in repsheet_visualizer-0.2.0 vs lib/repsheet_visualizer/application/public/javascripts/application.js in repsheet_visualizer-0.2.1
- old
+ new
@@ -7,12 +7,12 @@
var a = (d.startAngle + d.endAngle) * 90 / Math.PI - 90;
return a > 90 ? a - 180 : a;
}
function pie(dataSet) {
- var canvasWidth = 500,
- canvasHeight = 500,
- outerRadius = 150,
+ var canvasWidth = 700,
+ canvasHeight = 700,
+ outerRadius = 250,
color = d3.scale.category20();
var vis = d3.select("#total").append("svg:svg")
.data([dataSet]).attr("width", canvasWidth)
.attr("height", canvasHeight)