PrateekKumarSingh / Graphical
Licence: mit
Open-Source, Platform independent module that consumes data points as input and plots them on a 2D graph [Scatter / Bar / Line] on the PowerShell Console/Terminal
Stars: ✭ 237
Programming Languages
powershell
5483 projects
Projects that are alternatives of or similar to Graphical
Tart
Tart - draw ASCII art in the terminal with your mouse!
Stars: ✭ 296 (+24.89%)
Mutual labels: terminal, ascii-art
Ftxui
💻 C++ Functional Terminal User Interface. ❤️
Stars: ✭ 433 (+82.7%)
Mutual labels: terminal, ascii-art
Csconsoleformat
.NET C# library for advanced formatting of console output [Apache]
Stars: ✭ 296 (+24.89%)
Mutual labels: terminal, ascii-art
Ascii
👾 ASCII Roulette :: ascii art video chat on the cli
Stars: ✭ 202 (-14.77%)
Mutual labels: terminal, ascii-art
Diagram
CLI app to convert ASCII arts into hand drawn diagrams.
Stars: ✭ 642 (+170.89%)
Mutual labels: terminal, ascii-art
Youtube Terminal
📺 Stream YouTube videos as ascii art in the terminal!
Stars: ✭ 84 (-64.56%)
Mutual labels: terminal, ascii-art
Tty Pie
Draw pie charts in your terminal window
Stars: ✭ 125 (-47.26%)
Mutual labels: terminal, ascii-art
Cowsay Files
A collection of additional/alternative cowsay files.
Stars: ✭ 216 (-8.86%)
Mutual labels: terminal, ascii-art
Zero
A 3D renderer written in JavaScript and rendered to the terminal.
Stars: ✭ 2,307 (+873.42%)
Mutual labels: terminal, ascii-art
Wttr.in
⛅ The right way to check the weather
Stars: ✭ 16,345 (+6796.62%)
Mutual labels: terminal, ascii-art
S Tui
Terminal-based CPU stress and monitoring utility
Stars: ✭ 2,825 (+1091.98%)
Mutual labels: terminal
Jquery.terminal
jQuery Terminal Emulator - JavaScript library for creating web-based terminals with custom commands
Stars: ✭ 2,623 (+1006.75%)
Mutual labels: terminal
Powershell Console/Terminal Graph
Consumes data points as input and plots them on a 2D graph in the Powershell console
Type of Graphs Available -
Installation
PowerShell v5 and Later
You can install the Graphical
module directly from the PowerShell Gallery
-
[Recommended] Install to your personal PowerShell Modules folder
Install-Module Graphical -scope CurrentUser
-
[Requires Elevation] Install for Everyone (computer PowerShell Modules folder)
Install-Module Graphical
PowerShell v4 and Earlier
To install to your personal modules folder run:
iex (new-object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/PrateekKumarSingh/Graphical/master/Install.ps1')
Features
- Color-coded output depending upon the Value of data point
- Colors codes can be customized by passing a color-map hash table
- Custom X an Y-Axis labels
- Graph in console is independent and fully customizable, not like Task Manager (Performance Tab)
- Could be incorporated in Powershell scripts
- Can consume data points generated during script run or Pre stored data like in a file or database.
- Independent of PowerShell version, and Works on PowerShell Core (Windows\Linux)
Use Cases
-
The function
Show-Graph
takes data points as input and plot them on a 2D graphYou can also customize the labels on X and Y-Axis and provide a graph title
The function
Show-Graph
can consume data points, generated during script execution or from a file or database like in the above example. -
Plotting Audio Peak Levels in your PowerShell Console (Don't forget to play some audio! :P)
Install-Module AudioDeviceCmdlets, Graphical Import-Module AudioDeviceCmdlets, Graphical -Verbose $Device = Get-AudioDevice -Playback [int[]]$datapoints [email protected](0)*50 do { $PeakValue = $Device.Device.AudioMeterInformation.MasterPeakValue*100 $datapoints += [int]$PeakValue $datapoints = $datapoints | Select-Object -last 50 Clear-Host Show-Graph -datapoints $datapoints -GraphTitle AudioLevels Show-Graph -datapoints $datapoints -GraphTitle AudioLevels -Type Line Show-Graph -datapoints $datapoints -GraphTitle AudioLevels -Type Scatter Start-Sleep -Milliseconds 1000 } while ($true)
-
Visualizing Azure Monitor Metrics like CPU %age on a Virtual machine in #PowerShell
```PowerShell
$ResourceID = '/subscriptions/<subscription>/resourceGroups/demo-resource-group/providers/Microsoft.Compute/virtualMachines/SimpleWinVM'
$Data = Get-AzMetric -ResourceId $ResourceID -WarningAction SilentlyContinue | Select-Object unit, data
$Datpoints = $data.data.average.foreach({[int]$_})
Import-Module Graphical
Show-Graph -Datapoints $Datpoints -GraphTitle 'CPU (% age)'
```
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].