title: How to plot line graph in R with years as x-axis and y-axis as count?
body: <p>I have a dataset that looks like this:</p>
  
  <pre>Year    AL    AK    AZ    AR    CA    CO
  1993    135   153   113   157   718   516
  1994    218   154   184   185   845   465
  1995    482   846   683   682   863   863</pre>
  
  <p>I want to plot line graphs over time, so x-axis is year, y-axis is the count and each line would be a state.
  How can I get the year to show up on the x-axis?</p>
  
  <p>I've been running this:</p>
  
  <pre><code>data &lt;- read.csv("data.csv", header=T)
  plot(data$AL, type="l")
  par(new=T)
  plot(data$AK, type="l")
  .....
  </code></pre>
  
  <p>Except with what I have above, the x-axis is "Index" but I want it to be year.</p>