Шаблон портфоліо для курсу «Візуалізація даних»

This commit is contained in:
2026-09-06 23:10:16 +03:00
commit 1abe7e2468
10 changed files with 1438 additions and 0 deletions
+61
View File
@@ -0,0 +1,61 @@
{
"$schema": "https://vega.github.io/schema/vega-lite/v5.json",
"description": "Демонстраційний графік шаблону. Дані вигадані. Замініть його своїм.",
"title": {
"text": "Заголовок графіка",
"anchor": "start",
"fontSize": 15
},
"height": 180,
"data": {
"values": [
{
"категорія": "Категорія А",
"значення": 42
},
{
"категорія": "Категорія Б",
"значення": 31
},
{
"категорія": "Категорія В",
"значення": 27
},
{
"категорія": "Категорія Г",
"значення": 18
}
]
},
"mark": {
"type": "bar",
"color": "#003964"
},
"encoding": {
"y": {
"field": "категорія",
"type": "nominal",
"title": null,
"sort": "-x"
},
"x": {
"field": "значення",
"type": "quantitative",
"title": null,
"axis": {
"tickCount": 5,
"format": "d"
}
},
"tooltip": [
{
"field": "категорія",
"title": "категорія"
},
{
"field": "значення",
"title": "значення"
}
]
}
}