as_d3_data {r2d3}R Documentation

Convert object to D3 data

Description

Generic method to transform R objects into D3 friendly data.

Usage

as_d3_data(x, ...)

## Default S3 method:
as_d3_data(x, ...)

Arguments

x

data

...

Additional arguments for generic methods

Details

The value returned from as_d3_data() should be one of:


[Package r2d3 version 0.2.6 Index]