Upload a CSV, Excel, JSON, Parquet or SQLite file
No database? Upload a spreadsheet export or a database file and DataViz treats it as a connection you can query, chart and share like any other.
Supported files
| Type | Extensions | Notes |
|---|---|---|
| CSV File | .csv | Comma- or tab-separated, with a header row. UTF-8, Windows (Excel) and UTF-16 text are all read correctly. |
| Excel File | .xlsx, .xls | The first sheet, with a header row. |
| JSON File | .json, .jsonl, .ndjson | An array of objects, or one object per line (JSON Lines). |
| Parquet File | .parquet | Column names and types come from the file itself. |
| SQLite | .sqlite, .sqlite3, .db | A whole SQLite database; every table in it is available. |
Files are stored in your workspace's own storage. A file connection can't point at a path on a server; upload the file itself.
Upload a file
Open Databases
Choose Databases in the sidebar, then Connect Database.
Choose the file type
Under Files & Local, choose CSV File, Excel File or JSON File. SQLite is listed under Relational.
Name it and add the file
Enter a Name, then drop the file onto Upload file or click it to browse.
Save
Choose Save connection. DataViz checks that the file really is the type you chose before it's stored.
How the table is named
A CSV, Excel or JSON file becomes one table named after the connection, with anything other than letters, digits and underscores turned into an underscore. A connection named Sales Data gives a table called Sales_Data:
The table name is fixed when the connection is made, so renaming the connection later doesn't break the queries, datasets and charts that already use it.
Prepare your file
- Put column names in the first row, without duplicates. Short names without spaces are easiest to query.
- Keep one kind of value per column: dates as dates (2026-03-31 is safest), numbers without currency symbols.
- Remove totals rows and notes above or below the table; they'd be read as data.
Replace the data
To update the data, edit the connection on the Databases page and upload the new file. Its columns should match the old one, so the datasets and charts built on it keep working. For data that changes daily, a database connection or a workflow that loads the file is less work.