Rainbow Deals - hours only!Up to 80% off on all courses and bundles.-Close
Visualize your data - line chart
Work with your chart
11. Emphasize the line
Check yourself


Always make the data stand out.

When you draw a graph or look at a graph drawn by others, ask yourself "What is the first thing I notice?" The answer should be "the data".

In line charts, there are important graphical elements that are similar to the chart's main geometry (i.e. axes and grid lines). Make sure that your data line will catch readers' eyes by changing the line's color and thickness.


Change the color and thickness of your line by adding geom_line(size=2, color="your_color") to your plot. You can choose any color from the Color card.

Stuck? Here's a hint!

You should write:

geom_line(size = 2, color = "steelblue")