added legend need to link json file