Ruby-charts: Generate pie, bar, and line charts from data files
Ruby-charts is a Ruby gem that enables users to generate professional pie, bar, and line charts from CSV, XLSX, YAML, or Ruby hash data sources. It uses pure Ruby with ruby-libgd for rendering, requires no external dependencies or APIs, and supports customization like colors, titles, legends, and fonts. The tool is optimized for performance, works offline, and integrates well with Rails for use in dashboards, email reports, and background jobs.
- ▪Ruby-charts supports multiple chart types including pie, vertical bar, horizontal bar, and line charts.
- ▪It can read data from CSV, XLSX, YAML files, or inline Ruby hashes.
- ▪The gem offers professional styling options such as custom colors, titles, subtitles, legends, and FreeType font rendering.
- ▪Charts are rendered server-side in about 100ms, making it scalable to over 1000 charts per second.
- ▪Ruby-charts integrates with Rails for use in admin dashboards, email reports, and API responses.
Hacker News (Newest) files mainly under programming. We currently carry 5,306 of its stories.
Story provenance
Source · retrieval · rights · ranking — open for full record
inspect →
Attribution is not the same as permission. This drawer separates discovery metadata, excerpts, WeSearch-generated summaries, reuse status, and whether the publisher receives the visit. Nothing here claims a legal grant the publisher has not made.
Record
| Original publisher | GitHub |
| Canonical URL | https://github.com/ggerman/ruby-charts |
| Publication time | Sat, 16 May 2026 14:06:22 +0000 |
| Retrieval time | 2026-05-16T14:10:18.705Z |
| Last seen | 2026-05-16T14:10:18.705Z |
| Headline source | Publisher (no WeSearch rewrite) |
| Excerpt source | publisher body |
| Excerpt method | First ~120 words (~800 chars) of extracted publisher body, fair-use limited. |
| Summary | WeSearch · cerebras-chat (WeSearch summarizer) |
| Summary source text | contentText |
| Citation coverage | Summary is a WeSearch-generated derivative; primary citation is the original publisher URL. |
| Cluster | GuilKb-Q8kuk |
| Cluster logic | Grouped by semantic title/content similarity across sources within a rolling window. Same-publisher template collisions are excluded from coverage comparison. |
| Ranking reason | Story pages are not engagement-ranked. Hub feeds use recency, with optional source-diversified chronological ordering (cap consecutive stories per source). No personalized ranking. |
| Publisher visit | Yes — open original |
| Substitutes article? | No — link-out required for full text |
Rights status (four layers)
WeSearch handling by dimension
| Indexing | May the item be indexed (stored, ranked, made findable)? | Allowed |
| Snippet | May a short excerpt of the publisher's text be shown? | Allowed |
| AI summary | May WeSearch generate its own short summary of the article? | Limited |
| Retrieval / RAG | May the content be exposed for third-party retrieval-augmented generation? | Not asserted |
| Model training | May the content be used to train AI models? | Not asserted |
| Commercial reuse | May the content be reused commercially? | Not permitted |
Basis: Derived from the published RSS/Atom feed. Contact: [email protected]. Reviewed: 2026-07-24.
Opening excerpt (first ~120 words) tap to expand
ruby-charts Professional charts from CSV, XLSX, and YAML data files. Zero dependencies, pure Ruby rendering using ruby-libgd. RubyCharts.from_csv('sales.csv') .type(:pie) .title('Q1 Sales Distribution') .save('report.png') Features ✅ Multiple Chart Types Pie charts Vertical bar charts Horizontal bar charts Line charts ✅ Multiple Data Sources CSV files XLSX (Excel) spreadsheets YAML files Ruby hashes (inline data) ✅ Professional Styling Custom colors Titles and subtitles Automatic legends Text labels with FreeType rendering Grid lines and axes ✅ Performance Server-side rendering (100ms per chart) Zero external APIs Scalable to 1000+ charts/second Works offline ✅ Rails Integration Perfect for admin dashboards Embed in emails Generate reports in background jobs Serve via API Installation Add…
Excerpt limited to ~120 words for fair-use compliance. The full article is at GitHub.