Skip to main content

Create visualizations from CSV files and the command line

Project description

csvviz

Create visualizations from CSV files and the command line

Current status

Pretty usable:

$ csvviz bar -x name -y amount examples/tings.csv

$ csvviz line -x date -y price -c company examples/stocks.csv

But undocumented so far, other than running $ csvviz --help

Features

  • Can do the standard chart types

  • Produces validated Vega-lite JSON output that can be reused

  • Free software: MIT license

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

Dev instructions

To install on your own machine for development:

$ make install

Note: setup.py/requirements.txt is not correctly set up yet…

(note to self) To publish on pypi:

$ make release

History

0.4.0-alpha (ongoing)

  • Can specify var titles with pipe-delimited syntax, e.g. -x 'fieldname|The field name'

0.3.1 (2020-09-30)

  • Removed (non-existent) Python 3.5 compat, fixed 3.6 & 3.7 compat

  • Normalized area and bar charts with -N/--normalize

  • removed ‘-alpha’ tag

0.3.0-alpha (2020-09-28)

New chart types

  • area

  • hist (like bar charts, but for frequency count only)

  • line

  • scatter, which can act as bubble chart if --sizevar param is set

Grid (i.e. trellis/small multiples)

For any chart type, use -g/--grid to specify variable to map chart multiples

0.2.1-alpha (2020-09-23)

General

  • Fixed total breakage

0.2.0-alpha (2020-09-23)

General

  • csvviz --version prints out version

  • viz options
    • –theme to set chart theme

    • –json to output Vegalite chart specification in JSON

    • –no-preview to not preview chart in browser (useful for testing)

    • –interactive/–static to show an interactive chart or not (default is ‘static’)

cli.info

  • a command for general help and listing

  • Show list of colors, colorschemes, themes, etc

cli.bar

  • arguments and options
    • x,y options accept integers (as strings)

    • –fill/-s

    • -H/–horizontal for horizontal bars (vertical columns is default)

  • –colors/-c to set colors

  • –color-scheme/-C to specify a color scheme

0.1.1-alpha (2020-09-15 16:30)

cli.bar

  • Minimally functional: $ csvviz bars -x name -y things examples/tings.csv

0.1.0-alpha (2020-09-15)

First release on PyPI. Just a cookiecutter-pypackage skeleton stub.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

csvviz-0.4.9.2.tar.gz (132.4 kB view details)

Uploaded Source

Built Distribution

csvviz-0.4.9.2-py2.py3-none-any.whl (31.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file csvviz-0.4.9.2.tar.gz.

File metadata

  • Download URL: csvviz-0.4.9.2.tar.gz
  • Upload date:
  • Size: 132.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.8.0 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for csvviz-0.4.9.2.tar.gz
Algorithm Hash digest
SHA256 4c584a73f72020e6bc138ebc0d1bfbbb38fd935ae78919c3d8a66191fca6fd47
MD5 d27e7fe441f22be0fe01ffca1388686d
BLAKE2b-256 e5ba553c3d446888a730286ae8ebcf432661f56006c55f59ca99275f81854ac0

See more details on using hashes here.

File details

Details for the file csvviz-0.4.9.2-py2.py3-none-any.whl.

File metadata

  • Download URL: csvviz-0.4.9.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 31.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.8.0 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for csvviz-0.4.9.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 3e71f759644e6a9d246ad150977afd297d526e40acb43fe865a0c7f3e840fb5f
MD5 904d7d4356be0de7c7fd814ebbd53bf2
BLAKE2b-256 5a78a3ab193fe706cc8464d9a94119b9e5c4422919fd400d7dd4b9de868e8c5e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page