An automated data visualization package
Project description
Vizify: Automated Data Analysis, Visualization, and Machine Learning
Vizify is a Python library designed to automate exploratory data analysis (EDA), statistical profiling, and predictive machine learning. It generates comprehensive static PDF reports with automated insights, serves a highly polished, interactive local web dashboard built with React and Flask, and integrates a conversational AI agent capable of writing and executing analysis code.
Core Capabilities
1. Automated Visual Diagnostics
- Descriptive Statistics: Automatic computation of central tendency, spread, and missingness metrics.
- Correlation Heatmaps: Interactive Pearson/Spearman correlation matrices for numerical attributes.
- Distribution Profiles: Histograms, Kernel Density Estimators (KDE), and box plots displaying outliers.
- Categorical Analyses: High-resolution bar charts, pie charts, and categorical stacked comparisons.
- Time-Series Outliers: Temporal trend visualizations and automatic anomaly detection.
2. High-Performance Local Dashboard Studio
- React + Flask SPA: Served locally on a dynamically assigned free port, featuring a premium dark glassmorphism user interface.
- Global Slicers: Dynamic sidebar panels to filter the entire workspace by date ranges, category groups, or numerical ranges.
- Interactive Visual Cards: Native, client-side Plotly chart rendering for responsive data exploration.
- Magic Cleaner: Single-click utility to prune highly vacant columns, format currency values, and parse datetime structures.
3. No-Code Machine Learning Pipeline
- Problem Classification: Automatic problem detection (Regression vs. Classification) based on target attributes.
- Advanced Preprocessing: Scalers, categorical encoders, and missing value strategies (Mean/Median/KNN Imputation).
- Algorithm Comparisons: Simultaneous training and benchmarking of 5+ models (Linear/Logistic Regression, Random Forest, Decision Trees, SVM, and KNN).
- Inference Playground: Real-time What-If prediction sliders mapping features to instant model predictions.
- Model Exports: Download trained model bundles as serialized
.pklbinary files.
4. Conversational AI Data Agent
- Inline Charting: Ask questions in plain English; the agent generates Python code, runs it in a sandboxed environment, captures console outputs, and renders interactive Plotly figures inline.
- Per-Chart Intelligence: Dedicated conversational interfaces below every card to interrogate specific data subsets.
Installation
Install the package via pip:
pip install vizify
International Business Use Case: Multinational Supply Chain Optimization
To demonstrate Vizify's capabilities, consider a multinational retailer analyzing its cross-border shipping delays and custom clearance times across Europe, North America, and Asia. The dataset (supply_chain_logistics.csv) contains logistics records including Transit_Time_Days, Duty_Paid_USD, Shipping_Method, Destination_Continent, and Customs_Delay_Indicator (0 for normal, 1 for delayed).
1. Generating a Static PDF Audit Report
To quickly share static logistics diagnostics with the executive board:
from vizify import Vizify
# Initialize Vizify with the logistics dataset and Gemini API credentials
viz = Vizify("supply_chain_logistics.csv", api_key="YOUR_GEMINI_API_KEY")
# Generate and save all visualizations with AI commentary into a PDF report
viz.show_all_visualizations()
Outputs: Plots_Report.pdf and Plots_Report.html containing visual summaries and automated insights.
2. Launching the Local Web Studio Dashboard
For interactive data exploration and modeling, launch the Flask + React dashboard:
from vizify import Vizify
# Start the local server and open the browser automatically
Vizify.launch_dashboard("supply_chain_logistics.csv")
Within the local dashboard, you can:
- Filter Regions: Use the sidebar global filters to restrict metrics exclusively to
Destination_Continent = 'Europe'. - Magic Clean: Convert unformatted currency columns (
Duty_Paid_USDcontaining '$' or commas) to clean floats. - Train a Delay Predictor: Navigate to the ML Studio tab, select
Customs_Delay_Indicatoras the classification target, select input variables, check the Random Forest classifier, and run training. Evaluate the confusion matrix and adjust transit sliders in the What-If Playground to simulate delay probabilities. - Interrogate the Data Agent: Go to the AI Data Agent tab and enter: "Plot the average transit time by shipping method for Europe as a bar chart and describe the insights." The agent writes the code, runs the analysis, and displays the interactive chart.
Technical Dependencies
Vizify relies on the following standard libraries:
- Data Engineering:
pandas,numpy - Visualization:
matplotlib,seaborn,plotly - Machine Learning:
scikit-learn - PDF Generation:
reportlab,fpdf2 - Local Server:
flask - GenAI Engine:
google-genai
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vizify-0.5.0.tar.gz.
File metadata
- Download URL: vizify-0.5.0.tar.gz
- Upload date:
- Size: 4.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
951d12f5425594726d6170be57718a7d52af40e798fddc18fd7f1a3a00d73f1e
|
|
| MD5 |
41c3fe3dd6ad7c05d5b028b83e25bb6f
|
|
| BLAKE2b-256 |
c07efc18582e7b37041fa2a5552baaadb1b73ab0eb1f9f3247906a676d27e5cc
|
File details
Details for the file vizify-0.5.0-py3-none-any.whl.
File metadata
- Download URL: vizify-0.5.0-py3-none-any.whl
- Upload date:
- Size: 4.6 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e105aa76629fa330f2a5935b815ea8b2904d750da37e81280f9bf6cfad530498
|
|
| MD5 |
f01fc7c2262099a0af89616327113017
|
|
| BLAKE2b-256 |
cd5c44e174cfe1ac3a274898b4ae6b4ca4ad8ba055d0c7d282fc9f0fd3212e92
|