A line chart that shows how something changes over time.
plot(x, y, type = "l")
It is like a dot-to-dot. Put a dot for each year, then connect them. The line you get tells the story — going up, going down, or staying the same.
$10k, $14k, $18k, $25k over four years. Putting the years on the bottom and profit up the side, plot joins the dots into a line that climbs steadily — an instant picture of healthy growth.12 monthly temperatures. A line chart shows them rising to a summer peak around 30 °C and falling again, making the yearly cycle obvious at a glance.plot; where the lines cross you can see the exact match when one team overtook the other.Money made (in $1000s) by Manic Mango next to its biggest rival, 2003–2007. A line chart makes the change over time easy to see: Mango keeps going up and passes the rival in 2007 — clearer than bars for the year-by-year story.