Any way to create a range effect for the progress bar

Any way to create a range effect for the progress bar

Hello,

Im looking to create a progress bar with ranges.

Is there any way to specify, for instance, 10% - 30%, and 50%-75%?

Where the bar would appear segmented.

Thank You