Built to order

Desktop CSV Viewer with Sorting Filtering and Chart Preview

This project builds a desktop CSV viewer in Python and Tkinter that opens CSV files offline, sorts any column with one click, filters rows by text, detects each column's type, and previews bar and line charts from numeric columns. It parses files with Python's csv module following RFC 4180 quoting rules, so quoted commas and embedded quotes load correctly, and it exports the filtered rows back to a clean CSV file. Suitable for B.E./B.Tech final-year projects in Computer Science and Information Technology.

Chat on WhatsApp — get a quotation

Computer / IT PythonMatplotlibPandasGitHTML · CSS · JavaScript demoTkinter GUI toolkitPython csv moduleSoftware
Desktop CSV Viewer with Sorting Filtering and Chart Preview — project thumbnail preview
More project photos (2)

The problem

A desktop CSV viewer is an offline application that opens comma-separated values files in a sortable, searchable table instead of a raw text editor. This project builds one in Python and Tkinter that loads a CSV file, detects whether each column holds numbers or text, sorts and filters rows, and draws a bar or line chart from any numeric column.

Tool Sorting Filtering Charts Handles quoted commas
Desktop CSV Viewer (this project) One-click, numeric-aware Live text search Bar and line preview Yes, RFC 4180 parsing
Spreadsheet Yes, but slow on large files Yes, with setup Full charting Yes, but may reformat values
Text editor No Find only No No, commas shown raw

The Desktop CSV Viewer exists because CSV files are everywhere in student work — lab readings, survey responses, attendance sheets, scraped tables — yet the tools most students have for opening them are the wrong ones. A text editor shows the commas but cannot sort, filter or summarise anything, so finding the top scorer in a 500-row marks file means scanning by eye. A spreadsheet can sort and chart, but it opens slowly on large files, silently reformats values such as turning roll numbers into dates, and needs a full office suite installed. The viewer takes the middle path: a desktop application that opens a CSV file in a table, detects each column's type, sorts with one click, filters with a text search, and previews a chart from any numeric column, all offline with no installation beyond Python. Because it parses with Python's csv module under RFC 4180 rules, quoted fields containing commas load correctly instead of splitting mid-value.

SYSTEM FLOW

5 components 4 connections

Live flow
Drag to explore
100%
storageCSV File

Comma-separated values file opened from disk.

Follow the working sequence

How it works

The Desktop CSV Viewer works as a short pipeline: file, parser, typed table, view, then chart or export. Opening a file hands its text to Python's csv module, which applies the RFC 4180 rules character by character: a comma separates fields only outside quotes, a field wrapped in double quotes may contain commas or line breaks, and a doubled quote inside a quoted field becomes one literal quote. Each column is then inspected: if every non-empty value looks numeric it is typed Number, otherwise Text. The typed rows feed a Tkinter table: clicking a header re-sorts them in memory and typing in the search box re-filters them, without re-reading the file. For a chart, the viewer averages the selected numeric column per category for a bar chart, or plots values in row order for a line chart. Export writes only the visible rows through the csv writer, which re-quotes any field that needs it.

  1. The user opens a CSV file from the toolbar, or loads the built-in 30-row student-marks sample file for demonstration.
  2. Python's csv module parses the file under RFC 4180 quoting rules, handling quoted commas, doubled quotes and embedded line breaks correctly.
  3. The app inspects each column and labels it Number or Text, then computes row and column counts and the minimum, average and maximum of every numeric column.
  4. The parsed rows render in a scrollable Tkinter table with a header row; clicking a header sorts ascending, and clicking again reverses the order.
  5. Typing in the search box filters rows across all columns instantly, and the status bar shows how many rows remain visible out of the total.
  6. Chart Preview groups a chosen numeric column by a category column for a bar chart, or plots the values in row order for a line chart, with min, average and max shown beside it.
  7. Export writes only the currently visible rows to a new CSV file, re-quoting fields that contain commas, quotes or line breaks.

Tech stack:

  • Python 3
  • Tkinter GUI toolkit
  • Python csv module
  • pandas
  • Matplotlib
  • HTML · CSS · JavaScript (web demo mirror)
  • Git
Parameter Value
Platform Windows · macOS · Linux desktop (Python 3.10 or newer)
Language Python 3
GUI toolkit Tkinter (Python standard library)
CSV parsing Python csv module · RFC 4180 quoting rules
Delimiter Comma (default) · semicolon and tab selectable
Sample file 30 rows × 6 columns (demo build, measured)
Sorting Click-to-sort, ascending and descending, on all columns
Filtering Text search across all columns, live
Chart types 2 (bar chart grouped by category · line chart in row order)
Numeric summary Minimum · average · maximum per numeric column
File handling UTF-8 text · quoted fields supported
Export Filtered rows to CSV with RFC 4180 quoting
Sample-file average Marks 76.0 out of 100 (demo build, measured)
Sample-file Marks range 48 to 96 (demo build, measured)

Project features

The viewer's four most useful capabilities are one-click column sorting, live text filtering, automatic column-type detection, and chart preview from numeric columns. Sorting works on any column: click a header once for ascending order and again to reverse it, with numbers sorted numerically instead of alphabetically, so 100 correctly lands above 96 rather than below 9. Filtering is a single search box that matches text across every column at once, narrowing a long file to the rows that matter while a status bar reports exactly how many rows are shown. Column-type detection inspects each column's values and labels it Number or Text, which decides how sorting compares values and which columns can be charted. Chart preview turns any numeric column into a bar chart grouped by a category column or a line chart in row order, with minimum, average and maximum shown beside the chart.

  • [One-click column sorting] Click any column header to sort ascending, click again to reverse. Numeric columns sort by value and text columns alphabetically, so marks of 100 sort above 96 instead of below 9.
  • [Live text filtering] A single search box filters rows across all columns as you type, and the status bar reports the result, for example "6 of 30 rows shown" when filtering the sample file by subject.
  • [Automatic column-type detection] Each column is inspected and labelled Number or Text from its values. The label drives sorting rules and decides which columns are offered for charting.
  • [Chart preview] Any numeric column becomes a bar chart grouped by a category column, or a line chart in row order, with the minimum, average and maximum of the column displayed beside the chart.
  • [RFC 4180 CSV parsing] Python's csv module parses the file: a comma separates fields only outside quotes, a quoted field may contain commas or line breaks, and a doubled quote inside a quoted field becomes one literal quote.
  • [Filtered CSV export] Exports only the rows currently visible after filtering, written back through the csv writer so any field that needs quoting is quoted correctly.
  • [File information panel] File name, size, row and column counts and the numeric-column summary are shown at a glance, so the shape of a new file is visible before any analysis.
  • [Configurable delimiter] The comma delimiter is the default, with semicolon and tab selectable for files exported from European locales or tab-separated sources.

What is included

  • Complete Python source code (Tkinter application, csv parsing, sorting, filtering, charting)
  • Built-in 30-row student-marks sample CSV file for demonstration
  • Web demo mirror (single-file HTML/CSS/JS) showing the viewer interface
  • Setup and user guide (opening files, sorting, filtering, charting, exporting)
  • Project report PDF (background, RFC 4180 parsing rules, methodology, results)
  • PPT presentation for final review
  • Viva Q&A preparation document

Timeline

  • Typical build timeline: approximately 2–3 weeks from order confirmation, including application development, sample-data testing and documentation.

Support

  • Support includes setup guidance over WhatsApp, help running the viewer with your own CSV files, and corrections to the report and PPT for college-format requirements.

Limitations & prerequisites

  • The viewer reads and displays CSV files; it does not edit cells in place — values are edited in a spreadsheet and the file is re-opened.
  • Very large files (design target approximately 100,000 rows) may load more slowly on low-memory machines; the demo sample file has 30 rows.
  • Chart preview covers one numeric column at a time; multi-column comparison charts are future scope.
  • Files with inconsistent column counts across rows load with empty cells in the short rows; the parser follows RFC 4180 and does not repair malformed files.
  • Non-UTF-8 encoded files, such as legacy Windows-1252 exports, may show garbled characters unless converted to UTF-8 first.
  • The viewer works fully offline and has no cloud sync or collaboration features.

Frequently Asked Questions

Is this project suitable for a final-year project?

Yes — for Computer Science and Information Technology students, because it demonstrates file parsing, GUI development with Tkinter, data structures for sorting and filtering, and data visualisation in one compact desktop application with a working demo. The report explains the RFC 4180 parsing rules and the sorting and filtering logic in enough depth for a viva, and the project maps cleanly to a standard software-development lifecycle.

What is the main technology used?

Python 3 with Tkinter for the desktop interface, Python's csv module for RFC 4180 parsing, pandas for grouping and averaging, and Matplotlib for the chart preview. The shipped web demo mirror is a single HTML/CSS/JS file that reproduces the same interface in a browser. No database and no internet connection are needed; everything runs locally on the student's machine.

Does it need the internet?

No. The viewer is a fully offline desktop application: it opens local CSV files, sorts, filters, charts and exports without any network connection, and no account, cloud service, browser or background sync is ever involved at any stage of the work. The only place the internet matters is the initial Python installation if the student does not already have it. The web demo mirror also runs offline once downloaded, since it is a single self-contained file.

How does it handle CSV files with commas inside fields?

It follows RFC 4180: a field containing a comma, a double quote or a line break must be wrapped in double quotes, and an embedded double quote is escaped by doubling it. Python's csv module implements these rules, so a value such as "Sharma, Riya" stays one field instead of splitting into two. The export step applies the same quoting when writing filtered rows back out.

Can it open large CSV files?

Yes, within reasonable limits: the design target is files up to approximately 100,000 rows on a standard laptop, with sorting and filtering operating on the in-memory rows after a single one-time parse. The demo ships with a 30-row sample file, so a buyer with a much larger file can test the viewer against their own data before the final review. Extremely large files may load more slowly on low-memory machines.

Can the viewer be customised?

Yes. Realistic customisations, available on request, include in-place cell editing, additional chart types such as scatter or histogram, delimiter auto-detection, column statistics such as median and standard deviation, and import of the loaded data into a database for further analysis. Optional features are developed on request and are listed separately from the base build, so the delivered project matches what was agreed.

Get this project: message Projectech on WhatsApp for a quotation — share your branch, the scope you need and your submission deadline, and the build is prepared to order with the application source code, sample data and documentation.

Components & software requirements
  • Python 3
  • Tkinter GUI toolkit
  • Python csv module
  • pandas
  • Matplotlib
  • HTML · CSS · JavaScript (web demo mirror)
  • Git
Delivery information

Built-to-order project. Delivery timeline is shared after order confirmation based on current queue.

Support terms

Complete documentation, setup guide, and viva preparation included. Support for setup and explanation provided.

Download free synopsis (PDF)

Enter your name and WhatsApp number — the synopsis PDF downloads immediately. We may send occasional project updates on WhatsApp; no spam.

Get a quotation