Difference between ML and data visualization?

Hello, in terms of visualization, what is the difference between ML and data visualization. I mean the output from both are the same, a scatterplot with scatters and a line in it. Or how can you tell which output applying ML. Please excuse me for asking this silly question.

Thanks.

It’s basically the same. I mean Data visualization is just a way to see data, like the graphics that you see when you look at the exchange market. When you use a scatter plot in for example a linear regression you are seeing the distribution of the data, and the line is the regression or in other words the prediction of the model. The same when you use a K-Means cluster the graphic is showing you the clusters and the data that exist in each cluster

In short words there isn’t any difference is just a way to represent data in a easier way