Skip to content

A blend of "chart" and "text,". No pixels? No problem. ASCII charts are here to visualize your data.

License

Notifications You must be signed in to change notification settings

MetalbolicX/chartex

Repository files navigation

chartex

chartex Logo

chartex Making sense of data, one character at a time, on any screen.

Supported Versions:

npm

🚀 Quick Installation

Add the required dependencies to your project:

npm i chartex

📊 Draw the First Chart

Here's a simple example of how to use chartex:

  1. Create a file named main.mjs.
  2. Add the following code to main.mjs:
import { bar } from "chartex";
const data = [
  { key: "A", value: 10, style: "#" },
  { key: "B", value: 20, style: "#" },
  { key: "C", value: 30, style: "#" },
];
const options = { width: 50, height: 10, style: "# " };
const chart = bar(data, options);
console.log(chart);
  1. Run the application:
node main.js

📚 Documentation

view - Documentation

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Technologies used

TypeScript
TypeScript

License

Released under MIT by @MetalbolicX.

About

A blend of "chart" and "text,". No pixels? No problem. ASCII charts are here to visualize your data.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published