I have a .csv file that contains the time signature, coordinates and GPS altitude of an aircraft every second throughout its flight. I would like to import this data into a cesium.js script file and construct a path entity rather than putting it into a CZML file and loading the data source.
So far, I'm able to import the text file in the necessary data format (ISO8601 time, latitude, longitude, altitude), from which I add as a sampled position property to a variable called 'pos'. I then use this variable as the position property of an entity I create in the viewer.
Here's the code which will more easily explain it: