Creating a Line Graph With Year as X-Axis and a String as Y-Axis
I want to create a line graph in discover that shows all of the years as the x-axis and the company name as the y-axis. So like a line graph that shows that a company existed from 2009-2024 and another company existed from 2000-2014, and so forth.
10 replies
-
Something like this image but x-axis would be years and y-axis would be the company name.
-
Hi ,
Do you have some sample data we can work with to try and achieve this?
Thanks,
Ian
-
Hi ,
One has to ask what is the objective of the visualisation? I would assume you want to easily see and compare the companies' active life. In that case Michael's first graphic would seem to work best.
This very easily achieved using Pyramid's normal matrix grid with some formatting added. Simply place the Company Name on rows and Year on Columns and Company Name into the Background Color Drop Zone. With some formatting of the grid you can achieve this:
I personally think this is clearer and more useful than a line chart and requires no coding whatsoever, just drag and drop and some format tweaking.
Hope that helps!
Ian
-
Okay I'll try your suggestions and see how they look. thanks