charts
Data license: CC-BY
1 row where lastEditedByUserId = 53 sorted by id descending
This data as json, CSV (advanced)
Suggested facets: createdAt (date), updatedAt (date), lastEditedAt (date), publishedAt (date)
id ▲ | slug | type | config | createdAt | updatedAt | lastEditedAt | publishedAt | lastEditedByUserId | publishedByUserId | isIndexable | title | subtitle | note | title_plus_variant | configWithDefaults |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
100 | uk-defence-spending-as-a-percentage-of-gdp | LineChart | { "id": 100, "map": { "colorScale": { "binningStrategy": "equalInterval", "customNumericMinValue": 0 } }, "slug": "uk-defence-spending-as-a-percentage-of-gdp", "title": "Defense spending", "yAxis": { "max": 60, "min": 0 }, "$schema": "https://files.ourworldindata.org/schemas/grapher-schema.004.json", "version": 11, "subtitle": "Expressed as a percentage of GDP", "dimensions": [ { "display": { "name": "", "unit": "%", "tolerance": 5, "isProjection": false, "includeInTable": true }, "property": "y", "variableId": 145 } ], "hideLegend": true, "hideTimeline": true, "addCountryMode": "disabled", "selectedEntityNames": [ "United Kingdom" ] } |
2015-09-10 15:34:47 | 2024-04-08 12:13:54 | 2023-06-21 14:25:30 | 2015-09-10 15:34:47 | Daniel Bachler 53 | 1 | Defense spending | Expressed as a percentage of GDP | Defense spending () | { "$schema": "https://files.ourworldindata.org/schemas/grapher-schema.004.json", "map": { "projection": "World", "hideTimeline": false, "colorScale": { "baseColorScheme": "default", "equalSizeBins": true, "binningStrategy": "ckmeans", "customNumericColorsActive": false, "colorSchemeInvert": false, "binningStrategyBinCount": 5 }, "timeTolerance": 0, "toleranceStrategy": "closest", "tooltipUseCustomLabels": false, "time": "latest" }, "maxTime": "latest", "baseColorScheme": "default", "yAxis": { "removePointsOutsideDomain": false, "scaleType": "linear", "canChangeScaleType": false, "facetDomain": "shared" }, "tab": "chart", "matchingEntitiesOnly": false, "hasChartTab": true, "hideLegend": true, "hideLogo": false, "hideTimeline": true, "colorScale": { "baseColorScheme": "default", "equalSizeBins": true, "binningStrategy": "ckmeans", "customNumericColorsActive": false, "colorSchemeInvert": false, "binningStrategyBinCount": 5 }, "scatterPointLabelStrategy": "year", "selectedFacetStrategy": "none", "isPublished": false, "invertColorScheme": false, "version": 11, "logo": "owid", "entityType": "country or region", "facettingLabelByYVariables": "metric", "addCountryMode": "disabled", "compareEndPointsOnly": false, "type": "LineChart", "hasMapTab": false, "stackMode": "absolute", "minTime": "earliest", "hideAnnotationFieldsInTitle": { "entity": false, "time": false, "changeInPrefix": false }, "xAxis": { "removePointsOutsideDomain": false, "scaleType": "linear", "canChangeScaleType": false, "facetDomain": "shared" }, "hideConnectedScatterLines": false, "showNoDataArea": true, "zoomToSelection": false, "showYearLabels": false, "hideLinesOutsideTolerance": false, "hideTotalValueLabel": false, "hideScatterLabels": false, "sortBy": "total", "sortOrder": "desc", "hideFacetControl": true, "entityTypePlural": "countries", "missingDataStrategy": "auto", "id": 100, "slug": "uk-defence-spending-as-a-percentage-of-gdp", "title": "Defense spending", "subtitle": "Expressed as a percentage of GDP", "dimensions": [ { "display": { "name": "", "unit": "%", "tolerance": 5, "isProjection": false, "includeInTable": true }, "property": "y", "variableId": 145 } ], "selectedEntityNames": [ "United Kingdom" ] } |
Advanced export
JSON shape: default, array, newline-delimited, object
CREATE TABLE "charts" ( "id" INTEGER PRIMARY KEY AUTOINCREMENT, "slug" VARCHAR(255) NULL , "type" VARCHAR(255) NULL , "config" TEXT NOT NULL , "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP , "updatedAt" DATETIME NULL , "lastEditedAt" DATETIME NOT NULL , "publishedAt" DATETIME NULL , "lastEditedByUserId" INTEGER NOT NULL , "publishedByUserId" INTEGER NULL , "isIndexable" TINYINT NOT NULL DEFAULT '0', title TEXT GENERATED ALWAYS as (JSON_EXTRACT(config, '$.title')) VIRTUAL, subtitle TEXT GENERATED ALWAYS as (JSON_EXTRACT(config, '$.subtitle')) VIRTUAL, note TEXT GENERATED ALWAYS as (JSON_EXTRACT(config, '$.note')) VIRTUAL, title_plus_variant GENERATED ALWAYS as (printf("%s (%s)", title, json_extract(config, "$.variantName"))) VIRTUAL, configWithDefaults json, FOREIGN KEY("lastEditedByUserId") REFERENCES "users" ("id") ON UPDATE RESTRICT ON DELETE RESTRICT, FOREIGN KEY("publishedByUserId") REFERENCES "users" ("id") ON UPDATE RESTRICT ON DELETE RESTRICT ); CREATE INDEX "charts_lastEditedByUserId" ON "charts" ("lastEditedByUserId"); CREATE INDEX "charts_publishedByUserId" ON "charts" ("publishedByUserId"); CREATE INDEX "charts_slug" ON "charts" ("slug"); CREATE INDEX idx_title_plus_variant ON charts(title_plus_variant);