Intelligent Data Visualization - See truth, not just charts. Auto-selects best charts, provides insights, and creates beautiful visualizations.
Project description
📊 InstaViz - Intelligent Data Visualization
See truth, not just charts.
InstaViz is a next-generation Python visualization library built on top of Matplotlib that automatically chooses the best chart type for your data and provides natural language insights.
✨ Features
- 🎯 Smart Auto-Selection - Automatically picks the best chart for your data
- 📈 Built-in Insights - Get natural language explanations of your data
- 🎨 Beautiful Themes - Professional themes out of the box (light, dark, minimal, vibrant, corporate)
- 🔍 One-Line EDA - Complete exploratory data analysis with
viz.show(df) - 📊 Statistical Annotations - Automatic outlier detection, trend lines, and statistics
- 🚀 Zero Configuration - Works great with sensible defaults
📦 Installation
pip install instaviz
##🚀 Quick Start
```bash
import instaviz as viz
import pandas as pd
import numpy as np
# Create sample data
df = pd.DataFrame({
'category': ['A', 'B', 'C', 'D'] * 25,
'value': np.random.randn(100),
'score': np.random.exponential(50, 100)
})
# 🔍 Automatic EDA - One line to explore your data!
viz.show(df)
# 📊 Smart Plotting - Automatically chooses the best chart
viz.plot(df, x='category', y='value')
# 📈 Distribution Analysis
viz.distribution(df, 'score')
# 🆚 Category Comparison
viz.compare(df, x='category', y='value')
# 🔗 Correlation Heatmap
viz.correlate(df)
## 📖 API Reference
Core Functions
Function Description
viz.show(df) Automatic EDA dashboard
viz.plot(df, x, y) Smart auto-plot
viz.distribution(df, column) Distribution analysis
viz.compare(df, x, y) Category comparison
viz.trend(df, date_col, value_col) Time series trends
viz.correlate(df) Correlation heatmap
viz.relationship(df, x, y) Scatter/relationship plots
viz.target(df, target) Feature vs target analysis
Themes
Python
# Available themes: 'instaviz', 'dark', 'minimal', 'vibrant', 'corporate'
viz.set_theme('dark')
Configuration
Python
viz.set_config(
figsize=(12, 8),
show_insights=True,
auto_annotate=True,
max_categories=20
)
## 🎨 Example Gallery
Distribution Analysis
Python
viz.distribution(df, 'price', kind='raincloud')
Time Series
Python
viz.trend(df, 'date', 'revenue', smooth=3)
Relationship with Grouping
Python
viz.relationship(df, 'age', 'income', hue='education')
## 📋 Requirements
Python >= 3.8
NumPy >= 1.20.0
Pandas >= 1.3.0
Matplotlib >= 3.5.0
SciPy >= 1.7.0
## 👨💻 Author
Md. Ujayer Hasnat
📧 Email: dev.ujayerhasnat@gmail.com
💼 LinkedIn: linkedin.com/in/ujayerhasnat
🐙 GitHub: github.com/CodexUjayer
## 📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
## 🤝 Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
## ⭐ Star History
If you find this project useful, please consider giving it a star on GitHub!
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
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 instavizlib-1.0.0.tar.gz.
File metadata
- Download URL: instavizlib-1.0.0.tar.gz
- Upload date:
- Size: 23.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
823e594751e680d22349d8534acc8ba77d5355c0e704c27f4f50d305618ef431
|
|
| MD5 |
12104ae16eabadc4ed0cc55dc36268e2
|
|
| BLAKE2b-256 |
af88cccc075316848f8751d3dc193ea1438894162b1ebb53ff024823b4663f63
|
File details
Details for the file instavizlib-1.0.0-py3-none-any.whl.
File metadata
- Download URL: instavizlib-1.0.0-py3-none-any.whl
- Upload date:
- Size: 21.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
79223834b6db1f4bfd19d857e60bb919c87c753a0d1130c66521d884dc53d633
|
|
| MD5 |
af318537cfc17e23c45bdb26f51e5ee6
|
|
| BLAKE2b-256 |
64b6db40ea8ab9ebc6b13e18508c8ed634b255dcdd483c80ad4382d42858fcb8
|