Skip to main content

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

TypeExtensionsNotes
CSV File.csvComma- or tab-separated, with a header row. UTF-8, Windows (Excel) and UTF-16 text are all read correctly.
Excel File.xlsx, .xlsThe first sheet, with a header row.
JSON File.json, .jsonl, .ndjsonAn array of objects, or one object per line (JSON Lines).
Parquet File.parquetColumn names and types come from the file itself.
SQLite.sqlite, .sqlite3, .dbA 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

What the video shows: Databases, then Connect Database. CSV File is chosen, the connection is named Regional targets, regional_targets.csv is dropped into Upload file, and Save connection adds it to the list of connected databases.
  1. Open Databases

    Choose Databases in the sidebar, then Connect Database.

  2. Choose the file type

    Under Files & Local, choose CSV File, Excel File or JSON File. SQLite is listed under Relational.

  3. Name it and add the file

    Enter a Name, then drop the file onto Upload file or click it to browse.

  4. 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:

A connection named Orders, made from acme_orders.csv. Its table is called Orders.

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.