You need to use a separator for your columns.
Use this syntax:
CSVWriter writer = new CSVWriter(new FileWriter(file), ",", "", "\n");
Instead of:
CSVWriter csvWrite = new CSVWriter(new FileWriter(file));
This sets a comma (,) as the field separator and a newline (\n) as the line terminator
Or simply
CSVWriter writer = new CSVWriter(new FileWriter(file), ",");
This sets a comma (,) as the field separator.
Excel uses a semicolon (;).
Other software might use pipe (|) or tab (\t) or ...