Hacker News Show HN· Mark7499·· 3 天前AI 评分52
ChartCN 开源发布:把 CSV 或 JSON 转成 shadcn/ui 图表组件
Show HN: Open-Source Shadcn Chart Generator
AI 导读
ChartCN 是一个免费开源的 shadcn/ui 与 React 数据转图表生成器,粘贴 CSV 或 JSON 后可预览 14 种基于 Recharts 的图表类型,再复制自包含的 TSX 组件或通过一条 shadcn add 命令安装。
来源:Hacker News Show HN · github.com
社媒成稿工作台 · 一键复制
飞书同步推送 · 含数据/日期/出处/启发ChartCN 开源发布:把 CSV 或 JSON 转成 shadcn/ui 图表组件 📊 核心数据与事实(2026-11-30): ChartCN 是一个免费开源的 shadcn/ui 与 React 数据转图表生成器,粘贴 CSV 或 JSON 后可预览 14 种基于 Recharts 的图表类型,再复制自包含的 TSX 组件或通过一条 shadcn add 命令安装。 • 原文实测切片:upload a file or edit the table directly Your field names in the code — the generated component uses your real column / JSON keys ( { month: "Jan", revenue: 42000 } ), so it accepts your API response without mapping code Install with the… • 原文实测切片:revenue and growth rate Pie / Donut Part-to-whole breakdowns Radar Multi-metric comparison across a category Scatter Relationship between two numeric variables Radial / Gauge Progress toward a goal per category, as rings or a half gauge… • 原文实测切片:Images for READMEs and docs Below the preview: PNG / SVG — download exactly what the preview shows (PNG at 2x). 💡 对独立开发者的启发: 1/ 写代码发新版是最舒服的「伪勤奋」——大多数独立开发项目零收入不是产品不行,而是压根没做分发。 2/ 任何一次上线流量都会自然衰减;在动手写第二个工具之前,先给第一个产品建好可持续获客漏斗(SEO 长尾词、Reddit 真实复盘、社媒切片)。 3/ 把 80% 精力放分发和落地页首屏转化上:先靠单点高痛点工具跑出稳定现金流,再谈矩阵放大。 📅 日期:2026-11-30(北京时间) 📰 信息源出处:Hacker News Show HN · Mark7499(github.com) 🔗 原文:https://github.com/ShadcnDeck/chartcn-shadcn-chart-generator 📡 归档:https://billionare.me/items/b4l1ylnpy43zlvev784evbegi