Skip to content

hywluv/24_DV

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Repo for ZJU 2024 Summer semester Data Visualization Class

Introduction

This is the repository for the Project2 of course Data Visualization in ZJU 2024 Summer semester. Our topic is about establishing the data analysis and visualization in the field of Computer Vision algorithms.

Team Members and Contribution info

  • Yuwei Hu @Starrism
    • Class: Mix 2206
    • Team Leader
    • Data Preprocessing
    • Analysis System Function Design
  • Zhe Yin @InGeYZ
    • Class: Mix 2306
    • html and css design
    • UI design
  • Daiyang Wu @Daiyang Wu
    • Class: Turing 2201
    • Data Analysis
    • css and UI design

You can view contribution details of our work in the commit graph. You can contact us via email @hyw if you have any questions.

File Structure

.
├── README.md
├── package.json
├── package-lock.json
├── .gitignore
├── public
│   ├── data
│   │   ├── meta // meta data of the dataset
│   │   │    └── *.csv
│   │   ├── data_modified.py // data preprocessing script
│   │   ├── avg.csv // preprocessed data
│   │   └── processed.csv // preprocessed data
│   └── template_files.* // given by template repo
└── src
    ├── index.js
    ├── index.css
    ├── logo.svg
    ├── serviceWorker.js
    ├── setupTests.js
    ├── backend
    │   └── openai_backend.py // backend Insight script
    ├── css
    │   └── *.css
    ├── test
    │   └── App.test.js
    ├── store
    │   ├── api.js
    │   ├── data.js
    │   ├── index.js
    │   └── reducer.js
    └── components
        ├── App.js
        ├── AssistView.js
        ├── DetailView.js
        ├── ControlPanel.js
        ├── Overview.js
        ├── AssistView
        │   ├── AssistChart.js
        │   └── ConditionSelector.js
        ├── Overview
        │   ├── ChartContext.js // Context for Overview Chart and Detail Chart
        │   ├── OverviewSelector.js
        │   ├── Total.js // Overview Chart
        │   └── DetailChart.js
        └── question_answer
            └── qa.js

How to run

  1. Clone the repository
git clone [email protected]:hywluv/24_DV.git
  1. Install dependencies
npm install
pip install flask flask_cors pandas requests openai
  1. modify your openai api key in src/backend/openai_backend.py
# openai api
export OPENAI_API_KEY="your api key"
  1. Run the project
npm start
python3 src/backend/openai_backend.py # backend running on port 5011
  1. Open your browser and visit http://localhost:3000/

About

24 Summer DV Group Lab

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 83.4%
  • Python 9.8%
  • CSS 3.6%
  • HTML 3.2%