Registry / cli / tty-pie

tty-pie

JSON →
library0.4.0rbrubygemsunverified

Draw pie charts in your terminal window.

gem install tty-pie
INSTALL
IMPORT
SIG · TTY-PIE
T
tty-pie
clirubyv0.4.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

TTY::Pie
require 'tty-pie'

Render a pie chart in the terminal

require 'tty-pie' data = [ { name: 'Ruby', value: 40, color: :red }, { name: 'Python', value: 30, color: :green }, { name: 'JS', value: 30, color: :blue } ] pie = TTY::Pie.new(data: data, radius: 8) puts pie
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.4.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
39 hits · last 30 days
node
34
OpenAI (training)
1
Resources
tty-pie — gem install tty-pie · libregistry