daes {d3po}R Documentation

Aesthetics

Description

Aesthetics of the chart.

Usage

daes(x, y, ...)

Arguments

x x-axis mapping.
y y-axis mapping.
... Other aesthetic mappings. See the 'Aesthetics' section.

Value

Aesthetics for the plots such as axis (x,y), group, color and/or size

Aesthetics

Valid aesthetics (depending on the geom)

  • x, y: cartesian coordinates.

  • group: grouping data.

  • subgroup: subgrouping data (for treemaps).

  • name: name data.

  • color: color of geom.

  • size: size of geom.

  • stack: TRUE or FALSE to indicate if the geom should be stacked (for bar charts).

  • tiling: "squarify" (default), "dice", "slice", "slice-dice" (for treemaps).

  • layout: "fr", "kk", or any other supported in igraph to set the geom layout (for network charts).

  • gradient: TRUE or FALSE to indicate if color should be treated as a gradient palette (for geomaps).

  • sort: ordering hint for discrete categories. Accepts one of "asc-x", "desc-x" (sort by the numeric x/value), or "asc-y", "desc-y" (sort by the category/label). Use "none" to keep input order.

Loading...