Google Scatter Chart with R googleChartName <- "scatterchart"gvisChartName <- "gvisScatterChart"
Google Scatter Chart with R googleChartName <- "scatterchart"
gvisChartName <- "gvisScatterChart"
The gvisScatterChart function reads a data.frame and creates text output referring to the Google Visualisation API, which can be included into a web page, or as a stand-alone page. The actual chart is rendered by the web browser using SVG or VML.
gvisScatterChart(data, options = list(), chartid)
Arguments
data: a data.frame to be displayed as a scatter chart. Two or more columns are required, all must be numeric. The values in the first column are used for the X-axis. The values in following columns are used for the Y-axis. Each column is displayed with a separate color.