# Dataa Annalysis Auto AI

A golden glassmorphism, responsive static website prototype for an affordable AI-assisted data analysis product.

## Run the website

No build tools or npm dependencies are required.

1. Extract this ZIP.
2. Open `index.html` in a modern browser.
3. For a more realistic local development server, run from this folder:

   ```bash
   python3 -m http.server 8000
   ```

   Then open `http://localhost:8000`.

## Included features

- Responsive golden glassmorphism UI.
- CSV, TSV and JSON table upload, parsed locally in the browser.
- Built-in sample sales dataset.
- Data summary, empty-cell/exact-duplicate checks, category totals, Pearson correlation, simple half-sample trend comparison and executive report.
- Downloadable plain-text analysis report.
- Country/regional pricing display and currency display conversion examples.
- One-time task fee menu.
- Monthly/yearly pricing toggle.
- Monthly subscription revenue estimator.
- Save/remove project metadata in local browser storage.
- Mobile navigation and basic interaction dialogs.

## Important limitations

This is a **front-end prototype**, not a complete production AI SaaS platform.

- The analyzer is a small deterministic JavaScript demo. It does not call an LLM and cannot reliably understand arbitrary natural-language questions.
- Forecasting is only a simple comparison of the first and second halves of the selected numeric values. It is not a validated predictive model.
- Currency conversions are illustrative fixed rates in `app.js`, not live exchange rates.
- Prices, regional groupings and task fees are proposed examples, not verified current market rates.
- The website does not collect payments, implement real sign-in, enforce paid-plan usage, provide cloud project sync, or run scheduled reports.
- Local storage only saves project metadata, not a secure multi-user cloud workspace.
- Browser-side file parsing is not a replacement for server-side security, data validation, access control, backups, or privacy compliance.

## Suggested production roadmap

1. Define accepted file types, maximum file sizes, retention and deletion policies.
2. Add automated tests for parsing, calculations, edge cases and large files.
3. Create a secure backend API with authentication, authorization, rate limits and audit logs.
4. Add a real analysis engine and/or model provider behind the backend; never expose private API keys in browser JavaScript.
5. Create a job queue and usage-credit ledger so compute-intensive tasks cannot create uncontrolled costs.
6. Integrate a payment provider in test mode first, with server-side subscription verification and webhook validation.
7. Add account deletion, export, privacy policy, terms, support and refund procedures.
8. Test accessibility, mobile layouts, browser compatibility and security before public launch.

## Files

- `index.html` — page structure
- `styles.css` — golden glassmorphism theme and responsive layout
- `app.js` — browser-side demo functionality

## Learning pages added in the expanded edition

- `guide.html` — a 13-service playbook covering client inputs, starter prompts, deliverables and quality checks.
- `chat-examples.html` — ten example user questions and responsible analyst-style response patterns.

These are learning aids. The local JavaScript analyzer is not a full AI model and does not guarantee human-level results. Production use requires a model/backend integration, automated and human validation, privacy/security controls, payment integration, and testing with representative datasets.
