This sample demonstrates how to add a Legend to a Map. The Legend describes the symbols used to represent layers in a map. This map shows predominant educational attainment with darker colors indicating a stronger predominance. The Legend component can also be added to a 3D Scene.