ChartPipeline / examples /chart_engine_sample.json
Ray1ee01's picture
Add runnable ChartPipeline Space
216c0a4 verified
Raw
History Blame Contribute Delete
2.14 kB
{
"description": "A sample sales split used to verify ChartPipeline chart rendering.",
"chart_name": "donut_plain_chart_01",
"data": {
"data": [
{
"Channel": "Retail",
"Revenue": 42
},
{
"Channel": "Online",
"Revenue": 35
},
{
"Channel": "Partners",
"Revenue": 18
},
{
"Channel": "Other",
"Revenue": 5
}
],
"columns": [
{
"name": "Channel",
"description": "Sales channel",
"data_type": "categorical",
"unit": ""
},
{
"name": "Revenue",
"description": "Revenue share",
"data_type": "numerical",
"unit": "%"
}
],
"type_combination": "categorical + numerical"
},
"metadata": {
"title": "Revenue Share by Channel",
"description": "Sample sales channels used for renderer validation.",
"main_insight": "Retail and online channels account for most revenue."
},
"titles": {
"main_title": "Revenue Share by Channel",
"sub_title": "Retail and online account for the majority of sales."
},
"secondary_data": [],
"variables": {
"width": 720,
"height": 540,
"has_rounded_corners": false,
"has_shadow": false,
"has_spacing": false,
"has_gradient": false,
"has_stroke": false
},
"typography": {
"title": {
"font_family": "Arial",
"font_size": "28px",
"font_weight": 700
},
"description": {
"font_family": "Arial",
"font_size": "16px",
"font_weight": 500
},
"label": {
"font_family": "Arial",
"font_size": "15px",
"font_weight": 500
},
"annotation": {
"font_family": "Arial",
"font_size": "12px",
"font_weight": 400
}
},
"colors": {
"field": {
"Retail": "#2f80ed",
"Online": "#27ae60",
"Partners": "#f2994a",
"Other": "#9b51e0"
},
"other": {
"primary": "#2f80ed",
"secondary": "#27ae60"
},
"background_color": "#ffffff",
"text_color": "#222222"
},
"processed": true,
"datafacts": []
}