Click the flag to see the bar generated
This uses a project I made prior: https://scratch.mit.edu/projects/455241815/