Both of them are used: visualization and visualisation.
Visualisation is more commonly used in UK.
But, visualization is more common in US.
What is the history of this word?
Which is officially correct?
"Visualization" is the only correct spelling in American English.
"Visualisation" and "visualization" are both acceptable in British English although it is a common misconception that "visualization" is an Americanism and therefore incorrect.
Oxford resolutely prefers "ize" forms - see visualize in the British English Oxford Dictionary - and a lot of academic writing follows their lead but most mass market publications prefer "ise".
You've answered your own question. In the UK the following spelling is correct:
In the US, the following spelling is correct:
This is one of a number of different spellings between British English and American English. Neither is "more correct" than the other - British English spellings are correct in the UK and not in the US.
As a learner, you know better than anyone whether knowing British English or American English is more suitable for you. If you need to learn US English, learn the US spellings. If your learning means British English is more useful to you, learn the British English ones.