Click the flag and adjust the sliders to change the slope and y-intercept. Click at the gear icon to change the appearance of the line.
The gear is from svgrepo.com. The backdrop is from the scratch library. The code is all made by me