# RangeError: Invalid array length for parallel coordinates plot

**URL:** https://community.plotly.com/t/rangeerror-invalid-array-length-for-parallel-coordinates-plot/69937
**Category:** plotly.js
**Tags:** question
**Created:** [November 16, 2022, 8:38am UTC](https://community.plotly.com/t/rangeerror-invalid-array-length-for-parallel-coordinates-plot/69937 "2022-11-16T08:38:38Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![mi6crazyheart](https://avatars.discourse-cdn.com/v4/letter/m/e36b37/32.png) [@mi6crazyheart](https://community.plotly.com/u/mi6crazyheart)
#### Post date: [November 16, 2022, 8:38am UTC](https://community.plotly.com/t/rangeerror-invalid-array-length-for-parallel-coordinates-plot/69937/1 "2022-11-16T08:38:38Z")

</div>

Hi, I’m trying to plot a parallel coordinate plot. Everything seems working as long as my “values” index in my “dimension” has less or equal to 10,00000 number of values. The moment I’m increasing that to more than 10,00000 it showing “RangeError: Invalid array length” error.

Attaching a screenshot from my dev console for ref.  
 ![plotly_js_error](https://us1.discourse-cdn.com/flex024/uploads/plot/original/3X/7/8/78d2a118db15d755650d821c9045d45834768ad5.png)

The piece of code I’m using is

```auto
var trace = {
    type: 'parcoords',
    line: {
        color: 'blue'
    },
    dimensions: plotDimension
};
console.log('trace: ', trace)

var data = [trace]

Plotly.newPlot('graphDiv', data);

```

How can I fix this?
