This sample demonstrates how a CSVLayer can automatically re-project data on the client-side to different spatial references. The raw data of the CSVLayer contains latitude/longitude coordinates, but the SpatialReference of the Map component is a Stereographic projection. Notice that you don’t have to do anything extra to take advantage of this functionality; the projection is handled automatically within the API.
<!-- Note: popup-component-enabled enables the Popup component (beta). See https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#popupComponentEnabled for details. -->