# DC.jl Documentation

# CrossfilterCharts.dcFunction.

dc(df::DataFrame)


Construct a DC.js visualization based on the columns in the given DataFrame. This is the easiest and most straightforward way to use DC.jl.

# CrossfilterCharts.rowchartFunction.

rowchart


Infer construction of a DC rowchart based on the given group.

# CrossfilterCharts.barchartFunction.

barchart


Infer construction of a DC barchart based on the given group.

# CrossfilterCharts.piechartFunction.

piechart


Infer construction of a DC piechart based on the given group.

# CrossfilterCharts.linechartFunction.

linechart


Infer construction of a DC linechart based on the given group.

# CrossfilterCharts.datacountwidgetFunction.

datacountwidget


Construct a DC DataCountWidget.

# CrossfilterCharts.datatablewidgetFunction.

datatablewidget


Construct a DC DataTableWidget.

# CrossfilterCharts.add_chart!Function.

add_chart!


Append the DCChart to the list of charts in the DCOut object.

# CrossfilterCharts.add_widget!Function.

add_widget!


Append the DCWidget to the list of widgets in the DCOut object.

# CrossfilterCharts.add_group!Function.

add_group!


Append the Group to the list of groups in the DCOut object.

# CrossfilterCharts.add_datacountwidget!Function.

add_datacountwidget!


Construct and append a Data Count Widget to the DCOut object.

# CrossfilterCharts.add_datatablewidget!Function.

add_datatablewidget!


Construct and append a Data Table Widget to the DCOut object. Requires a previously constructed dimension for the first column.

# CrossfilterCharts.quick_add!Function.

quick_add!


A utility function for quickly building a chart and adding it. Works with linechart, barchart, rowchart, piechart. Requires previously a constructed group.

quick_add!


Quickly build a chart using the group constructed from column. If multiple groups are found, an error is thrown unless use_first is set, in which case the first group found is used.

quick_add!


Quickly build a chart using the group with the given name.

# CrossfilterCharts.clear_charts!Function.

clear_charts!


Remove all charts from the DCOut object.

# CrossfilterCharts.randomize_ids!Function.

randomize_ids!


Randomly re-initialize all dcout random ids. These are used when exporting to HTML to prevent charts from referencing one another across IJulia cells.

# CrossfilterCharts.reduce_countFunction.

reduce_count

A reduction for a Group that is simply reduceCount()

# CrossfilterCharts.reduce_sumFunction.

reduce_sum

A reduction for a Group that sums the values.

# CrossfilterCharts.reduce_masterFunction.

reduce_sum

A master reduction which sums values from all provided columns and tallies a count. Useful for making more complex charts like bubble charts.

# CrossfilterCharts.can_infer_chartFunction.

can_infer_chart(arr::AbstractDataArray)


Whether chart inference is supported for the given array type.

# CrossfilterCharts.infer_dimensionFunction.

infer_dimension


Constructs a Dimension suitable for the type in arr.

# CrossfilterCharts.infer_groupFunction.

infer_group

Infer construction of a group based on the array datatype.

# CrossfilterCharts.infer_chartFunction.

infer_chart(arr::AbstractDataArray, group::Group)


Constructs a Chart suitable for the type in arr.

# CrossfilterCharts.infer_dimensions!Function.

infer_dimensions!


Infer a dimension for each column in the DCOut DataFrame

# CrossfilterCharts.infer_groups!Function.

infer_groups!


Infer a group for each dimension in the DCOut DataFrame