You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Update README with latest
* Add SVGs to README
* Allow named args and flattened data for lists
- Enables using named arguements such as Data(labels=[], data=[])
- Support flat data, simple lists:
Data(labels=['Q1', 'Q2'], data=[10, 20])
- Maintains backwards compatibility
* Add API docs
* Update main README with links to docs/
Most results can be copied and pasted wherever you like, since they use standard block characters. However the color charts will not show, since they use terminal escape codes for color. A couple images to show color examples:
63
-
64
-
```
65
-
termgraph data/ex4.dat --color {blue,red}
66
-
```
93
+

67
94
68
-
<imgsrc="https://user-images.githubusercontent.com/45363/43405623-1a2cc4d4-93cf-11e8-8c96-b7134d8986a2.png"width="655"alt="Multi variable bar chart with colors" />
<imgsrc="https://user-images.githubusercontent.com/45363/43405624-1a4a821c-93cf-11e8-84f3-f45c65b7ca98.png"width="686"alt="Multi variable stacked bar chart with colors" />
101
+

75
102
103
+
### Calendar Heatmap
76
104
77
105
Calendar Heatmap, expects first column to be date in yyyy-mm-dd
-`format`: Number format string (default: "{:<5.2f}")
198
+
-`suffix`: Add suffix to all values
199
+
-`no_labels`: Don't show labels
200
+
-`no_values`: Don't show values
201
+
-`colors`: List of color names
176
202
177
-
###Background
203
+
## Background
178
204
179
205
I wanted a quick way to visualize data stored in a simple text file. I initially created some scripts in R that generated graphs but this was a two step process of creating the graph and then opening the generated graph.
180
206
@@ -186,7 +212,7 @@ All contributions are welcome! For detailed information about the project struct
186
212
187
213
**Quick Start:**
188
214
- 🐛 **Bug reports** and 🚀 **feature requests**: Use [GitHub Issues](https://github.com/mkaz/termgraph/issues)
189
-
- 🔧 **Code contributions**: See our [development workflow](CONTRIBUTING.md#development-workflow)
215
+
- 🔧 **Code contributions**: See our [development workflow](CONTRIBUTING.md#development-workflow)
190
216
- 📚 **Documentation**: Help improve our guides and examples
191
217
192
218
**Code Quality:** We use `ruff` for linting and formatting, `mypy` for type checking, and maintain comprehensive test coverage.
0 commit comments