Skip to main content
100%

Compare the annual GDP growth in China and the United States

✓ Published0🌍 Public
CCliffordAnderson
Last edited Mar 13, 2015
Created on Mar 13, 2015

This chart compares annual GDP growth in China and the United States. Two red and blue lines track the growth rates over time, with the data sourced from the World Bank via the Quandl API. The R script uses the `ggplot2` library to construct the line plot, merging the two datasets into a single table before plotting. The `geom_line` function draws each series, while `xlab`, `ylab`, and `ggtitle` label the year, the growth metric, and the title.

AI-generated description

Similar vizzes