Read CSV text data

Hi,
I need to display text datas from a CSV file
to give details of points of interest on a map.

I have 40 points of interests, so 40 rows and 4 columns
TITLE | ADDRESS | TEL | MAP IFRAME CODE |

Do you know a way to give the ability to Hype to read this CSV file
each time the mouse comes hover a point ?

Kind regards,
Vincent

Use some JS to parse the CVS to a data object only once and then use the data. You can store the data object in hypeDocument.customData

A quick search reveals a simple parser

Or a more sophisticated library with error handling etc. https://www.papaparse.com

I am on the road so I can only point you in a direction

1 Like

Thank you Max !
I’ll take a look to those links.
Kind regards
Vincent

Maybe Leaflet.js is what you're looking for... https://leafletjs.com :thinking: