HTML5 Canvas Donut Chart  is connected with searchbox