Skip to content

A Python library for generating ASCII graphs, including line charts, bar charts, and pie charts. Ported and enhanced from TheNetNode's src/graph.c, this tool offers customizable text-based visualizations for data.

License

Notifications You must be signed in to change notification settings

DerHirschi/ascii-graph-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

ascii-graph-py

ascii-graph-py is a versatile Python library that generates ASCII art representations of data, including line graphs, bar graphs, and pie charts. Originally inspired by and ported from the C implementation in TheNetNode (src/graph.c), it has been extended with additional features like customizable pie chart sizes, fill options, and more. Whether you're visualizing data in a terminal or just love retro text-based graphics, this tool provides an easy-to-use solution with flexible configuration options.

Features

  • Line Graphs: Plot data points or lines with customizable scaling.
  • Bar Graphs: Display data as filled bars.
  • Pie Charts: Render circular charts with optional filling and adjustable radius.
  • Lightweight and dependency-free (uses only Python's standard library).
  • Inspired by classic ASCII art, modernized for flexibility.

Installation

No external dependencies are required! Simply download the script and use it in your Python project.

About

A Python library for generating ASCII graphs, including line charts, bar charts, and pie charts. Ported and enhanced from TheNetNode's src/graph.c, this tool offers customizable text-based visualizations for data.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages