I have a large set of data, having more than 100,000 entries.

For example:

    1   2335
    2   2480
    3   2998
    4   450
    5   816
    .   .
    .   .
    .   .
    .   .
100000  621

I want to display a line chart.

The first column in the above data are the x-axis values and the second column (Users) are the y-axis values.

The chart that is getting displayed with these 100,000 rows is like this: enter image description here

I don't want all the entries to be shown in graph, but instead I want to show data after specific intervals, to get something like this: enter image description here

This image is a just a representation of how the graph should look like. The x-axis values should be integers as shown in example data above in first column.

How do I do this?

  • 1
    Your first graph has an integer x-axis. Your second has time. What is their relationship? What have you tried? – Adam Mar 21 '17 at 18:09
  • In order to show data every X intervals, I believe you'll need to create a secondary data table to choose from. You can format a chart to show the X-Axis labels every X intervals, but AFAIK you can't also hide that data at the same time, just by chart formatting. – BruceWayne Mar 21 '17 at 18:32
  • If the x axes values and range are meant to be the same, and you are just trying to remove some number of points...have you considered adding a trendline with a rolling average? With data that has that much noise in it, choosing the 100th point versus 101st could make for a big difference. A rolling average will give a general sense of how things are improving or worsening over time. – Adam Mar 21 '17 at 18:50
  • @Adam the second graph is just a representation of how I want the graph to be. X-axis should have integer values. – user5155835 Mar 22 '17 at 6:12
  • @Adam Also, please can you tell how to add a trendline with rolling average as you said. I'm looking for intervals of 1000 – user5155835 Mar 22 '17 at 6:23

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.