Tech Mahindra interview question

How to draw S shape progress indicator. Just like Microwave knobs on increase or decrease it's value is changing.