Reduce chart width from 800 to 600 for improved layout consistency across all chart types

This commit is contained in:
2025-01-30 10:45:14 +02:00
parent 6d64c97858
commit 73e33a3002
22 changed files with 22 additions and 22 deletions

View File

@@ -5,7 +5,7 @@
"fontSize": 16, "fontSize": 16,
"fontWeight": "bold" "fontWeight": "bold"
}, },
"width": 800, "width": 600,
"height": 400, "height": 400,
"data": { "data": {
"values": [ "values": [

View File

@@ -5,7 +5,7 @@
"fontSize": 16, "fontSize": 16,
"fontWeight": "bold" "fontWeight": "bold"
}, },
"width": 800, "width": 600,
"height": 400, "height": 400,
"data": { "data": {
"values": [ "values": [

View File

@@ -8,7 +8,7 @@
"data": { "data": {
"url": "data/barchart.csv", "format": {"type": "csv"} "url": "data/barchart.csv", "format": {"type": "csv"}
}, },
"width": 800, "width": 600,
"height": 400, "height": 400,
"mark": { "mark": {
"type": "bar" "type": "bar"

View File

@@ -8,7 +8,7 @@
"data": { "data": {
"url": "data/barchart.csv", "format": {"type": "csv"} "url": "data/barchart.csv", "format": {"type": "csv"}
}, },
"width": 800, "width": 600,
"height": 400, "height": 400,
"mark": { "mark": {
"type": "bar" "type": "bar"

View File

@@ -5,7 +5,7 @@
"fontSize": 16, "fontSize": 16,
"fontWeight": "bold" "fontWeight": "bold"
}, },
"width": 800, "width": 600,
"height": 400, "height": 400,
"data": { "data": {
"url": "data/bubblechart.csv" "url": "data/bubblechart.csv"

View File

@@ -5,7 +5,7 @@
"fontSize": 16, "fontSize": 16,
"fontWeight": "bold" "fontWeight": "bold"
}, },
"width": 800, "width": 600,
"height": 400, "height": 400,
"data": { "data": {
"url": "data/bubblechart.csv" "url": "data/bubblechart.csv"

View File

@@ -5,7 +5,7 @@
"fontSize": 16, "fontSize": 16,
"fontWeight": "bold" "fontWeight": "bold"
}, },
"width": 800, "width": 600,
"height": 500, "height": 500,
"projection": { "projection": {
"type": "albersUsa" "type": "albersUsa"

View File

@@ -1,7 +1,7 @@
{ {
"$schema": "https://vega.github.io/schema/vega-lite/v5.json", "$schema": "https://vega.github.io/schema/vega-lite/v5.json",
"height": 500, "height": 500,
"width": 800, "width": 600,
"title": "Кількість шлюбів в першому півріччі 2024 р.", "title": "Кількість шлюбів в першому півріччі 2024 р.",
"config": { "config": {
"padding": 0, "padding": 0,

View File

@@ -5,7 +5,7 @@
"fontSize": 16, "fontSize": 16,
"fontWeight": "bold" "fontWeight": "bold"
}, },
"width": 800, "width": 600,
"height": 400, "height": 400,
"data": { "data": {
"url": "data/histogram.csv" "url": "data/histogram.csv"

View File

@@ -5,7 +5,7 @@
"fontSize": 16, "fontSize": 16,
"fontWeight": "bold" "fontWeight": "bold"
}, },
"width": 800, "width": 600,
"height": 400, "height": 400,
"data": { "data": {
"url": "data/histogram.csv" "url": "data/histogram.csv"

View File

@@ -1,6 +1,6 @@
{ {
"$schema": "https://vega.github.io/schema/vega-lite/v5.json", "$schema": "https://vega.github.io/schema/vega-lite/v5.json",
"width": 800, "width": 600,
"height": 400, "height": 400,
"title": "Oil Prices", "title": "Oil Prices",
"data": { "data": {

View File

@@ -1,6 +1,6 @@
{ {
"$schema": "https://vega.github.io/schema/vega-lite/v5.json", "$schema": "https://vega.github.io/schema/vega-lite/v5.json",
"width": 800, "width": 600,
"height": 400, "height": 400,
"title": "Ціни на нафту", "title": "Ціни на нафту",
"data": { "data": {

View File

@@ -12,7 +12,7 @@
"titleFontWeight": "bold" "titleFontWeight": "bold"
} }
}, },
"width": 800, "height": 400, "width": 600, "height": 400,
"data": { "data": {
"values": [ "values": [
{"index": 1, "brand": "Samsung", "share": 17.6}, {"index": 1, "brand": "Samsung", "share": 17.6},

View File

@@ -12,7 +12,7 @@
"titleFontWeight": "bold" "titleFontWeight": "bold"
} }
}, },
"width": 800, "height": 400, "width": 600, "height": 400,
"data": { "data": {
"values": [ "values": [
{"index": 1, "brand": "Samsung", "share": 17.6}, {"index": 1, "brand": "Samsung", "share": 17.6},

View File

@@ -5,7 +5,7 @@
"fontSize": 16, "fontSize": 16,
"fontWeight": "bold" "fontWeight": "bold"
}, },
"width": 800, "width": 600,
"height": 400, "height": 400,
"data": { "data": {
"url": "data/scatterplot.csv" "url": "data/scatterplot.csv"

View File

@@ -5,7 +5,7 @@
"fontSize": 16, "fontSize": 16,
"fontWeight": "bold" "fontWeight": "bold"
}, },
"width": 800, "width": 600,
"height": 400, "height": 400,
"data": { "data": {
"url": "data/scatterplot.csv" "url": "data/scatterplot.csv"

View File

@@ -8,7 +8,7 @@
"data": { "data": {
"url": "data/stacked100.csv" "url": "data/stacked100.csv"
}, },
"width": 800, "width": 600,
"height": 400, "height": 400,
"encoding": { "encoding": {
"y": { "y": {

View File

@@ -8,7 +8,7 @@
"data": { "data": {
"url": "data/stacked100.csv" "url": "data/stacked100.csv"
}, },
"width": 800, "width": 600,
"height": 400, "height": 400,
"encoding": { "encoding": {
"y": { "y": {

View File

@@ -5,7 +5,7 @@
"fontSize": 16, "fontSize": 16,
"fontWeight": "bold" "fontWeight": "bold"
}, },
"width": 800, "width": 600,
"height": 400, "height": 400,
"data": { "data": {
"values": [ "values": [

View File

@@ -5,7 +5,7 @@
"fontSize": 16, "fontSize": 16,
"fontWeight": "bold" "fontWeight": "bold"
}, },
"width": 800, "width": 600,
"height": 400, "height": 400,
"data": { "data": {
"values": [ "values": [

View File

@@ -6,7 +6,7 @@
"data": { "data": {
"url": "data/stackedbarchart.csv" "url": "data/stackedbarchart.csv"
}, },
"width": 800, "width": 600,
"height": 400, "height": 400,
"encoding": { "encoding": {
"x": { "x": {

View File

@@ -6,7 +6,7 @@
"data": { "data": {
"url": "data/stackedbarchart.csv" "url": "data/stackedbarchart.csv"
}, },
"width": 800, "width": 600,
"height": 400, "height": 400,
"encoding": { "encoding": {
"x": { "x": {