Python library for generating fan, line, and pie charts as SVG or PNG.
Project description
README.md
NiceCharts v1.0
NiceCharts là thư viện Python đơn giản giúp bạn tạo các loại biểu đồ: fan chart, line chart, và pie chart, xuất ra định dạng SVG hoặc PNG.
🔹 Tính năng
- Tạo Fan Chart (180° hoặc 360° – Pie chart)
- Tạo Line Chart với các điểm, nhãn trục, tiêu đề
- Xuất trực tiếp ra SVG hoặc PNG
- Màu sắc và nhãn tùy chỉnh
- Module nhẹ, dễ sử dụng, không phụ thuộc matplotlib
🔹 Cài đặt
pip install Pillow cairosvg
# Hoặc sau khi upload PyPI:
pip install nicecharts
🔹 Sử dụng cơ bản
from nicecharts import fan_chart, line_chart, pie_chart
# Fan chart
fan_chart([30, 20, 50], labels=["A","B","C"], title="Fan Demo", outfile="fan.svg")
# Line chart
line_chart([1,2,3,4], [10,20,15,25], title="Line Demo", outfile="line.svg")
# Pie chart (full circle)
pie_chart([40,60], labels=["X","Y"], title="Pie Demo", outfile="pie.svg")
🔹 License
MIT License: Mọi người được phép sử dụng thư viện để học tập và cá nhân.
🔹 Liên hệ
GitHub: https://github.com/Akaza-12345/nicecharts Email: tvhlam2k13@gmail.com
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 nicecharts-1.1.1.tar.gz.
File metadata
- Download URL: nicecharts-1.1.1.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d1b6cccfbe810f5a7cce9769a62e6c712646018358cdc74e108e0e683746ddd
|
|
| MD5 |
16c53d03464a10a5898477791d00be0b
|
|
| BLAKE2b-256 |
57b575e35e7e99ba5a7cc60ae68150f894777e769060cf50345321bc0c8f84de
|
File details
Details for the file nicecharts-1.1.1-py2.py3-none-any.whl.
File metadata
- Download URL: nicecharts-1.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
54e9edc0bdd9399d87ac057fed1b18f498abbc2af10922d22a3c6f5d523ed8a3
|
|
| MD5 |
e54a41c91de181e602573ce8d6a63d8e
|
|
| BLAKE2b-256 |
cf7f2b98c9dda4c8b5a1440b9744316750b039ceb34f475e3e5c40aebfae390c
|