random data can now be created with array of size N to test how the chart is impacted by different array sizes