https://observablehq.com/@clhenrick/arcgis-js-api-custom-elev-profile-chart?collection=@clhenrick/viz
An example of using the ElevationProfileLineInput's samples property and D3JS to render an area chart showing elevation change over route distance. Note that...
elevation profilearcgisjsapicustom