diff --git a/lib/node_modules/@stdlib/plot/vega/data/tidy/from-array/README.md b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-array/README.md
new file mode 100644
index 000000000000..c81f8be77435
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-array/README.md
@@ -0,0 +1,123 @@
+
+
+# array2tidy
+
+> Convert an array to a "tidy" data set.
+
+
+
+
+
+
+
+
+
+
+
+## Usage
+
+```javascript
+var array2tidy = require( '@stdlib/plot/vega/data/tidy/from-array' );
+```
+
+#### array2tidy( arr, name, fields )
+
+Converts an array to a "tidy" data set.
+
+```javascript
+var x = [ 1, 2, 3 ];
+
+var v = array2tidy( x, 'data', [ 'index', 'value' ] );
+// returns
+```
+
+The function supports the following parameters:
+
+- **arr**: input array.
+- **name**: data set name.
+- **fields**: list of field names.
+
+
+
+
+
+
+
+
+
+## Notes
+
+- The list of field names should be a two-element array where the first element corresponds to the field name of input array element index and the second element corresponds to the field name of the input array element value.
+
+
+
+
+
+
+
+
+
+## Examples
+
+
+
+```javascript
+var discreteUniform = require( '@stdlib/random/array/discrete-uniform' );
+var array2tidy = require( '@stdlib/plot/vega/data/tidy/from-array' );
+
+var arr = discreteUniform( 10, -100, 100 );
+var data = array2tidy( arr, 'series', [ 'x', 'y' ] );
+
+var out = data.toJSON();
+console.log( out );
+
+console.log( JSON.stringify( out ) );
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/lib/node_modules/@stdlib/plot/vega/data/tidy/from-array/benchmark/benchmark.js b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-array/benchmark/benchmark.js
new file mode 100644
index 000000000000..105b783fef10
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-array/benchmark/benchmark.js
@@ -0,0 +1,55 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2026 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var bench = require( '@stdlib/bench' );
+var isDataSet = require( '@stdlib/plot/vega/base/assert/is-dataset' );
+var zeroTo = require( '@stdlib/array/base/zero-to' );
+var format = require( '@stdlib/string/format' );
+var pkg = require( './../package.json' ).name;
+var array2tidy = require( './../lib' );
+
+
+// MAIN //
+
+bench( format( '%s:len=10', pkg ), function benchmark( b ) {
+ var fields;
+ var x;
+ var i;
+ var v;
+
+ fields = [ 'index', 'value' ];
+ x = zeroTo( 10 );
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ v = array2tidy( x, 'data', fields );
+ if ( typeof v !== 'object' ) {
+ b.fail( 'should return an object' );
+ }
+ }
+ b.toc();
+ if ( !isDataSet( v ) ) {
+ b.fail( 'should return a data set' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
diff --git a/lib/node_modules/@stdlib/plot/vega/data/tidy/from-array/docs/repl.txt b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-array/docs/repl.txt
new file mode 100644
index 000000000000..9a79bd736ed9
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-array/docs/repl.txt
@@ -0,0 +1,34 @@
+
+{{alias}}( arr, name, fields )
+ Converts an array to a "tidy" data set.
+
+ The list of field names should be a two-element array where the first
+ element corresponds to the field name of input array element index and the
+ second element corresponds to the field name of the input array element
+ value.
+
+ Parameters
+ ----------
+ arr: ArrayLikeObject
+ Input array.
+
+ name: string
+ Data set name.
+
+ fields: Array
+ List of field names.
+
+ Returns
+ -------
+ out: DataSet
+ Data set instance.
+
+ Examples
+ --------
+ > var x = [ 1, 2, 3 ];
+ > var out = {{alias}}( x, 'data', [ 'index', 'value' ] )
+
+
+ See Also
+ --------
+
diff --git a/lib/node_modules/@stdlib/plot/vega/data/tidy/from-array/docs/types/index.d.ts b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-array/docs/types/index.d.ts
new file mode 100644
index 000000000000..92c5a88d672f
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-array/docs/types/index.d.ts
@@ -0,0 +1,56 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2026 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+// TypeScript Version: 4.1
+
+///
+
+import { Collection } from '@stdlib/types/array';
+
+/**
+* Data set instance.
+*/
+interface DataSet {
+ /**
+ * Serializes an instance to a JSON object.
+ *
+ * @returns JSON object
+ */
+ toJSON(): object;
+}
+
+/**
+* Converts an array to a "tidy" data set.
+*
+* @param arr - input array
+* @param name - data set name
+* @param fields - list of field names
+* @returns data set instance
+*
+* @example
+* var x = [ 1, 2, 3 ];
+*
+* var v = array2tidy( x, 'data', [ 'index', 'value' ] );
+* // returns
+*/
+declare function array2tidy( arr: Collection, name: string, fields: Array ): DataSet;
+
+
+// EXPORTS //
+
+export = array2tidy;
diff --git a/lib/node_modules/@stdlib/plot/vega/data/tidy/from-array/docs/types/test.ts b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-array/docs/types/test.ts
new file mode 100644
index 000000000000..87dc3a3f6ac6
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-array/docs/types/test.ts
@@ -0,0 +1,67 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2026 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import array2tidy = require( './index' );
+
+
+// TESTS //
+
+// The function returns a data set...
+{
+ array2tidy( [ 1, 2, 3 ], 'data', [ 'index', 'value' ] ); // $ExpectType DataSet
+}
+
+// The compiler throws an error if the function is provided a first argument which is not a collection...
+{
+ array2tidy( 5, 'data', [ 'index', 'value' ] ); // $ExpectError
+ array2tidy( true, 'data', [ 'index', 'value' ] ); // $ExpectError
+ array2tidy( false, 'data', [ 'index', 'value' ] ); // $ExpectError
+ array2tidy( null, 'data', [ 'index', 'value' ] ); // $ExpectError
+ array2tidy( {}, 'data', [ 'index', 'value' ] ); // $ExpectError
+ array2tidy( ( x: number ): number => x, 'data', [ 'index', 'value' ] ); // $ExpectError
+}
+
+// The compiler throws an error if the function is provided a second argument which is not a string...
+{
+ array2tidy( [ 1, 2, 3 ], 5, [ 'index', 'value' ] ); // $ExpectError
+ array2tidy( [ 1, 2, 3 ], true, [ 'index', 'value' ] ); // $ExpectError
+ array2tidy( [ 1, 2, 3 ], false, [ 'index', 'value' ] ); // $ExpectError
+ array2tidy( [ 1, 2, 3 ], null, [ 'index', 'value' ] ); // $ExpectError
+ array2tidy( [ 1, 2, 3 ], [], [ 'index', 'value' ] ); // $ExpectError
+ array2tidy( [ 1, 2, 3 ], {}, [ 'index', 'value' ] ); // $ExpectError
+ array2tidy( [ 1, 2, 3 ], ( x: number ): number => x, [ 'index', 'value' ] ); // $ExpectError
+}
+
+// The compiler throws an error if the function is provided a third argument which is not an array of strings...
+{
+ array2tidy( [ 1, 2, 3 ], 'data', 5 ); // $ExpectError
+ array2tidy( [ 1, 2, 3 ], 'data', true ); // $ExpectError
+ array2tidy( [ 1, 2, 3 ], 'data', false ); // $ExpectError
+ array2tidy( [ 1, 2, 3 ], 'data', null ); // $ExpectError
+ array2tidy( [ 1, 2, 3 ], 'data', {} ); // $ExpectError
+ array2tidy( [ 1, 2, 3 ], 'data', [ 1, 2 ] ); // $ExpectError
+ array2tidy( [ 1, 2, 3 ], 'data', ( x: number ): number => x ); // $ExpectError
+}
+
+// The compiler throws an error if the function is provided an unsupported number of arguments...
+{
+ array2tidy(); // $ExpectError
+ array2tidy( [ 1, 2, 3 ] ); // $ExpectError
+ array2tidy( [ 1, 2, 3 ], 'data' ); // $ExpectError
+ array2tidy( [ 1, 2, 3 ], 'data', [ 'index', 'value' ], {} ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/plot/vega/data/tidy/from-array/test/test.js b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-array/test/test.js
new file mode 100644
index 000000000000..857a5f9cc268
--- /dev/null
+++ b/lib/node_modules/@stdlib/plot/vega/data/tidy/from-array/test/test.js
@@ -0,0 +1,106 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2026 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var tape = require( 'tape' );
+var isDataSet = require( '@stdlib/plot/vega/base/assert/is-dataset' );
+var array2tidy = require( './../lib' );
+
+
+// TESTS //
+
+tape( 'main export is a function', function test( t ) {
+ t.ok( true, __filename );
+ t.strictEqual( typeof array2tidy, 'function', 'main export is a function' );
+ t.end();
+});
+
+tape( 'the function returns a data set', function test( t ) {
+ var out = array2tidy( [ 1, 2, 3 ], 'data', [ 'index', 'value' ] );
+ t.strictEqual( isDataSet( out ), true, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function returns a data set having a specified name', function test( t ) {
+ var out = array2tidy( [ 1, 2, 3 ], 'beep', [ 'index', 'value' ] );
+ t.strictEqual( out.name, 'beep', 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function converts an array to a "tidy" data set', function test( t ) {
+ var expected;
+ var actual;
+ var i;
+
+ actual = array2tidy( [ 1, 2, 3 ], 'data', [ 'index', 'value' ] ).toJSON().values;
+ for ( i = 0; i < actual.length; i++ ) {
+ actual[ i ] = actual[ i ].toJSON();
+ }
+ expected = [
+ {
+ 'index': 0,
+ 'value': 1
+ },
+ {
+ 'index': 1,
+ 'value': 2
+ },
+ {
+ 'index': 2,
+ 'value': 3
+ }
+ ];
+ t.deepEqual( actual, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function supports specifying field names', function test( t ) {
+ var expected;
+ var actual;
+ var i;
+
+ actual = array2tidy( [ 1, 2 ], 'data', [ 'x', 'y' ] ).toJSON().values;
+ for ( i = 0; i < actual.length; i++ ) {
+ actual[ i ] = actual[ i ].toJSON();
+ }
+ expected = [
+ {
+ 'x': 0,
+ 'y': 1
+ },
+ {
+ 'x': 1,
+ 'y': 2
+ }
+ ];
+ t.deepEqual( actual, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function returns a data set having no values if provided an empty array', function test( t ) {
+ var expected;
+ var actual;
+
+ actual = array2tidy( [], 'data', [ 'index', 'value' ] ).toJSON().values;
+ expected = [];
+ t.deepEqual( actual, expected, 'returns expected value' );
+ t.end();
+});