When I zoom into my CSV layer, I can see the points on the map which I have created by replacing heatmaprenderer with simplerenderer on scale event. Screenshots are given below:
Also, I converted an example from the ArcGIS Website to an Angular component and tried to show it on the website. But it is also not showing up any data. I used 'Create a scale-dependent visualization text' example from here. Sandbox Code is here.
My code is on GitHub. (https://github.com/SiddharthMishraPersonal/arcgis-csvlayer-example) In the above images, you can see that the second map is not showing any heat map.
Please let me know if I am doing something wrong.