A toolkit for data exploration and visualization
Project description
Exploralytics
What is it?
A Python toolkit that makes creating Plotly visualizations straightforward — focusing on common EDA plots like distributions, correlations, and other visualization. I created this to simplify my own workflow, but other data professionals might find it useful too.
Main Features
Making subplots and visualizations less of a hassle. You can create complex layouts with a single function call — perfect for quick data exploration or when you're trying to understand your dataset's intermediate characteristics.
Here's what you can do with Exploralytics:
# One line for distribution plots of all numeric columns
viz.plot_histograms(df, title='Distributions', num_cols=3)
# Quick correlation analysis
viz.plot_correlation(df, title='Correlations')
# Distribution + Box plots in one view
viz.plot_distributions(df, title='Analysis')
Installation
First, make sure you have Python 3.7 or newer.
Using pip:
pip install exploralytics
Or install from source:
git clone https://github.com/yourusername/exploralytics.git
cd exploralytics
pip install -e .
Usage Examples
Let's look at some common scenarios:
from exploralytics.visualize import Visualizer
import pandas as pd
# Create your data
df = pd.DataFrame({
'sales': [100, 150, 200, 120, 180],
'customers': [10, 15, 20, 12, 18],
'satisfaction': [4.5, 4.2, 4.8, 4.1, 4.6]
})
# Initialize the visualizer — you can customize colors and style
viz = Visualizer(color='#336699') # Using a nice blue
# Create distribution plots — 2 columns
fig = viz.plot_histograms(
df,
title='Sales Metrics',
num_cols=2
)
fig.show()
# Analyze correlations
fig = viz.plot_correlation(
df,
title='Metric Relationships'
)
fig.show()
# Create scatter matrix
fig = viz.plot_scatter_matrix(
df,
title='Detailed Relationships'
)
fig.show()
Customization
Change the look of your plots:
# Custom styling
viz = Visualizer(
color='#FF6B6B', # Custom color
height=800, # Taller plots
width=1000 # Wider plots
)
# Update style settings
viz.update_style(
font_size=14,
title_x=0.5
)
Development
Want to help out? Here's how:
- Fork the repository
- Create a feature branch
git checkout -b feature/cool-new-feature
- Make your changes and test them
- Push and create a pull request
Testing
Run the test suite:
pytest tests/
License
BSD 3-Clause License
Need Help?
Open an issue on GitHub if you run into problems or have suggestions. I check them regularly and try to help when I can.
Note: This is an early release — I'm using it for my own work and sharing it in case others find it helpful. Expect updates and improvements as I add features I need.
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 exploralytics-0.1.0.tar.gz.
File metadata
- Download URL: exploralytics-0.1.0.tar.gz
- Upload date:
- Size: 11.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4df209b0abe6b36b9fc658cd7268d8405c7706c5978816fb297c6292e282f1db
|
|
| MD5 |
024ad06b5a478e0d0fe09e9ec1f5d78a
|
|
| BLAKE2b-256 |
61d10a69eac6356cc8d161272b5d10f645b20b28a24e8d170f810bb374eeca09
|
File details
Details for the file exploralytics-0.1.0-py3-none-any.whl.
File metadata
- Download URL: exploralytics-0.1.0-py3-none-any.whl
- Upload date:
- Size: 12.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b6855ecfd26c672b1207ac38c681996fff0de26e96c175a3c57c6b0fb3aaa80f
|
|
| MD5 |
a0444a780741616d19798d4d23c28848
|
|
| BLAKE2b-256 |
3da55f895b1b811a3533d7af4e16bebba511f2e491893081de742739a94bbc6f
|