A customizable data visualization library
Project description
Custom Viz Lib
カスタマイズ可能なデータビジュアライゼーションライブラリ
概要
Custom Viz Libは、インタラクティブでカスタマイズ可能なデータビジュアライゼーションを簡単に作成するためのライブラリです。
特徴
- インタラクティブなグラフとチャートの作成
- カスタマイズ可能なテーマとスタイル
- データストーリーテリングのサポート
インストール
pip install custom_viz_lib
使い方
from custom_viz_lib import chart, theme
# データの読み込み
data = [...]
# チャートの作成
bar_chart = chart.BarChart(data)
bar_chart.apply_theme(theme.DarkTheme())
bar_chart.show()
使用例1(Google Colabで使用し、バーチャートの作成する)
!pip install custom_viz_lib
from custom_viz_lib.chart import BarChart
from custom_viz_lib.theme import DarkTheme
# サンプルデータ
data = [1, 2, 3, 4, 5]
chart = BarChart(data)
chart.apply_theme(DarkTheme())
chart.show()
使用例2(Google Colabで使用し、ラインチャートの作成する)
!pip install custom_viz_lib
from custom_viz_lib.chart import LineChart
from custom_viz_lib.theme import LightTheme
# サンプルデータ
data = [10, 20, 15, 25, 30]
chart = LineChart(data)
chart.apply_theme(LightTheme())
chart.show()
使用例3(Google Colabで使用し、CSVファイルからデータを読み込んでバーチャートを作成する)
!pip install custom_viz_lib
import pandas as pd
from custom_viz_lib.chart import BarChart
from custom_viz_lib.theme import DarkTheme
from custom_viz_lib.data_loader import load_csv
# CSVファイルのパス
file_path = 'path/to/your/data.csv'
# データの読み込み
data = load_csv(file_path)['column_name'].tolist()
chart = BarChart(data)
chart.apply_theme(DarkTheme())
chart.show()
使用例4(Google Colabで使用し、データを正規化してラインチャートを作成する)
!pip install custom_viz_lib
from custom_viz_lib.chart import LineChart
from custom_viz_lib.theme import LightTheme
from custom_viz_lib.utils import normalize_data
# サンプルデータ
data = [10, 20, 15, 25, 30]
# データの正規化
normalized_data = normalize_data(data)
chart = LineChart(normalized_data)
chart.apply_theme(LightTheme())
chart.show()
ライセンス
This project is licensed under the MIT 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
custom_viz_lib-1.0.0.tar.gz
(2.8 kB
view details)
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 custom_viz_lib-1.0.0.tar.gz.
File metadata
- Download URL: custom_viz_lib-1.0.0.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c7ef08202e136d8b905b3d1c521da8da6ec7c3deb16e3ce9073e14e3fa1dee60
|
|
| MD5 |
7de0db4c4afae30fbfdf0005706c1dbd
|
|
| BLAKE2b-256 |
5d86c92eeb73cb3603f305065a19a1ea7ba95a4fcbb1439db24850ac7eaf6963
|
File details
Details for the file custom_viz_lib-1.0.0-py3-none-any.whl.
File metadata
- Download URL: custom_viz_lib-1.0.0-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
568c831098af77235df862d48e965dd6a4b9c37d49519cb720fc2e2f580b1ef9
|
|
| MD5 |
2788d6050bd5d07f3002ce71e93e84f6
|
|
| BLAKE2b-256 |
971a425d568818b7bfdaebea0ef5156678b268479f386fea921aee9e2977dc84
|