Bigger margin
Darker stroke color for axis
Fixed wrong name for resistance
Added lots of comments