I have a dataset that has individual records with ZIP Codes and Installation Dates. So far, I was able to plot records in a ZIP Code by:
- Subset a ZIP Code
- Sort the records by Date
- Create a new column and assign increasing values (by 1) for the next row.
- Plot this last field by Date
The result looks like this:
Now, what I want to do is have multiple ZIP Code geom_lines in the same figure. Each ZIP Code area has a different first record date, and I would like all of them to start at the same point on the X-axis.
Here's a failed attempt. I want these lines to start at the same point on the X-axis:
I am looking for ideas on how to proceed.
Thanks!