frontend: added basic legend (#1)