Giter Club home page Giter Club logo

va-framework's Introduction

va-framework

This framework is designed for jump-starting a single-page Visual Analytics(VA) system. While many VA systems are designed for specific applications, their workflow often share similar data processing methods. Several demos show typical frontend-backend communication, view components' interaction, and visualization rendering. VA-framework employs Python's Flask server as the backend and Javascript's Vue as the frontend. It facilitates fast development with hot-reloads (Vite), UI components (Ant design), state management (Pinia), and type inference (TypeScript).

Featured demo list

Beginner/Migration guide

MVC demo

  • A basic ad-hoc data processing pipeline demo (Model in MVC) with Pandas.
  • An API deisgn demo for data transmission (Controller in MVC) with Pinia, Axios, and Flask.
  • A simple demo of bundling the UI components into separate components, such as buttons and tooltip, with Ant Design Vue and Composition API for higher reusability and readability.
  • A table with tags and tooltips demo to provide detailed data.
  • A basic layout for visual analytics system

Planned implementation list

Run the framework

Server

The server employs Flask to provide web services. All codes below should be run under the "server" folder. For the first time user, please install the requirements in the requirements.txt. This project is built using Python 3.8.5. Using a version below 3.7 might encounter errors regarding the use of f-string. The default address for the server is http://127.0.0.1:5000/.

python run.py

Client

The client services are provided by Vue 3 and many other packages. All codes below should be run under the "client" folder. The packages are handled by npm, and specified in the package.json. For the first time user, please install the dependencies in the package.json with npm install. The client is served at http://localhost:3000/.

# Compiles for development
$ npm run dev

# Compiles for production
$ npm run build

va-framework's People

Contributors

gzwongkk avatar

Stargazers

 avatar Volcano avatar Chengbo Zheng avatar  avatar Yuan Tian avatar Anthea Z avatar lynnegaogao avatar Chunyuan Chen avatar  avatar  avatar Xuanwu avatar Z Luo avatar AmbitionCX avatar Qi Yusheng avatar  avatar  avatar  avatar  avatar Howard Smith avatar Yihao Wang avatar Zhan Wang avatar  avatar Xinyi Zhao avatar Zekai Shao avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.