John-Williams-ATL/svg-chart-training-data
收藏Hugging Face2026-03-26 更新2026-03-29 收录
下载链接:
https://hf-mirror.com/datasets/John-Williams-ATL/svg-chart-training-data
下载链接
链接失效反馈官方服务:
资源简介:
---
license: apache-2.0
task_categories:
- text-generation
language:
- en
tags:
- svg
- chart-generation
- fine-tuning
- business-charts
size_categories:
- n<1K
---
# svg-chart-training-data
915 training examples for SVG business chart generation, across 12 chart types.
Generated using gemma3:12b via Ollama, validated through a 3-gate pipeline (extract → XML parse → coordinate bounds), and used to fine-tune per-type LoRA adapters on Gemma 3 12B via MLX.
## Schema
Each line is a JSON object with two fields:
```json
{
"input": {
"chart_type": "bar",
"heading": "Quarterly Revenue ($M)",
"value_format": "dollar",
"data_points": [{"label": "Q1", "value": 120}, ...]
},
"output": "<svg viewBox=\"0 0 500 300\" ...>...</svg>"
}
```
## Chart types
`bar` · `line` · `area` · `pie` · `donut` · `funnel` · `scatter` · `bubble` · `grouped_bar` · `stacked_bar` · `waterfall` · `horizontal_bar`
## Per-type counts
| Type | Count |
|---|---|
| bar | 82 |
| horizontal_bar | 73 |
| all others | 76 each |
| **Total** | **915** |
## Related
Model adapters: [John-Williams-ATL/svg-chart-lora](https://huggingface.co/John-Williams-ATL/svg-chart-lora)
提供机构:
John-Williams-ATL



