Create Unity in Script C#

Hi every,
I’m new to Unity and I try to create a terrain through Script. I have an excel file with row corresponding to y-axis and column for x-axis. The value in each cell is the height. How can I import excel file into Unity script and make a terrain like a picture I attach below

Thank you very much

Hi,

for importing data:
would be easier if you export excel file into .csv, then you don’t need any excel importer plugins… (see asset store excel importer or GitHub - tsubaki/Unity-Excel-Importer-Maker )
then look for .csv reader/parser Looking for a free/open-source C# library for reading/writing CSV files - Industries - News & General Discussion - Unity Discussions (or make own, using C# File.ReadAllLines, Get String Array - Dot Net Perls and just split and parse values)