mirror of
https://github.com/olehomelchenko/minivlat-local-ua.git
synced 2025-12-21 21:22:24 +00:00
reorganize files
This commit is contained in:
45
public/charts/barchart-ukrainian.vl.json
Normal file
45
public/charts/barchart-ukrainian.vl.json
Normal file
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"$schema": "https://vega.github.io/schema/vega-lite/v5.json",
|
||||
"title": {
|
||||
"text": "Світова швидкість інтернету (МБіт/с)",
|
||||
"fontSize": 16,
|
||||
"fontWeight": "bold"
|
||||
},
|
||||
"data": {
|
||||
"url": "data/barchart.csv", "format": {"type": "csv"}
|
||||
},
|
||||
"width": 600,
|
||||
"height": 400,
|
||||
"mark": {
|
||||
"type": "bar"
|
||||
},
|
||||
"encoding": {
|
||||
"x": {
|
||||
"field": "Country_UK",
|
||||
"type": "nominal",
|
||||
"title": "Країна",
|
||||
"axis": {
|
||||
"labelAngle": 40,
|
||||
"labelAlign": "left",
|
||||
"title": null,
|
||||
"labelPadding": 10
|
||||
},
|
||||
"sort": {
|
||||
"field": "index",
|
||||
"order": "ascending"
|
||||
}
|
||||
},
|
||||
"y": {
|
||||
"field": "Speed",
|
||||
"type": "quantitative",
|
||||
"axis": {
|
||||
"title": "Швидкість інтернету (МБіт/с)",
|
||||
"titleFontWeight": "bold",
|
||||
"grid": true
|
||||
},
|
||||
"scale": {
|
||||
"zero": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user