一键导入
一键导入
Single-file horizontal-swipe HTML deck. Built by copying the seed `assets/template.html` (which carries the proven 5-rule iframe nav script) and pasting slide layouts from `references/layouts.md`. Pitch decks, product overviews, study material — when you don't need the magazine aesthetic of `magazine-web-ppt`.
Huashu / huashu-md-html-inspired magazine article layout for turning Markdown or notes into a polished long-form HTML essay.
Twitter quote or data card designed to pair with a post.
Xiaohongshu-style knowledge cards, arranged as a swipeable multi-card carousel.
Editorial magazine meets e-ink: 10 layouts and 5 palettes (Ink, Indigo Porcelain, Forest Ink, Kraft Paper, Dune).
Locked 1920x1080 canvas deck with React component-level free composition, not bound to a fixed template.
| name | data-report |
| zh_name | 数据可视化报告 |
| en_name | Data Visualization Report |
| emoji | 📊 |
| description | Turns CSV, Excel, or JSON data into a polished visual report page. |
| zh_description | 把 CSV/Excel/JSON 数据转成漂亮的可视化报告页 |
| en_description | Turns CSV, Excel, or JSON data into a polished visual report page. |
| category | data |
| scenario | finance |
| aspect_hint | 桌面长页面 |
| featured | 10 |
| tags | ["data","report","chart","数据","报告"] |
| example_id | sample-data-weekly-report |
| example_name | 数据报告 · 周报 |
| example_format | csv |
| example_tagline | KPI 卡 + Chart.js 图表 + 表格 |
| example_desc | 9 个月增长数据自动渲染成可视化报告, 内联 Chart.js |
| od | {"mode":"prototype","surface":"web","platform":"desktop","scenario":"finance","upstream":"https://github.com/nexu-io/html-anything","preview":{"type":"html","entry":"index.html","reload":"debounce-100"},"design_system":{"requires":false},"example_prompt":"Use the Data Visualization Report template to turn my CSV, Excel, or JSON data into a polished visual report page. Preserve the template's visual signature, use real content and data, and avoid lorem ipsum or placeholder images.","example_prompt_i18n":{"zh-CN":"用「数据可视化报告」模板把我的内容做成一份「把 CSV/Excel/JSON 数据转成漂亮的可视化报告页」。保持模板的视觉签名,使用真实内容和数据,避免 lorem ipsum 和占位图片。"}} |
【模板: 数据可视化报告】
<canvas> 外层包一个 <div style="position:relative;height:NNNpx"> (KPI 迷你图 ~40px, 主图表 ~240–280px)。Chart.js 用 responsive:true, maintainAspectRatio:false 时若父容器没有显式高度, 会陷入 ResizeObserver 死循环, 图表无限增高直至卡死浏览器。绝对不要直接给 canvas 写 height= 属性当布局, 那个只是初始值。<table> + 现代化样式 (zebra stripe, hover, sticky header)。