GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com โ€” GitHub - Ayinde225/financial-statement-analyzer: Upload or enter financial statements to compute liquidity, profitability, leverage & efficiency ratios with plain-English insights. React + Vite, engines from first principles and unit-tested.

BranchesTags
Open more actions menu

Latest commit

 

History

4 Commits
4 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
src
src
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
index.html
index.html
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
vite.config.js
vite.config.js
 
 

Repository files navigation

๐Ÿ“Š Financial Statement Analyzer

๐Ÿ”— Live demo: https://ayinde225.github.io/financial-statement-analyzer/

Deploy to GitHub Pages

Enter or upload an income statement and balance sheet, and instantly get the standard financial ratios โ€” liquidity, profitability, leverage, and efficiency โ€” each rated against rule-of-thumb benchmarks, plus a ranked list of plain-English insights (liquidity risk, leverage, thin interest coverage, strong returns, and more).

A natural spin-off of my full-stack finance work: the domain analysis I know, turned into a tool.

Built with React + Vite. The ratio and insight engines are written from first principles and fully unit-tested.

โœจ Features

  • Three ways to get data in: type it, upload a CSV, or load a sample company
  • Standard ratios, grouped and rated:
    • Liquidity โ€” current, quick, cash
    • Profitability โ€” gross / operating / net margin, ROA, ROE
    • Leverage โ€” debt-to-equity, debt ratio, interest coverage
    • Efficiency โ€” asset & inventory turnover, days sales outstanding (informational)
  • Insight engine โ€” ranked observations by severity (critical โ†’ info)
  • Derived subtotals (gross profit, EBIT) computed live so inputs can't contradict themselves
  • Robust CSV import โ€” case-insensitive label matching, common aliases, handles $, commas, and (parentheses) negatives
  • Divide-by-zero safe, responsive, dark UI

๐Ÿงฎ A few of the ratios

Ratio Formula Rule of thumb
Current ratio Current assets รท current liabilities โ‰ฅ 1.5 healthy
Quick ratio (Current assets โˆ’ inventory) รท current liabilities โ‰ฅ 1.0 healthy
Net margin Net income รท revenue โ‰ฅ 10% strong
Return on equity Net income รท equity โ‰ฅ 15% strong
Debt-to-equity Total liabilities รท equity โ‰ค 1.0 conservative
Interest coverage EBIT รท interest expense โ‰ฅ 3ร— safe

Thresholds are general guides โ€” real analysis is always industry-relative.

๐Ÿš€ Getting started

npm install
npm run dev      # start the dev server
npm run build    # production build
npm test         # run the unit tests

๐Ÿ—‚๏ธ Project structure

src/
  lib/
    model.js          # statement model + derived subtotals (gross profit, EBIT)
    ratios.js         # pure ratio engine with rating logic
    ratios.test.js
    insights.js       # rule-based insight generation, ranked by severity
    insights.test.js
    parseCsv.js        # dependency-free CSV import + label matching
    format.js          # money / ratio formatting
    sampleData.js      # sample company + CSV template
  components/
    StatementInput.jsx # data entry + import controls
    RatioGrid.jsx      # grouped, rated ratio cards
    Insights.jsx       # ranked insight list
  App.jsx

๐Ÿงช Testing

The finance logic is covered by unit tests โ€” ratio values and ratings against a known company, divide-by-zero safety, and the insight engine's severity rules:

npm test

A finance-meets-code project โ€” the domain I know, expressed in software.

About

Upload or enter financial statements to compute liquidity, profitability, leverage & efficiency ratios with plain-English insights. React + Vite, engines from first principles and unit-tested.

Topics

accountingfinancefinancial-analysisfintechjavascriptratiosreactvite

Resources

Readme
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 โ€” GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800ร—600. No cookies required.