Improved Fiddle with legend