Skip to main content

A data visualization pipeline tool for schema inspection, chart generation, dashboards, and export.

Project description

Vizflow

A data visualization pipeline tool for fast schema inspection, charting, dashboards, and export.

PyPI Python License Stars


Vizflow turns raw CSV, JSON, Parquet, SQLite, SQL script, and piped stdin data into useful visual outputs without writing boilerplate notebooks. It profiles column types, recommends chart families, generates Plotly-powered interactive charts, serves local browser previews, combines charts into dashboards, converts datasets between common formats, and produces comparison reports for changing data files.

  • Automatic schema inspection — detect semantic column types, null counts, unique values, samples, and numeric/date statistics.
  • Smart chart suggestions — recommend line, bar, scatter, pie, heatmap, treemap, and histogram views from the data shape.
  • Interactive Plotly charts — generate browser-ready HTML or static PNG/SVG/PDF exports.
  • Dashboard mode — combine multiple chart specs into a responsive standalone HTML page.
  • Local preview server — launch a Flask web server for chart, schema, and sample-data browsing on localhost.
  • Data conversion and comparison — convert CSV/JSON/Parquet inputs and compare two datasets visually.
  • Pipe support — stream CSV or JSON directly into commands with cat data.csv | vizflow plot.

Installation

pip install vizflow-cli

For local development:

git clone https://github.com/shazeus/vizflow-cli.git
cd vizflow-cli
pip install -e .

Usage

Inspect a dataset:

vizflow schema examples/sales.csv

Create an auto-selected chart:

vizflow plot examples/sales.csv --output sales-chart.html

Create a specific chart:

vizflow plot examples/sales.csv --type line --x date --y revenue --color region

Build a dashboard:

vizflow dashboard examples/sales.csv --charts "bar:region:revenue,line:date:revenue,pie:category:revenue"

Convert a file:

vizflow convert examples/sales.csv --to json --output sales.json

Preview in a browser:

vizflow serve examples/sales.csv --port 5050

Use stdin:

cat examples/sales.csv | vizflow plot --type bar --x region --y revenue --output piped.html

Commands

Command Description Example
vizflow plot <file> Generate a single interactive chart. Omit <file> to read stdin. vizflow plot data.csv --type scatter --x price --y volume
vizflow dashboard <file> Combine multiple charts into one standalone HTML page. vizflow dashboard data.csv --charts "bar:team,line:date:sales"
vizflow schema <file> Inspect data types, nulls, unique values, stats, and chart suggestions. vizflow schema data.json
vizflow convert <file> Convert datasets between CSV, JSON, and Parquet. vizflow convert data.csv --to parquet
vizflow serve <file> Start a Flask preview server with chart and schema endpoints. vizflow serve data.sqlite --table events
vizflow export <file> Export a chart as PNG, SVG, HTML, or PDF. vizflow export data.csv --format svg --type bar
vizflow compare <file1> <file2> Compare two datasets and write an HTML report. vizflow compare before.csv after.csv

Configuration

Vizflow is intentionally CLI-first and does not require a config file. Common options are available directly on commands:

Option Purpose
--type Choose auto, bar, line, scatter, pie, heatmap, treemap, or histogram.
--x, --y, --color Override inferred chart columns.
--query Run a SQL query against SQLite database or SQL script inputs.
--table Select a table from SQLite database or SQL script inputs.
--output Set the generated file path.
--format Choose export format for chart output.

Static image export uses Plotly's Kaleido engine when available. If the local browser runtime is unavailable, Vizflow falls back to a Matplotlib renderer for PNG, SVG, and PDF outputs.

License

MIT License. See LICENSE.

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

vizflow_cli-0.1.0.tar.gz (21.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vizflow_cli-0.1.0-py3-none-any.whl (23.1 kB view details)

Uploaded Python 3

File details

Details for the file vizflow_cli-0.1.0.tar.gz.

File metadata

  • Download URL: vizflow_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 21.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for vizflow_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 497cec7540fee79e78e81670ef053fbcd718db8e946a7010f9306fc2f1a39a05
MD5 bcfc12004f715a794b93ba1454b57d89
BLAKE2b-256 ba74d160a92858e94245adcb4c8068d8bf1bd3c31bdb39552bccedeaafb407d3

See more details on using hashes here.

File details

Details for the file vizflow_cli-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: vizflow_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 23.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for vizflow_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d4e032d50d49caa4761bc525f9fc40dc64b235e1a705c6f24fdee2ba4d2e8c58
MD5 41363078dc350f72b14b70aa0084ed71
BLAKE2b-256 a235ac6e2c456b5c42475a1af23034fb632e81802c93a0d331b8ce8daa9f5cee

See more details on using hashes here.

Supported by

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