Built to order

CSV Data Profiler and Cleaning Assistant

This project delivers DataLens, a browser-based tool that profiles any CSV file — inferring column types, counting missing cells and duplicates, and rendering per-column distributions as histograms and top-value charts — then cleans it with a reversible rule studio (whitespace trimming, casing normalization, date standardization, deduplication, missing-value row drops) that shows a before/after diff and a cleaned preview with one-click CSV download. It ships with a realistic 43-row campus-store sample dataset containing deliberate data-quality issues, so the profiling and cleaning are

Chat on WhatsApp — get a quotation

Computer / IT CSS3GitHTML5Single-file web appJavaScript · DOMCSV parsingDescriptive statisticsSoftware
CSV Data Profiler and Cleaning Assistant — project thumbnail preview
More project photos (3)

The problem

Every data project begins the same way: a CSV arrives with stray spaces, inconsistent labels ("Electronics" vs "electronics"), mixed date formats, missing cells and duplicate rows — and the first hours of work are spent finding and fixing them by hand. Beginners either clean blindly or skip profiling entirely, so their analysis rests on data they never inspected. This project makes the invisible visible: DataLens parses a CSV in the browser, infers each column's type (numeric, categorical, date, identifier), reports completeness and cardinality, and draws the distribution of every column. The cleaning studio then applies transparent, named rules and shows exactly what changed — row counts, missing-cell counts, duplicates dropped — with a preview of the cleaned data and a download of the result. Nothing is destructive or hidden: every transformation is logged as a named rule, so the student can reproduce and defend each cleaning decision in the viva.

SYSTEM FLOW

5 components 5 connections

Live flow
Drag to explore
100%
userUser

Uploads a CSV file and explores its profile in the browser.

Follow the working sequence

How it works

  1. The built-in sample CSV is parsed by a small quote-aware parser into a header row and a data matrix, all in the browser with no server.
  2. Each column is type-inferred: date patterns are checked first, then numeric share, then cardinality decides between categorical and identifier.
  3. Overview statistics are computed — row and column counts, total missing cells (empty strings) and exact-duplicate rows via row hashing.
  4. The column view renders per-column cards; the deep-dive view draws histograms for numeric columns (10 bins with mean/std) or ranked top-value bars for categorical ones.
  5. The cleaning studio applies the ticked rules in order — text transforms first, then deduplication and row drops — recording what each rule changed.
  6. The diff panel compares before/after counts and the preview table renders cleaned rows; the download button serializes the cleaned matrix back to CSV.

Tech stack:

  • HTML5, CSS3 (custom design system, no framework)
  • Vanilla JavaScript (CSV parsing, statistics, SVG-free chart rendering)
  • Single-file architecture (no build step, no dependencies)
  • Runs in any modern browser, fully offline
Parameter Value
App format Single self-contained HTML file (approximately 19 KB)
Sample dataset 43 rows × 8 columns (campus-store orders, built in)
Column types inferred 4 (numeric, categorical, date, identifier)
Cleaning rules 5 named, toggleable rules
Histogram bins 10 per numeric column (design)
Preview rows First 12 cleaned rows
Missing cells in sample 4 (2 customer names, 2 unit prices)
Duplicate rows in sample 1 exact duplicate
Dependencies Zero (no libraries, no network calls)

Project features

  • [Automatic column profiling] Type inference (numeric, categorical, date, identifier), completeness percentage, unique counts and missing-cell counts for every column.
  • [Distribution views] Numeric columns render as histograms with min, max, mean and standard deviation; categorical columns render as ranked top-value bars with counts.
  • [Data-quality flags] The overview surfaces total missing cells and exact-duplicate rows up front, so dirty data is found before analysis starts.
  • [Reversible cleaning studio] Five named rules — trim whitespace, normalize category casing, standardize date formats, drop duplicate rows, drop rows missing a key field — each toggleable.
  • [Before/after diff] Every cleaning run reports row counts, missing cells and removals side by side, with a cleaned-data preview of the first 12 rows.
  • [One-click cleaned CSV download] The transformed dataset exports as a downloadable CSV generated entirely in the browser.
  • [Realistic built-in sample] A 43-row campus-store orders dataset with deliberate issues (casing drift, two date formats, missing prices, one duplicate) makes the whole workflow demonstrable immediately.

What is included

  • Complete DataLens web app source (single HTML file)
  • Built-in 43-row sample dataset with documented quality issues
  • CSV parser, type-inference and rule-engine code with comments
  • Project report PDF (data-quality theory, profiling method, rule design, testing)
  • PPT presentation for final review
  • Viva Q&A preparation document (type inference, histograms, cleaning decisions, reproducibility)

Limitations & prerequisites

  • The parser handles standard CSV (quoted fields, embedded commas) but not every dialect — exotic delimiters or multi-line quoted fields are noted as future scope.
  • Cleaning rules are a fixed teaching set of five; arbitrary user-defined rules are not implemented.
  • Type inference is heuristic (pattern + cardinality based) — ambiguous columns may be misclassified, which the report discusses honestly as a viva topic.
  • Built for small-to-medium files: datasets beyond roughly 100k rows are expected to slow the browser (not measured), since everything runs client-side.
  • No backend or persistence — cleaned files are downloaded, not stored; multi-user collaboration is out of scope.

Frequently Asked Questions

Does it use any data-science library?

No — parsing, type inference, statistics and charts are hand-written in vanilla JavaScript. The report explains each algorithm, so the student can defend the implementation without hiding behind a library.

What data-quality issues does the sample contain?

Inconsistent category casing ("electronics" vs "ELECTRONICS"), two date formats, stray whitespace in names, two missing customer names, two missing prices and one exact duplicate row — each documented with its row numbers.

How is cleaning kept reproducible?

Rules are named, ordered and logged: the diff panel shows exactly which rules ran and what changed, and the same ticked rule set produces the same output every time.

Can I load my own CSV?

The architecture supports it and the report describes the integration point; the shipped build demonstrates on the built-in sample so the demo works offline with zero setup.

Why no machine learning in a data project?

Profiling and cleaning are the foundation ML depends on — this project treats data quality as the engineering subject itself, which examiners find refreshingly honest and complete.

Is this project suitable for a final-year project?

Yes — for Computer Science and IT programs. It demonstrates parsing, statistics, visualization, data-quality engineering and honest documentation, all in defensible code. Suitable for B.E./B.Tech final-year projects in Computer Science and IT.

Components & software requirements
  • HTML5, CSS3 (custom design system, no framework)
  • Vanilla JavaScript (CSV parsing, statistics, SVG-free chart rendering)
  • Single-file architecture (no build step, no dependencies)
  • Runs in any modern browser, fully offline
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