chart: Create a G2 chart

Description Usage Arguments Examples

Description

A chart.

Usage

1
chart(data, width = 600, height = 300)

Arguments

data

A data frame.

width

The width of the chart in pixels.

height

The height of the chart in pixels

Examples

1
2
3
4
5
6
7
games %>%
  chart() %>%
  interval(
    . %>%
      position("genre*sold") %>%
      color("genre")
  )

nteetor/golly documentation built on May 16, 2019, 8:12 p.m.