This is forked from 'Responding to Resize' (https://vizhub.com/curran/dd44f8fcdc8346ff90bddd63572bf638). The X has been replaced with a diamond. Also added horizontal and vertical margins to show the lines do not extend out of the window.