Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vega-datasets

Package Overview
Dependencies
Maintainers
4
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vega-datasets - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

2

build/package.json
{
"name": "vega-datasets",
"version": "2.0.0",
"version": "2.1.0",
"description": "Common repository for example datasets used by Vega related projects.",

@@ -5,0 +5,0 @@ "main": "build/vega-datasets",

(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global = global || self, global.vegaDatasets = factory());
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global = global || self, global.vegaDatasets = factory());
}(this, (function () { 'use strict';
var version = "2.0.0";
var EOL = {},
EOF = {},
QUOTE = 34,
NEWLINE = 10,
RETURN = 13;
var urls = {
'annual-precip.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/annual-precip.json`,
'anscombe.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/anscombe.json`,
'barley.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/barley.json`,
'budget.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/budget.json`,
'budgets.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/budgets.json`,
'burtin.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/burtin.json`,
'cars.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/cars.json`,
'countries.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/countries.json`,
'crimea.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/crimea.json`,
'driving.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/driving.json`,
'earthquakes.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/earthquakes.json`,
'flare-dependencies.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/flare-dependencies.json`,
'flare.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/flare.json`,
'flights-10k.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/flights-10k.json`,
'flights-200k.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/flights-200k.json`,
'flights-20k.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/flights-20k.json`,
'flights-2k.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/flights-2k.json`,
'flights-5k.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/flights-5k.json`,
'football.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/football.json`,
'gapminder.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/gapminder.json`,
'income.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/income.json`,
'jobs.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/jobs.json`,
'londonBoroughs.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/londonBoroughs.json`,
'londonCentroids.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/londonCentroids.json`,
'londonTubeLines.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/londonTubeLines.json`,
'miserables.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/miserables.json`,
'monarchs.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/monarchs.json`,
'movies.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/movies.json`,
'normal-2d.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/normal-2d.json`,
'obesity.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/obesity.json`,
'ohlc.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/ohlc.json`,
'penguins.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/penguins.json`,
'points.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/points.json`,
'political-contributions.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/political-contributions.json`,
'population.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/population.json`,
'udistrict.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/udistrict.json`,
'unemployment-across-industries.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/unemployment-across-industries.json`,
'uniform-2d.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/uniform-2d.json`,
'us-10m.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/us-10m.json`,
'us-state-capitals.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/us-state-capitals.json`,
'volcano.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/volcano.json`,
'weather.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/weather.json`,
'wheat.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/wheat.json`,
'world-110m.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/world-110m.json`,
'airports.csv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/airports.csv`,
'birdstrikes.csv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/birdstrikes.csv`,
'co2-concentration.csv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/co2-concentration.csv`,
'disasters.csv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/disasters.csv`,
'flights-3m.csv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/flights-3m.csv`,
'flights-airport.csv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/flights-airport.csv`,
'gapminder-health-income.csv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/gapminder-health-income.csv`,
'github.csv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/github.csv`,
'iowa-electricity.csv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/iowa-electricity.csv`,
'la-riots.csv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/la-riots.csv`,
'lookup_groups.csv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/lookup_groups.csv`,
'lookup_people.csv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/lookup_people.csv`,
'population_engineers_hurricanes.csv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/population_engineers_hurricanes.csv`,
'seattle-weather-hourly-normals.csv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/seattle-weather-hourly-normals.csv`,
'seattle-weather.csv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/seattle-weather.csv`,
'sp500.csv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/sp500.csv`,
'stocks.csv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/stocks.csv`,
'us-employment.csv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/us-employment.csv`,
'weather.csv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/weather.csv`,
'windvectors.csv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/windvectors.csv`,
'zipcodes.csv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/zipcodes.csv`,
'unemployment.tsv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/unemployment.tsv`,
'flights-200k.arrow': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/flights-200k.arrow`,
function objectConverter(columns) {
return new Function("d", "return {" + columns.map(function(name, i) {
return JSON.stringify(name) + ": d[" + i + "] || \"\"";
}).join(",") + "}");
}
function customConverter(columns, f) {
var object = objectConverter(columns);
return function(row, i) {
return f(object(row), i, columns);
};
}
var EOL = {},
EOF = {},
QUOTE = 34,
NEWLINE = 10,
RETURN = 13;
// Compute unique columns in order of discovery.
function inferColumns(rows) {
var columnSet = Object.create(null),
columns = [];
function objectConverter(columns) {
return new Function("d", "return {" + columns.map(function(name, i) {
return JSON.stringify(name) + ": d[" + i + "] || \"\"";
}).join(",") + "}");
}
rows.forEach(function(row) {
for (var column in row) {
if (!(column in columnSet)) {
columns.push(columnSet[column] = column);
}
}
});
function customConverter(columns, f) {
var object = objectConverter(columns);
return function(row, i) {
return f(object(row), i, columns);
};
}
return columns;
}
// Compute unique columns in order of discovery.
function inferColumns(rows) {
var columnSet = Object.create(null),
columns = [];
function pad(value, width) {
var s = value + "", length = s.length;
return length < width ? new Array(width - length + 1).join(0) + s : s;
}
rows.forEach(function(row) {
for (var column in row) {
if (!(column in columnSet)) {
columns.push(columnSet[column] = column);
}
}
});
function formatYear(year) {
return year < 0 ? "-" + pad(-year, 6)
: year > 9999 ? "+" + pad(year, 6)
: pad(year, 4);
}
return columns;
}
function formatDate(date) {
var hours = date.getUTCHours(),
minutes = date.getUTCMinutes(),
seconds = date.getUTCSeconds(),
milliseconds = date.getUTCMilliseconds();
return isNaN(date) ? "Invalid Date"
: formatYear(date.getUTCFullYear()) + "-" + pad(date.getUTCMonth() + 1, 2) + "-" + pad(date.getUTCDate(), 2)
+ (milliseconds ? "T" + pad(hours, 2) + ":" + pad(minutes, 2) + ":" + pad(seconds, 2) + "." + pad(milliseconds, 3) + "Z"
: seconds ? "T" + pad(hours, 2) + ":" + pad(minutes, 2) + ":" + pad(seconds, 2) + "Z"
: minutes || hours ? "T" + pad(hours, 2) + ":" + pad(minutes, 2) + "Z"
: "");
}
function pad(value, width) {
var s = value + "", length = s.length;
return length < width ? new Array(width - length + 1).join(0) + s : s;
}
function dsv(delimiter) {
var reFormat = new RegExp("[\"" + delimiter + "\n\r]"),
DELIMITER = delimiter.charCodeAt(0);
function formatYear(year) {
return year < 0 ? "-" + pad(-year, 6)
: year > 9999 ? "+" + pad(year, 6)
: pad(year, 4);
function parse(text, f) {
var convert, columns, rows = parseRows(text, function(row, i) {
if (convert) return convert(row, i - 1);
columns = row, convert = f ? customConverter(row, f) : objectConverter(row);
});
rows.columns = columns || [];
return rows;
}
function formatDate(date) {
var hours = date.getUTCHours(),
minutes = date.getUTCMinutes(),
seconds = date.getUTCSeconds(),
milliseconds = date.getUTCMilliseconds();
return isNaN(date) ? "Invalid Date"
: formatYear(date.getUTCFullYear()) + "-" + pad(date.getUTCMonth() + 1, 2) + "-" + pad(date.getUTCDate(), 2)
+ (milliseconds ? "T" + pad(hours, 2) + ":" + pad(minutes, 2) + ":" + pad(seconds, 2) + "." + pad(milliseconds, 3) + "Z"
: seconds ? "T" + pad(hours, 2) + ":" + pad(minutes, 2) + ":" + pad(seconds, 2) + "Z"
: minutes || hours ? "T" + pad(hours, 2) + ":" + pad(minutes, 2) + "Z"
: "");
}
function parseRows(text, f) {
var rows = [], // output rows
N = text.length,
I = 0, // current character index
n = 0, // current line number
t, // current token
eof = N <= 0, // current token followed by EOF?
eol = false; // current token followed by EOL?
function dsv(delimiter) {
var reFormat = new RegExp("[\"" + delimiter + "\n\r]"),
DELIMITER = delimiter.charCodeAt(0);
// Strip the trailing newline.
if (text.charCodeAt(N - 1) === NEWLINE) --N;
if (text.charCodeAt(N - 1) === RETURN) --N;
function parse(text, f) {
var convert, columns, rows = parseRows(text, function(row, i) {
if (convert) return convert(row, i - 1);
columns = row, convert = f ? customConverter(row, f) : objectConverter(row);
});
rows.columns = columns || [];
return rows;
}
function token() {
if (eof) return EOF;
if (eol) return eol = false, EOL;
function parseRows(text, f) {
var rows = [], // output rows
N = text.length,
I = 0, // current character index
n = 0, // current line number
t, // current token
eof = N <= 0, // current token followed by EOF?
eol = false; // current token followed by EOL?
// Strip the trailing newline.
if (text.charCodeAt(N - 1) === NEWLINE) --N;
if (text.charCodeAt(N - 1) === RETURN) --N;
function token() {
if (eof) return EOF;
if (eol) return eol = false, EOL;
// Unescape quotes.
var i, j = I, c;
if (text.charCodeAt(j) === QUOTE) {
while (I++ < N && text.charCodeAt(I) !== QUOTE || text.charCodeAt(++I) === QUOTE);
if ((i = I) >= N) eof = true;
else if ((c = text.charCodeAt(I++)) === NEWLINE) eol = true;
else if (c === RETURN) { eol = true; if (text.charCodeAt(I) === NEWLINE) ++I; }
return text.slice(j + 1, i - 1).replace(/""/g, "\"");
}
// Find next delimiter or newline.
while (I < N) {
if ((c = text.charCodeAt(i = I++)) === NEWLINE) eol = true;
else if (c === RETURN) { eol = true; if (text.charCodeAt(I) === NEWLINE) ++I; }
else if (c !== DELIMITER) continue;
return text.slice(j, i);
}
// Return last token before EOF.
return eof = true, text.slice(j, N);
// Unescape quotes.
var i, j = I, c;
if (text.charCodeAt(j) === QUOTE) {
while (I++ < N && text.charCodeAt(I) !== QUOTE || text.charCodeAt(++I) === QUOTE);
if ((i = I) >= N) eof = true;
else if ((c = text.charCodeAt(I++)) === NEWLINE) eol = true;
else if (c === RETURN) { eol = true; if (text.charCodeAt(I) === NEWLINE) ++I; }
return text.slice(j + 1, i - 1).replace(/""/g, "\"");
}
while ((t = token()) !== EOF) {
var row = [];
while (t !== EOL && t !== EOF) row.push(t), t = token();
if (f && (row = f(row, n++)) == null) continue;
rows.push(row);
// Find next delimiter or newline.
while (I < N) {
if ((c = text.charCodeAt(i = I++)) === NEWLINE) eol = true;
else if (c === RETURN) { eol = true; if (text.charCodeAt(I) === NEWLINE) ++I; }
else if (c !== DELIMITER) continue;
return text.slice(j, i);
}
return rows;
// Return last token before EOF.
return eof = true, text.slice(j, N);
}
function preformatBody(rows, columns) {
return rows.map(function(row) {
return columns.map(function(column) {
return formatValue(row[column]);
}).join(delimiter);
});
while ((t = token()) !== EOF) {
var row = [];
while (t !== EOL && t !== EOF) row.push(t), t = token();
if (f && (row = f(row, n++)) == null) continue;
rows.push(row);
}
function format(rows, columns) {
if (columns == null) columns = inferColumns(rows);
return [columns.map(formatValue).join(delimiter)].concat(preformatBody(rows, columns)).join("\n");
}
return rows;
}
function formatBody(rows, columns) {
if (columns == null) columns = inferColumns(rows);
return preformatBody(rows, columns).join("\n");
}
function preformatBody(rows, columns) {
return rows.map(function(row) {
return columns.map(function(column) {
return formatValue(row[column]);
}).join(delimiter);
});
}
function formatRows(rows) {
return rows.map(formatRow).join("\n");
}
function format(rows, columns) {
if (columns == null) columns = inferColumns(rows);
return [columns.map(formatValue).join(delimiter)].concat(preformatBody(rows, columns)).join("\n");
}
function formatRow(row) {
return row.map(formatValue).join(delimiter);
}
function formatBody(rows, columns) {
if (columns == null) columns = inferColumns(rows);
return preformatBody(rows, columns).join("\n");
}
function formatValue(value) {
return value == null ? ""
: value instanceof Date ? formatDate(value)
: reFormat.test(value += "") ? "\"" + value.replace(/"/g, "\"\"") + "\""
: value;
}
function formatRows(rows) {
return rows.map(formatRow).join("\n");
}
return {
parse: parse,
parseRows: parseRows,
format: format,
formatBody: formatBody,
formatRows: formatRows,
formatRow: formatRow,
formatValue: formatValue
};
function formatRow(row) {
return row.map(formatValue).join(delimiter);
}
var csv = dsv(",");
function formatValue(value) {
return value == null ? ""
: value instanceof Date ? formatDate(value)
: reFormat.test(value += "") ? "\"" + value.replace(/"/g, "\"\"") + "\""
: value;
}
var csvParse = csv.parse;
return {
parse: parse,
parseRows: parseRows,
format: format,
formatBody: formatBody,
formatRows: formatRows,
formatRow: formatRow,
formatValue: formatValue
};
}
function autoType(object) {
for (var key in object) {
var value = object[key].trim(), number, m;
if (!value) value = null;
else if (value === "true") value = true;
else if (value === "false") value = false;
else if (value === "NaN") value = NaN;
else if (!isNaN(number = +value)) value = number;
else if (m = value.match(/^([-+]\d{2})?\d{4}(-\d{2}(-\d{2})?)?(T\d{2}:\d{2}(:\d{2}(\.\d{3})?)?(Z|[-+]\d{2}:\d{2})?)?$/)) {
if (fixtz && !!m[4] && !m[7]) value = value.replace(/-/g, "/").replace(/T/, " ");
value = new Date(value);
}
else continue;
object[key] = value;
var csv = dsv(",");
var csvParse = csv.parse;
function autoType(object) {
for (var key in object) {
var value = object[key].trim(), number, m;
if (!value) value = null;
else if (value === "true") value = true;
else if (value === "false") value = false;
else if (value === "NaN") value = NaN;
else if (!isNaN(number = +value)) value = number;
else if (m = value.match(/^([-+]\d{2})?\d{4}(-\d{2}(-\d{2})?)?(T\d{2}:\d{2}(:\d{2}(\.\d{3})?)?(Z|[-+]\d{2}:\d{2})?)?$/)) {
if (fixtz && !!m[4] && !m[7]) value = value.replace(/-/g, "/").replace(/T/, " ");
value = new Date(value);
}
return object;
else continue;
object[key] = value;
}
return object;
}
// https://github.com/d3/d3-dsv/issues/45
var fixtz = new Date("2019-01-01T00:00").getHours() || new Date("2019-07-01T00:00").getHours();
// https://github.com/d3/d3-dsv/issues/45
var fixtz = new Date("2019-01-01T00:00").getHours() || new Date("2019-07-01T00:00").getHours();
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
const data = {};
for (const name of Object.keys(urls)) {
const url = urls[name];
const f = function () {
return __awaiter(this, void 0, void 0, function* () {
const result = yield fetch(url);
if (name.endsWith('.json')) {
return yield result.json();
}
else if (name.endsWith('.csv')) {
// TODO: remove "as any" once @types/d3-dsv has been updated
return csvParse(yield result.text(), autoType);
}
else {
return yield result.text();
}
});
};
f.url = url;
data[name] = f;
}
var version = "2.1.0";
return data;
var urls = {
'annual-precip.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/annual-precip.json`,
'anscombe.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/anscombe.json`,
'barley.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/barley.json`,
'budget.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/budget.json`,
'budgets.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/budgets.json`,
'burtin.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/burtin.json`,
'cars.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/cars.json`,
'countries.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/countries.json`,
'crimea.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/crimea.json`,
'driving.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/driving.json`,
'earthquakes.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/earthquakes.json`,
'flare-dependencies.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/flare-dependencies.json`,
'flare.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/flare.json`,
'flights-10k.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/flights-10k.json`,
'flights-200k.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/flights-200k.json`,
'flights-20k.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/flights-20k.json`,
'flights-2k.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/flights-2k.json`,
'flights-5k.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/flights-5k.json`,
'football.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/football.json`,
'gapminder.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/gapminder.json`,
'income.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/income.json`,
'jobs.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/jobs.json`,
'londonBoroughs.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/londonBoroughs.json`,
'londonCentroids.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/londonCentroids.json`,
'londonTubeLines.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/londonTubeLines.json`,
'miserables.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/miserables.json`,
'monarchs.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/monarchs.json`,
'movies.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/movies.json`,
'normal-2d.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/normal-2d.json`,
'obesity.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/obesity.json`,
'ohlc.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/ohlc.json`,
'penguins.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/penguins.json`,
'points.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/points.json`,
'political-contributions.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/political-contributions.json`,
'population.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/population.json`,
'udistrict.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/udistrict.json`,
'unemployment-across-industries.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/unemployment-across-industries.json`,
'uniform-2d.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/uniform-2d.json`,
'us-10m.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/us-10m.json`,
'us-state-capitals.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/us-state-capitals.json`,
'volcano.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/volcano.json`,
'weather.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/weather.json`,
'wheat.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/wheat.json`,
'world-110m.json': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/world-110m.json`,
'airports.csv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/airports.csv`,
'birdstrikes.csv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/birdstrikes.csv`,
'co2-concentration.csv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/co2-concentration.csv`,
'disasters.csv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/disasters.csv`,
'flights-3m.csv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/flights-3m.csv`,
'flights-airport.csv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/flights-airport.csv`,
'gapminder-health-income.csv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/gapminder-health-income.csv`,
'github.csv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/github.csv`,
'iowa-electricity.csv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/iowa-electricity.csv`,
'la-riots.csv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/la-riots.csv`,
'lookup_groups.csv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/lookup_groups.csv`,
'lookup_people.csv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/lookup_people.csv`,
'population_engineers_hurricanes.csv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/population_engineers_hurricanes.csv`,
'seattle-weather-hourly-normals.csv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/seattle-weather-hourly-normals.csv`,
'seattle-weather.csv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/seattle-weather.csv`,
'sp500.csv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/sp500.csv`,
'stocks.csv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/stocks.csv`,
'us-employment.csv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/us-employment.csv`,
'weather.csv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/weather.csv`,
'windvectors.csv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/windvectors.csv`,
'zipcodes.csv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/zipcodes.csv`,
'unemployment.tsv': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/unemployment.tsv`,
'flights-200k.arrow': `https://cdn.jsdelivr.net/npm/vega-datasets@${version}/data/flights-200k.arrow`,
};
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
const data = { version };
for (const name of Object.keys(urls)) {
const url = urls[name];
const f = function () {
return __awaiter(this, void 0, void 0, function* () {
const result = yield fetch(url);
if (name.endsWith(".json")) {
return yield result.json();
}
else if (name.endsWith(".csv")) {
// TODO: remove "as any" once @types/d3-dsv has been updated
return csvParse(yield result.text(), autoType);
}
else {
return yield result.text();
}
});
};
f.url = url;
data[name] = f;
}
return data;
})));
//# sourceMappingURL=vega-datasets.js.map

@@ -1,1 +0,1 @@

!function(t,s){"object"==typeof exports&&"undefined"!=typeof module?module.exports=s():"function"==typeof define&&define.amd?define(s):(t=t||self).vegaDatasets=s()}(this,(function(){"use strict";var t={"annual-precip.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/annual-precip.json","anscombe.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/anscombe.json","barley.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/barley.json","budget.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/budget.json","budgets.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/budgets.json","burtin.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/burtin.json","cars.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/cars.json","countries.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/countries.json","crimea.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/crimea.json","driving.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/driving.json","earthquakes.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/earthquakes.json","flare-dependencies.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/flare-dependencies.json","flare.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/flare.json","flights-10k.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/flights-10k.json","flights-200k.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/flights-200k.json","flights-20k.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/flights-20k.json","flights-2k.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/flights-2k.json","flights-5k.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/flights-5k.json","football.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/football.json","gapminder.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/gapminder.json","income.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/income.json","jobs.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/jobs.json","londonBoroughs.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/londonBoroughs.json","londonCentroids.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/londonCentroids.json","londonTubeLines.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/londonTubeLines.json","miserables.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/miserables.json","monarchs.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/monarchs.json","movies.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/movies.json","normal-2d.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/normal-2d.json","obesity.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/obesity.json","ohlc.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/ohlc.json","penguins.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/penguins.json","points.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/points.json","political-contributions.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/political-contributions.json","population.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/population.json","udistrict.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/udistrict.json","unemployment-across-industries.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/unemployment-across-industries.json","uniform-2d.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/uniform-2d.json","us-10m.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/us-10m.json","us-state-capitals.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/us-state-capitals.json","volcano.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/volcano.json","weather.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/weather.json","wheat.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/wheat.json","world-110m.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/world-110m.json","airports.csv":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/airports.csv","birdstrikes.csv":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/birdstrikes.csv","co2-concentration.csv":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/co2-concentration.csv","disasters.csv":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/disasters.csv","flights-3m.csv":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/flights-3m.csv","flights-airport.csv":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/flights-airport.csv","gapminder-health-income.csv":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/gapminder-health-income.csv","github.csv":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/github.csv","iowa-electricity.csv":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/iowa-electricity.csv","la-riots.csv":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/la-riots.csv","lookup_groups.csv":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/lookup_groups.csv","lookup_people.csv":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/lookup_people.csv","population_engineers_hurricanes.csv":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/population_engineers_hurricanes.csv","seattle-weather-hourly-normals.csv":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/seattle-weather-hourly-normals.csv","seattle-weather.csv":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/seattle-weather.csv","sp500.csv":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/sp500.csv","stocks.csv":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/stocks.csv","us-employment.csv":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/us-employment.csv","weather.csv":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/weather.csv","windvectors.csv":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/windvectors.csv","zipcodes.csv":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/zipcodes.csv","unemployment.tsv":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/unemployment.tsv","flights-200k.arrow":"https://cdn.jsdelivr.net/npm/vega-datasets@2.0.0/data/flights-200k.arrow"},s={},n={};function e(t){return new Function("d","return {"+t.map((function(t,s){return JSON.stringify(t)+": d["+s+'] || ""'})).join(",")+"}")}function a(t){var s=Object.create(null),n=[];return t.forEach((function(t){for(var e in t)e in s||n.push(s[e]=e)})),n}function d(t,s){var n=t+"",e=n.length;return e<s?new Array(s-e+1).join(0)+n:n}function o(t){var s,n=t.getUTCHours(),e=t.getUTCMinutes(),a=t.getUTCSeconds(),o=t.getUTCMilliseconds();return isNaN(t)?"Invalid Date":((s=t.getUTCFullYear())<0?"-"+d(-s,6):s>9999?"+"+d(s,6):d(s,4))+"-"+d(t.getUTCMonth()+1,2)+"-"+d(t.getUTCDate(),2)+(o?"T"+d(n,2)+":"+d(e,2)+":"+d(a,2)+"."+d(o,3)+"Z":a?"T"+d(n,2)+":"+d(e,2)+":"+d(a,2)+"Z":e||n?"T"+d(n,2)+":"+d(e,2)+"Z":"")}var r=function(t){var d=new RegExp('["'+t+"\n\r]"),r=t.charCodeAt(0);function i(t,e){var a,d=[],o=t.length,i=0,c=0,v=o<=0,p=!1;function l(){if(v)return n;if(p)return p=!1,s;var e,a,d=i;if(34===t.charCodeAt(d)){for(;i++<o&&34!==t.charCodeAt(i)||34===t.charCodeAt(++i););return(e=i)>=o?v=!0:10===(a=t.charCodeAt(i++))?p=!0:13===a&&(p=!0,10===t.charCodeAt(i)&&++i),t.slice(d+1,e-1).replace(/""/g,'"')}for(;i<o;){if(10===(a=t.charCodeAt(e=i++)))p=!0;else if(13===a)p=!0,10===t.charCodeAt(i)&&++i;else if(a!==r)continue;return t.slice(d,e)}return v=!0,t.slice(d,o)}for(10===t.charCodeAt(o-1)&&--o,13===t.charCodeAt(o-1)&&--o;(a=l())!==n;){for(var j=[];a!==s&&a!==n;)j.push(a),a=l();e&&null==(j=e(j,c++))||d.push(j)}return d}function c(s,n){return s.map((function(s){return n.map((function(t){return p(s[t])})).join(t)}))}function v(s){return s.map(p).join(t)}function p(t){return null==t?"":t instanceof Date?o(t):d.test(t+="")?'"'+t.replace(/"/g,'""')+'"':t}return{parse:function(t,s){var n,a,d=i(t,(function(t,d){if(n)return n(t,d-1);a=t,n=s?function(t,s){var n=e(t);return function(e,a){return s(n(e),a,t)}}(t,s):e(t)}));return d.columns=a||[],d},parseRows:i,format:function(s,n){return null==n&&(n=a(s)),[n.map(p).join(t)].concat(c(s,n)).join("\n")},formatBody:function(t,s){return null==s&&(s=a(t)),c(t,s).join("\n")},formatRows:function(t){return t.map(v).join("\n")},formatRow:v,formatValue:p}}(",").parse;function i(t){for(var s in t){var n,e,a=t[s].trim();if(a)if("true"===a)a=!0;else if("false"===a)a=!1;else if("NaN"===a)a=NaN;else if(isNaN(n=+a)){if(!(e=a.match(/^([-+]\d{2})?\d{4}(-\d{2}(-\d{2})?)?(T\d{2}:\d{2}(:\d{2}(\.\d{3})?)?(Z|[-+]\d{2}:\d{2})?)?$/)))continue;c&&e[4]&&!e[7]&&(a=a.replace(/-/g,"/").replace(/T/," ")),a=new Date(a)}else a=n;else a=null;t[s]=a}return t}var c=new Date("2019-01-01T00:00").getHours()||new Date("2019-07-01T00:00").getHours(),v=function(t,s,n,e){return new(n||(n=Promise))((function(a,d){function o(t){try{i(e.next(t))}catch(t){d(t)}}function r(t){try{i(e.throw(t))}catch(t){d(t)}}function i(t){var s;t.done?a(t.value):(s=t.value,s instanceof n?s:new n((function(t){t(s)}))).then(o,r)}i((e=e.apply(t,s||[])).next())}))};const p={};for(const s of Object.keys(t)){const n=t[s],e=function(){return v(this,void 0,void 0,(function*(){const t=yield fetch(n);return s.endsWith(".json")?yield t.json():s.endsWith(".csv")?r(yield t.text(),i):yield t.text()}))};e.url=n,p[s]=e}return p}));
!function(t,s){"object"==typeof exports&&"undefined"!=typeof module?module.exports=s():"function"==typeof define&&define.amd?define(s):(t=t||self).vegaDatasets=s()}(this,(function(){"use strict";var t={},s={};function n(t){return new Function("d","return {"+t.map((function(t,s){return JSON.stringify(t)+": d["+s+'] || ""'})).join(",")+"}")}function e(t){var s=Object.create(null),n=[];return t.forEach((function(t){for(var e in t)e in s||n.push(s[e]=e)})),n}function a(t,s){var n=t+"",e=n.length;return e<s?new Array(s-e+1).join(0)+n:n}function d(t){var s,n=t.getUTCHours(),e=t.getUTCMinutes(),d=t.getUTCSeconds(),o=t.getUTCMilliseconds();return isNaN(t)?"Invalid Date":((s=t.getUTCFullYear())<0?"-"+a(-s,6):s>9999?"+"+a(s,6):a(s,4))+"-"+a(t.getUTCMonth()+1,2)+"-"+a(t.getUTCDate(),2)+(o?"T"+a(n,2)+":"+a(e,2)+":"+a(d,2)+"."+a(o,3)+"Z":d?"T"+a(n,2)+":"+a(e,2)+":"+a(d,2)+"Z":e||n?"T"+a(n,2)+":"+a(e,2)+"Z":"")}var o=function(a){var o=new RegExp('["'+a+"\n\r]"),r=a.charCodeAt(0);function i(n,e){var a,d=[],o=n.length,i=0,c=0,v=o<=0,p=!1;function l(){if(v)return s;if(p)return p=!1,t;var e,a,d=i;if(34===n.charCodeAt(d)){for(;i++<o&&34!==n.charCodeAt(i)||34===n.charCodeAt(++i););return(e=i)>=o?v=!0:10===(a=n.charCodeAt(i++))?p=!0:13===a&&(p=!0,10===n.charCodeAt(i)&&++i),n.slice(d+1,e-1).replace(/""/g,'"')}for(;i<o;){if(10===(a=n.charCodeAt(e=i++)))p=!0;else if(13===a)p=!0,10===n.charCodeAt(i)&&++i;else if(a!==r)continue;return n.slice(d,e)}return v=!0,n.slice(d,o)}for(10===n.charCodeAt(o-1)&&--o,13===n.charCodeAt(o-1)&&--o;(a=l())!==s;){for(var j=[];a!==t&&a!==s;)j.push(a),a=l();e&&null==(j=e(j,c++))||d.push(j)}return d}function c(t,s){return t.map((function(t){return s.map((function(s){return p(t[s])})).join(a)}))}function v(t){return t.map(p).join(a)}function p(t){return null==t?"":t instanceof Date?d(t):o.test(t+="")?'"'+t.replace(/"/g,'""')+'"':t}return{parse:function(t,s){var e,a,d=i(t,(function(t,d){if(e)return e(t,d-1);a=t,e=s?function(t,s){var e=n(t);return function(n,a){return s(e(n),a,t)}}(t,s):n(t)}));return d.columns=a||[],d},parseRows:i,format:function(t,s){return null==s&&(s=e(t)),[s.map(p).join(a)].concat(c(t,s)).join("\n")},formatBody:function(t,s){return null==s&&(s=e(t)),c(t,s).join("\n")},formatRows:function(t){return t.map(v).join("\n")},formatRow:v,formatValue:p}}(",").parse;function r(t){for(var s in t){var n,e,a=t[s].trim();if(a)if("true"===a)a=!0;else if("false"===a)a=!1;else if("NaN"===a)a=NaN;else if(isNaN(n=+a)){if(!(e=a.match(/^([-+]\d{2})?\d{4}(-\d{2}(-\d{2})?)?(T\d{2}:\d{2}(:\d{2}(\.\d{3})?)?(Z|[-+]\d{2}:\d{2})?)?$/)))continue;i&&e[4]&&!e[7]&&(a=a.replace(/-/g,"/").replace(/T/," ")),a=new Date(a)}else a=n;else a=null;t[s]=a}return t}var i=new Date("2019-01-01T00:00").getHours()||new Date("2019-07-01T00:00").getHours(),c={"annual-precip.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/annual-precip.json","anscombe.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/anscombe.json","barley.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/barley.json","budget.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/budget.json","budgets.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/budgets.json","burtin.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/burtin.json","cars.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/cars.json","countries.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/countries.json","crimea.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/crimea.json","driving.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/driving.json","earthquakes.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/earthquakes.json","flare-dependencies.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/flare-dependencies.json","flare.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/flare.json","flights-10k.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/flights-10k.json","flights-200k.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/flights-200k.json","flights-20k.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/flights-20k.json","flights-2k.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/flights-2k.json","flights-5k.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/flights-5k.json","football.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/football.json","gapminder.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/gapminder.json","income.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/income.json","jobs.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/jobs.json","londonBoroughs.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/londonBoroughs.json","londonCentroids.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/londonCentroids.json","londonTubeLines.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/londonTubeLines.json","miserables.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/miserables.json","monarchs.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/monarchs.json","movies.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/movies.json","normal-2d.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/normal-2d.json","obesity.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/obesity.json","ohlc.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/ohlc.json","penguins.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/penguins.json","points.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/points.json","political-contributions.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/political-contributions.json","population.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/population.json","udistrict.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/udistrict.json","unemployment-across-industries.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/unemployment-across-industries.json","uniform-2d.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/uniform-2d.json","us-10m.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/us-10m.json","us-state-capitals.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/us-state-capitals.json","volcano.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/volcano.json","weather.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/weather.json","wheat.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/wheat.json","world-110m.json":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/world-110m.json","airports.csv":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/airports.csv","birdstrikes.csv":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/birdstrikes.csv","co2-concentration.csv":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/co2-concentration.csv","disasters.csv":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/disasters.csv","flights-3m.csv":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/flights-3m.csv","flights-airport.csv":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/flights-airport.csv","gapminder-health-income.csv":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/gapminder-health-income.csv","github.csv":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/github.csv","iowa-electricity.csv":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/iowa-electricity.csv","la-riots.csv":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/la-riots.csv","lookup_groups.csv":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/lookup_groups.csv","lookup_people.csv":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/lookup_people.csv","population_engineers_hurricanes.csv":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/population_engineers_hurricanes.csv","seattle-weather-hourly-normals.csv":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/seattle-weather-hourly-normals.csv","seattle-weather.csv":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/seattle-weather.csv","sp500.csv":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/sp500.csv","stocks.csv":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/stocks.csv","us-employment.csv":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/us-employment.csv","weather.csv":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/weather.csv","windvectors.csv":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/windvectors.csv","zipcodes.csv":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/zipcodes.csv","unemployment.tsv":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/unemployment.tsv","flights-200k.arrow":"https://cdn.jsdelivr.net/npm/vega-datasets@2.1.0/data/flights-200k.arrow"},v=function(t,s,n,e){return new(n||(n=Promise))((function(a,d){function o(t){try{i(e.next(t))}catch(t){d(t)}}function r(t){try{i(e.throw(t))}catch(t){d(t)}}function i(t){var s;t.done?a(t.value):(s=t.value,s instanceof n?s:new n((function(t){t(s)}))).then(o,r)}i((e=e.apply(t,s||[])).next())}))};const p={version:"2.1.0"};for(const t of Object.keys(c)){const s=c[t],n=function(){return v(this,void 0,void 0,(function*(){const n=yield fetch(s);return t.endsWith(".json")?yield n.json():t.endsWith(".csv")?o(yield n.text(),r):yield n.text()}))};n.url=s,p[t]=n}return p}));
{
"name": "vega-datasets",
"version": "2.0.0",
"version": "2.1.0",
"description": "Common repository for example datasets used by Vega related projects.",

@@ -5,0 +5,0 @@ "main": "build/vega-datasets",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc