惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Vercel News
Vercel News
博客园 - 【当耐特】
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
小众软件
小众软件
Hugging Face - Blog
Hugging Face - Blog
aimingoo的专栏
aimingoo的专栏
WordPress大学
WordPress大学
G
Google Developers Blog
博客园 - 叶小钗
大猫的无限游戏
大猫的无限游戏
P
Proofpoint News Feed
J
Java Code Geeks
U
Unit 42
云风的 BLOG
云风的 BLOG
阮一峰的网络日志
阮一峰的网络日志
N
Netflix TechBlog - Medium
宝玉的分享
宝玉的分享
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
D
Docker
V
Visual Studio Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
H
Help Net Security
V
V2EX
T
Tailwind CSS Blog

Hacker News: Show HN

PurrrrrFocus: Pomodoro Timer App - App Store Workflow Engine — Multi-Step Orchestration for Bun RapidPhoto: Pro Photo Editor App - App Store GitHub - think41/extrasuite: Token-efficient pull/edit/push workflow for AI agents editing Google Workspace files (Sheets, Docs, Slides, Forms) GitHub - DheerG/swarms: Achieve extraordinary results with claude code across a variety of tasks SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads Show HN: VCoding – A 5 MB native Windows IDE with no dynamic dependencies Show HN: LLMs don't hallucinate because they're bad at math, it's the format GitHub - Agent-FM/agentfm-core: AgentFM is a peer-to-peer network that turns everyday computers into a decentralized AI supercomputer. AgentFM lets you run massive AI workloads directly across a global mesh of idle CPUs and GPUs. Show HN: Tracking Top US Science Olympiad Alumni over Last 25 Years GitHub - Potarix/agent-hub: One place to talk to all your agents Show HN: Runtime security for AI agents(injection,tool abuse, data exfiltration) GitHub - dubeyKartikay/lazyspotify: Terminal Spotify client for macOS and Linux GitHub - the-banana-tool/king-louie: Easy to use GUI Personal AI Assistant. Win/Linux/Mac. Show HN I made my vacation rental bookable by AI agents–no Airbnb, 0% commission GitHub - basteez/jsf-autoreload: maven plugin to enable hot reload on jsf projects uvm32/hosts/host-gdbstub at main · ringtailsoftware/uvm32 GitHub - labsai/EDDI: Config-driven engine that turns JSON into production-grade AI agents. Multi-agent orchestration, 12+ LLM providers, MCP/A2A protocols, RAG, persistent memory, and enterprise compliance (EU AI Act, GDPR, HIPAA). Built on Quarkus. GitHub - glitchnsec/fortyone-oss: AI Executive Assistant Platform Quickstart | Alien GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. GitHub - ocrbase-hq/ocrbase: 📄 PDF/IMG ->.MD/JSON Document OCR API for PaddleOCR and GLMOCR. Self-hostable. GitHub - impactjo/home-memory: MCP server that lets your AI assistant remember everything about your home. GitHub - Sets88/dbcls: DbCls is a powerful terminal database client that supports various databases GitHub - neptun2000/heor-agent-mcp GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh RollQuation: Math Puzzles - Apps on Google Play GitHub - dropbox/witchcraft Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis GitHub - opentalon/opentalon: OpenTalon is an open-source platform built from the ground up in Go as a robust alternative to OpenClaw
GitHub - tombedor/excalicharts
2026-04-11 · via Hacker News: Show HN

Generate editable .excalidraw chart scenes from a small Vega-Lite-style spec and CSV data.

Charts feel native to Excalidraw: sketchy, presentation-friendly, and easy to tweak after generation.

Gallery

See examples/ for the full set of example specs, generated .excalidraw scenes, and PNG exports.

Why This Exists

Excalidraw supports charts, but currently only supports bar charts. This library fills supports a wider variety, configured with a standard JSON schema (Vega Lite).

What You Get

Input:

  • chart.json
  • data.csv

Output:

  • chart.excalidraw
  • optional chart.png export

Supported chart types:

  • line
  • area
  • stacked-area
  • column
  • stacked-column
  • scatter

Quick Start

Install the CLI locally from this repo:

npm install
npm link

Render one of the included examples:

excalicharts render examples/stacked-area-spotify-catalogue

Validate a chart spec without generating output:

excalicharts validate examples/stacked-area-spotify-catalogue

Export a generated scene to PNG:

./excalidraw-export.sh examples/stacked-area-spotify-catalogue/chart.excalidraw

Regenerate the full example set:

npm run generate:examples
npm run validate:examples
npm run test:validation
./excalidraw-export.sh -f -r examples

If you do not want to install the linked CLI, you can still run the underlying script directly with node scripts/chart-cli.mjs ....

Example Spec

ExcaliCharts conforms to a focused subset of the Vega-Lite specification. The example below uses that subset rather than a fully custom chart format.

chart.json

{
  "$schema": "https://vega.github.io/schema/vega-lite/v5.json",
  "data": { "url": "./data.csv", "format": "csv" },
  "mark": "area",
  "title": {
    "text": "Spotify Catalogue Size",
    "subtitle": "Illustrative split of total catalogue size into human- and AI-generated songs over time."
  },
  "encoding": {
    "x": { "field": "year", "type": "ordinal", "title": "Year" },
    "y": { "field": "songs", "type": "quantitative", "title": "Songs in catalogue", "stack": true },
    "color": {
      "field": "source",
      "type": "nominal",
      "scale": { "domain": ["Human-generated songs", "AI-generated songs"] }
    }
  }
}

data.csv

year,source,songs
2015,Human-generated songs,30000000
2015,AI-generated songs,0
2016,Human-generated songs,35000000
2016,AI-generated songs,2000

Workflow

  1. Author chart.json and data.csv.
  2. Run the CLI to generate chart.excalidraw.
  3. Open the result in Excalidraw.
  4. Keep editing the chart like any other Excalidraw scene.
  5. Export to PNG if needed.

This is currently a generator-first workflow, not an in-editor Excalidraw plugin.

CLI

excalicharts validate <dir>
excalicharts validate --chart path/to/chart.json [--data path/to/data.csv]
excalicharts render <dir>
excalicharts render --chart path/to/chart.json [--data path/to/data.csv] [--out path/to/chart.excalidraw]
excalicharts render-examples

Current install path:

npm install
npm link

That exposes the excalicharts command from this checkout. If the package is published later, the same CLI name will carry over.

Supported Spec Surface

The input format is a focused Vega-Lite-style subset documented in schemas/chart.schema.json.

Supported marks:

  • line
  • area
  • bar
  • point

Supported fields and options:

  • title as a string or { text, subtitle }
  • data.url
  • encoding.x.field
  • encoding.y.field
  • encoding.color.field
  • encoding.x.title
  • encoding.y.title
  • encoding.y.stack
  • encoding.color.scale.domain
  • encoding.color.legend
  • encoding.tooltip.field for scatter labels

Mark behavior:

  • line: multi-series line charts over ordered categorical or temporal x-values
  • area: single-series area or stacked area via encoding.y.stack
  • bar: vertical columns or stacked columns via encoding.y.stack
  • point: scatter plots with quantitative x/y axes

Current Assumptions

  • CSV files must include a header row
  • numeric fields must parse cleanly as numbers
  • stacked charts assume non-negative values
  • categorical x-axes use row order
  • line and area charts treat x as ordered categories rather than continuous scales
  • when rendering a directory, data.url is resolved relative to chart.json

Not Supported Yet

  • transforms
  • layers
  • facets and concatenation
  • grouped bars
  • pie or arc marks
  • log scales
  • size, shape, or opacity channels
  • conditional encodings
  • custom legend layout
  • arbitrary axis configuration blocks