The code draws only the wedge ... circle drawn here for perspective only.
// Usage
var wedge={
cx:150, cy:150,
radius:100,
startAngle:0,
endAngle:Math.PI*.65
}
drawWedge(wedge,'skyblue','gray',4);
function drawWedge(w,fill,stroke,strokewidth){
ctx.beginPath();
...