项目作者: moratori

项目描述 :
A Simple CSV data Visualizer
高级语言: Python
项目地址: git://github.com/moratori/csviz.git
创建时间: 2018-04-08T14:11:07Z
项目社区:https://github.com/moratori/csviz

开源协议:

下载


CSVIZ; A Simple CSV data Visualizer

sample-image1

Installation

  1. $ git clone https://github.com/moratori/csviz.git
  2. $ conda env create --file requirements.yml

Usage

  1. make a csv file like below and save file to directory.

    1. # this line is title for graph
    2. # this line is title for horizontal axis
    3. # this line is title for vertical axis
    4. # lines
    5. # _, series1, series2, series3
    6. 0, 0, 0, 1
    7. 1, 1, 1, 2
    8. 2, 2, 4, 4
    9. 3, 3, 9, 8
    10. 4, 4, 16, 16
    11. 5, 5, 25, 32
  2. run the script csviz.py with argument directory

    1. (csviz) $ python csviz.py directory
  3. access to localhost:8050

    sample-image2

Options

  • —addr “0.0.0.0”: ip address to bind
  • —port 8050: port number to bind
  • —width 1080: width for graph
  • —height 550: height for graph
  • —delimiter “,”: delimiter for csv
  • —fontsize 17: font size
  • —bgcolor “ffe”: graph baclground color
  • —apptitle “Statistical Information for Something System”: title of app
  • —debug : debug mode
  • —showtoolbar : show flooting tool bar
  • —offline: disable loading resources from CDN
  • —log None : log file name
  • —cssdir None: directory contains css files
  • —limit None: limit for loading data

Demo

https://stats.mtcq.jp/