HolyShaq / prismviz

2 stars 0 forks source link

PrismViz

This is a Data Visualization Tool built with Next.js for processing, visualizing, and exporting data from various sources, primarily designed to handle CSV files and generate interactive charts. This tool is ideal for users looking to explore their data through visual analytics, generate reports, and leverage optional AI insights.

Features

Getting Started

Prerequisites

Installation

Clone the repository and install dependencies:

git clone <https://github.com/HolyShaq/prismviz>
cd prismviz
npm install --legacy-peer-deps

Development Server

Start the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 in your browser to view the application.

Editing the Application

You can start modifying the tool by editing the primary page component located in app/page.tsx. Changes made to this file will automatically update in the browser.

Tech Stack

Usage

  1. Upload Data: Use the upload interface to select a CSV file. The tool automatically parses and loads the data.
  2. Clean Data: Access options for handling missing values, removing duplicates, and validating entries.
  3. Visualize Data: Choose from various chart types to represent your data. Customize labels, colors, and styles.
  4. Generate Reports: Save or print visualizations and data summaries as PDFs for sharing or offline analysis.

Folder Structure

src/
├── app/
│   ├── page.tsx                # Main entry point for the app
│   ├── layout.tsx              # Layout of the app (global)    
├── components/                 # Reusable components with components for single-URL page (Stepper, Charts, etc.)
│   ├── Stepper.tsx
│   ├── UploadFile.tsx
├── lib/                        # Utility functions (API handling, helpers)
│   ├── dataCleaning.js        # Data manipulation functions