ggvis: Interactive Grammar of Graphics

An implementation of an interactive grammar of graphics, taking the best parts of 'ggplot2', combining them with the reactive framework of 'shiny' and drawing web graphics using 'vega'.

AuthorWinston Chang [aut, cre], Hadley Wickham [aut], RStudio [cph], jQuery Foundation [cph] (jQuery library and jQuery UI library), jQuery contributors [ctb, cph] (jQuery library; authors listed in inst/www/lib/jquery/AUTHORS.txt), jQuery UI contributors [ctb, cph] (jQuery UI library; authors listed in inst/www/lib/jquery-ui/AUTHORS.txt), Mike Bostock [ctb, cph] (D3 library), D3 contributors [ctb] (D3 library; authors listed at https://github.com/mbostock/d3/graphs/contributors), Trifacta Inc. [cph] (Vega library), Vega contributors [ctb] (Vega library; authors listed at https://github.com/trifacta/vega/graphs/contributors), Sebastián Décima [ctb, cph] (javascript-detect-element-resize library)
Date of publication2016-07-22 18:45:42
MaintainerWinston Chang <winston@rstudio.com>
LicenseGPL-2 | file LICENSE
Version0.4.3
http://ggvis.rstudio.com/

View on CRAN

Man pages

add_axis: Add a vega axis specification to a ggvis plot

add_data: Add dataset to a visualisation

add_guide_axis: Defunct function for adding an axis

add_guide_legend: Defunct function for adding a legend

add_legend: Add a vega legend specification to a ggvis plot

add_props: Add visual properties to a visualisation

add_relative_scales: Add x_rel and y_rel scales

add_scale: Add arbitrary scales to ggvis.

add_tooltip: Add tooltips to a plot.

as.vega: Coerce an ggvis object to a vega list.

auto_group: Automatically group data by grouping variables

axis_props: Create an axis_props object for controlling axis properties.

band: A band

bin_vector: Bin vectors

cocaine: Cocaine seizures in the US.

compute_align: Align positions using length.

compute_bin: Bin data along a continuous variable

compute_boxplot: Calculate boxplot values

compute_count: Count data at each location

compute_density: Compute density of data.

compute_model_prediction: Create a model of a data set and compute predictions.

compute_stack: Stack overlapping data.

compute_tabulate: Count data at each location of a categorical variable

create_broker: Create a broker object

create_input: Create a new interactive "input" object.

default_options: Default options

dplyr-ggvis: Dplyr verbs for ggvis.

explain: Explain details of an object

explain.ggvis: Print out the structure of a ggvis object in a friendly...

export_png: Export a PNG or SVG from a ggvis object

fullseq: Generate sequence of fixed size intervals covering range.

get_data: Get data from a ggvis object

ggvis: Visualise a data set with a ggvis graphic.

ggvisControlOutput: Create a ggvis control output element in UI

ggvis_message: Send a message to ggvis running on client

ggvisOutputElements: Create HTML elements for ggvis output

ggvis_scale: Create a new ggvis_scale object.

group_by: Divide data into groups.

handle_brush: Handle brush events on a visualisation.

handle_click: Handle mouse actions on marks.

handle_resize: Handlers and interactive inputs for plot sizing.

input_checkbox: Create an interactive checkbox.

input_select: Create interactive control to select one (or more options)...

input_slider: Create an interactive slider.

input_text: Create an interactive text or numeric input box.

is.axis_props: Tests whether an object is an axis_props object

is.broker: Determine if an object is a broker object

is.dynamic: Determine if an ggvis is dynamic (i.e. needs to be run in a...

is.ggvis: Is an object a ggvis object?

is.legend_props: Tests whether an object is a legend_props object

is.scaled_value: Tests whether an object is a scaled_value object

knit_print.ggvis: Knit print method for ggvis plots.

layer_bars: Display data with bars (a barchart).

layer_boxplots: Display data with a boxplot.

layer_densities: Transformation: density estimate

layer_f: Create a new layering function.

layer_guess: Guess the right type of layer based on current properties.

layer_histograms: Display binned data

layer_lines: Layer lines on a plot.

layer_model_predictions: Overlay model predictions or a smooth curve.

left_right: Interactive inputs bound to arrow keys.

legend_props: Create an axis_props object for controlling legend...

linked_brush: Create a linked brush object.

mark: Create a new "mark" object.

marks: Vega marks.

new_prop: Create new prop object

padding: Define padding.

pipe: Pipe graphics

print.ggvis: View in a ggvis plot in the browser.

prop: Create a property.

prop_domain: Property domain.

propname_to_scale: Convert the name of a property to the name of its default...

props: Manage a list of properties.

resolution: Compute the "resolution" of a data vector.

save_spec: Tools to save and view static specs.

scale_datetime: Add a date-time scale to a ggvis object.

scaled_value: Create a scaled_value object

scale_numeric: Add a numeric scale to a ggvis object.

scale_ordinal: Add a ordinal, nominal, or logical scale to a ggvis object.

scales: Add a scale to a ggvis plot

scaletype_to_vega_scaletype: Given the type of a ggvis scale, get the name of its...

set_options: Set options for a ggvis plot

set_scale_label: Set the label for a scale

shiny-ggvis: Connect a ggvis graphic to a shiny app.

show_spec: Print out the vega plot specification

show_tooltip: Send a message to the client to show or hide a tooltip

sidebarBottomPage: Create a page with a sidebar

singular: singular.

subvis: Create a subvisualisation.

vector_type: Determine the "type" of a vector

vega_data_parser: Determine the vega data type for a vector

waggle: Waggle back and forth between two numbers

zero_range: Determine if range of vector is close to zero, with a...

Files in this package

ggvis
ggvis/inst
ggvis/inst/www
ggvis/inst/www/ggvis
ggvis/inst/www/ggvis/css
ggvis/inst/www/ggvis/css/gear.png
ggvis/inst/www/ggvis/css/ggvis.css
ggvis/inst/www/ggvis/js
ggvis/inst/www/ggvis/js/ggvis.js
ggvis/inst/www/ggvis/js/shiny-ggvis.js
ggvis/inst/www/lib
ggvis/inst/www/lib/jquery-ui
ggvis/inst/www/lib/jquery-ui/jquery-ui.theme.css
ggvis/inst/www/lib/jquery-ui/index.html
ggvis/inst/www/lib/jquery-ui/jquery-ui.min.css
ggvis/inst/www/lib/jquery-ui/images
ggvis/inst/www/lib/jquery-ui/images/ui-icons_222222_256x240.png
ggvis/inst/www/lib/jquery-ui/images/ui-bg_flat_10_000000_40x100.png
ggvis/inst/www/lib/jquery-ui/images/ui-bg_highlight-soft_75_ffe45c_1x100.png
ggvis/inst/www/lib/jquery-ui/images/ui-icons_ffd27a_256x240.png
ggvis/inst/www/lib/jquery-ui/images/ui-icons_ffffff_256x240.png
ggvis/inst/www/lib/jquery-ui/images/ui-bg_diagonals-thick_18_b81900_40x40.png
ggvis/inst/www/lib/jquery-ui/images/ui-icons_ef8c08_256x240.png
ggvis/inst/www/lib/jquery-ui/images/ui-bg_glass_65_ffffff_1x400.png
ggvis/inst/www/lib/jquery-ui/images/ui-bg_highlight-soft_100_eeeeee_1x100.png
ggvis/inst/www/lib/jquery-ui/images/ui-bg_glass_100_f6f6f6_1x400.png
ggvis/inst/www/lib/jquery-ui/images/ui-bg_glass_100_fdf5ce_1x400.png
ggvis/inst/www/lib/jquery-ui/images/ui-icons_228ef1_256x240.png
ggvis/inst/www/lib/jquery-ui/images/ui-bg_diagonals-thick_20_666666_40x40.png
ggvis/inst/www/lib/jquery-ui/images/ui-bg_gloss-wave_35_f6a828_500x100.png
ggvis/inst/www/lib/jquery-ui/jquery-ui.css
ggvis/inst/www/lib/jquery-ui/jquery-ui.theme.min.css
ggvis/inst/www/lib/jquery-ui/jquery-ui.structure.min.css
ggvis/inst/www/lib/jquery-ui/jquery-ui.structure.css
ggvis/inst/www/lib/jquery-ui/jquery-ui.js
ggvis/inst/www/lib/jquery-ui/jquery-ui.min.js
ggvis/inst/www/lib/jquery
ggvis/inst/www/lib/jquery/jquery.js
ggvis/inst/www/lib/jquery/AUTHORS.txt
ggvis/inst/www/lib/jquery/jquery.min.js
ggvis/inst/www/lib/vega
ggvis/inst/www/lib/vega/vega.min.js
ggvis/inst/www/lib/vega/vega.js
ggvis/inst/www/lib/detect-resize
ggvis/inst/www/lib/detect-resize/jquery.resize.js
ggvis/inst/www/lib/d3
ggvis/inst/www/lib/d3/d3.min.js
ggvis/inst/www/lib/d3/d3.js
ggvis/inst/www/lib/lodash
ggvis/inst/www/lib/lodash/lodash.min.js
ggvis/inst/update.sh
ggvis/tests
ggvis/tests/specs
ggvis/tests/specs/layer.r
ggvis/tests/specs/scatter
ggvis/tests/specs/scatter/fill-discrete.json
ggvis/tests/specs/scatter/transform.json
ggvis/tests/specs/scatter/fill-continuous.json
ggvis/tests/specs/scatter/basic.json
ggvis/tests/specs/line.r
ggvis/tests/specs/layer
ggvis/tests/specs/layer/smooth-grouped.json
ggvis/tests/specs/layer/histogram.json
ggvis/tests/specs/layer/smooth.json
ggvis/tests/specs/layer/freqpoly-grouped.json
ggvis/tests/specs/data
ggvis/tests/specs/data/dots.json
ggvis/tests/specs/bar
ggvis/tests/specs/bar/continuous-x.json
ggvis/tests/specs/bar/categorical-x.json
ggvis/tests/specs/scales
ggvis/tests/specs/scales/bars.json
ggvis/tests/specs/scales/datetime.json
ggvis/tests/specs/scales/log.json
ggvis/tests/specs/scales/combined_legend.json
ggvis/tests/specs/scales/hide_guides.json
ggvis/tests/specs/scales/dual.json
ggvis/tests/specs/scales/domain_numeric.json
ggvis/tests/specs/scales/custom.json
ggvis/tests/specs/scales/datetime_hist.json
ggvis/tests/specs/scatter.r
ggvis/tests/specs/bar.r
ggvis/tests/specs/boxplot
ggvis/tests/specs/boxplot/boxplot-no-outliers.json
ggvis/tests/specs/boxplot/boxplot-continuous.json
ggvis/tests/specs/boxplot/boxplot-categorical.json
ggvis/tests/specs/data.r
ggvis/tests/specs/scales.R
ggvis/tests/specs/line
ggvis/tests/specs/line/layer-line-nominal-x.json
ggvis/tests/specs/line/layer-line.json
ggvis/tests/specs/line/basic.json
ggvis/tests/specs/line/sort.json
ggvis/tests/specs/boxplot.r
ggvis/tests/testthat.R
ggvis/tests/testthat
ggvis/tests/testthat/test-specs.r
ggvis/tests/testthat/test-utils-data.r
ggvis/tests/testthat/test-compute-bin.r
ggvis/tests/testthat/test-flatten.r
ggvis/tests/testthat/test-compute-tabulate.r
ggvis/tests/testthat/test-mark-properties.r
ggvis/tests/testthat/test-compute-stack.r
ggvis/tests/testthat/test-compute-model-prediction.r
ggvis/tests/testthat/test-utils.r
ggvis/tests/testthat/test-ggvis.R
ggvis/tests/testthat/test-compute-count.r
ggvis/tests/testthat/test-compute-boxplot.r
ggvis/tests/testthat/test-compute-density.r
ggvis/tests/testthat/test-props.r
ggvis/tests/testthat/test-is-dynamic.r
ggvis/NAMESPACE
ggvis/demo
ggvis/demo/smooth.r
ggvis/demo/dynamic.r
ggvis/demo/brush.r
ggvis/demo/hover.r
ggvis/demo/tourr.r
ggvis/demo/histogram.r
ggvis/demo/guides.r
ggvis/demo/size.r
ggvis/demo/bar.r
ggvis/demo/interactive.R
ggvis/demo/00Index
ggvis/demo/scales.r
ggvis/demo/lines.r
ggvis/demo/tile.r
ggvis/demo/rmarkdown
ggvis/demo/rmarkdown/interactive_doc.Rmd
ggvis/demo/rmarkdown/ioslides_presentation.Rmd
ggvis/demo/rmarkdown/linked_brush.Rmd
ggvis/demo/rmarkdown/zoom.Rmd
ggvis/demo/rmarkdown/html_document.Rmd
ggvis/demo/scatterplot.r
ggvis/demo/subvis.R
ggvis/demo/apps
ggvis/demo/apps/linked-hover
ggvis/demo/apps/linked-hover/server.r
ggvis/demo/apps/linked-hover/ui.r
ggvis/demo/apps/README.md
ggvis/demo/apps/brush-summary
ggvis/demo/apps/brush-summary/server.r
ggvis/demo/apps/brush-summary/ui.r
ggvis/demo/apps/zoom
ggvis/demo/apps/zoom/server.r
ggvis/demo/apps/zoom/ui.r
ggvis/demo/apps/brush-linked
ggvis/demo/apps/brush-linked/server.r
ggvis/demo/apps/brush-linked/ui.r
ggvis/demo/apps/basic
ggvis/demo/apps/basic/server.r
ggvis/demo/apps/basic/ui.r
ggvis/demo/boxplot.r
ggvis/NEWS.md
ggvis/data
ggvis/data/cocaine.rda
ggvis/R
ggvis/R/ggvis.R ggvis/R/ggvis_html.R ggvis/R/compute_boxplot.R ggvis/R/scale.R ggvis/R/compute_density.R ggvis/R/data_cocaine.R ggvis/R/utils.R ggvis/R/compute_count.R ggvis/R/mark.R ggvis/R/inputs.R ggvis/R/scale_ggvis.R ggvis/R/guide_legend.R ggvis/R/prop.R ggvis/R/explain.R ggvis/R/layer_model_predictions.R ggvis/R/df_to_d3json.R ggvis/R/singular.R ggvis/R/guide_props.R ggvis/R/utils_props.R ggvis/R/utils_names.R ggvis/R/pipe.R ggvis/R/layer_bins.R ggvis/R/guide_axis.R ggvis/R/full_seq.R ggvis/R/layer_lines.R ggvis/R/prop_band.R ggvis/R/props.R ggvis/R/flatten.R ggvis/R/handle.R ggvis/R/layer_guess.R ggvis/R/layer_boxplots.R ggvis/R/handle_resize.R ggvis/R/handle_brush.R ggvis/R/scale_defaults.R ggvis/R/marks.R ggvis/R/utils_data.R ggvis/R/vega.R ggvis/R/compute_align.R ggvis/R/shiny_layout.R ggvis/R/handle_keyboard.R ggvis/R/dplyr.R ggvis/R/options.R ggvis/R/waggle.R ggvis/R/shiny.R ggvis/R/interact_tooltip.R ggvis/R/print.R ggvis/R/utils_reactive.R ggvis/R/layer_densities.R ggvis/R/compute_stack.R ggvis/R/input.R ggvis/R/utils_resolution.R ggvis/R/compute_tabulate.R ggvis/R/message.R
ggvis/R/zzz.r
ggvis/R/export.R ggvis/R/layer_bars.R ggvis/R/compute_model_prediction.R ggvis/R/layer.R ggvis/R/compute_auto_group.R ggvis/R/transform.R ggvis/R/handle_click.R ggvis/R/subvis.R ggvis/R/vector_type.R ggvis/R/linked_brush.R ggvis/R/broker.R ggvis/R/scales.R ggvis/R/compute_bin.R
ggvis/README.md
ggvis/MD5
ggvis/DESCRIPTION
ggvis/man
ggvis/man/add_props.Rd ggvis/man/padding.Rd ggvis/man/vega_data_parser.Rd ggvis/man/prop.Rd ggvis/man/layer_lines.Rd ggvis/man/cocaine.Rd ggvis/man/group_by.Rd ggvis/man/pipe.Rd ggvis/man/scaletype_to_vega_scaletype.Rd ggvis/man/scaled_value.Rd ggvis/man/as.vega.Rd ggvis/man/show_tooltip.Rd ggvis/man/singular.Rd ggvis/man/create_input.Rd ggvis/man/compute_align.Rd ggvis/man/mark.Rd ggvis/man/scale_numeric.Rd ggvis/man/add_guide_legend.Rd ggvis/man/default_options.Rd ggvis/man/compute_boxplot.Rd ggvis/man/compute_tabulate.Rd ggvis/man/layer_bars.Rd ggvis/man/input_text.Rd ggvis/man/input_checkbox.Rd ggvis/man/scale_datetime.Rd ggvis/man/compute_bin.Rd ggvis/man/input_select.Rd ggvis/man/is.ggvis.Rd ggvis/man/layer_boxplots.Rd ggvis/man/layer_f.Rd ggvis/man/linked_brush.Rd ggvis/man/handle_resize.Rd ggvis/man/new_prop.Rd ggvis/man/ggvisOutputElements.Rd ggvis/man/scale_ordinal.Rd ggvis/man/axis_props.Rd ggvis/man/left_right.Rd ggvis/man/add_scale.Rd ggvis/man/props.Rd ggvis/man/explain.Rd ggvis/man/explain.ggvis.Rd ggvis/man/add_tooltip.Rd ggvis/man/knit_print.ggvis.Rd ggvis/man/save_spec.Rd ggvis/man/is.broker.Rd ggvis/man/add_data.Rd ggvis/man/add_legend.Rd ggvis/man/create_broker.Rd ggvis/man/band.Rd ggvis/man/is.dynamic.Rd ggvis/man/ggvisControlOutput.Rd ggvis/man/resolution.Rd ggvis/man/marks.Rd ggvis/man/compute_model_prediction.Rd ggvis/man/propname_to_scale.Rd ggvis/man/get_data.Rd ggvis/man/set_scale_label.Rd ggvis/man/show_spec.Rd ggvis/man/add_relative_scales.Rd ggvis/man/auto_group.Rd ggvis/man/fullseq.Rd ggvis/man/subvis.Rd ggvis/man/sidebarBottomPage.Rd ggvis/man/layer_guess.Rd ggvis/man/layer_histograms.Rd ggvis/man/add_guide_axis.Rd ggvis/man/layer_model_predictions.Rd ggvis/man/ggvis_scale.Rd ggvis/man/compute_count.Rd ggvis/man/dplyr-ggvis.Rd ggvis/man/set_options.Rd ggvis/man/prop_domain.Rd ggvis/man/compute_stack.Rd ggvis/man/shiny-ggvis.Rd ggvis/man/input_slider.Rd ggvis/man/ggvis.Rd ggvis/man/waggle.Rd ggvis/man/vector_type.Rd ggvis/man/print.ggvis.Rd ggvis/man/ggvis_message.Rd ggvis/man/handle_click.Rd ggvis/man/zero_range.Rd ggvis/man/legend_props.Rd ggvis/man/handle_brush.Rd ggvis/man/is.legend_props.Rd ggvis/man/add_axis.Rd ggvis/man/is.axis_props.Rd ggvis/man/compute_density.Rd ggvis/man/bin_vector.Rd ggvis/man/layer_densities.Rd ggvis/man/is.scaled_value.Rd ggvis/man/scales.Rd ggvis/man/export_png.Rd
ggvis/tools
ggvis/tools/updatejQueryResize.R
ggvis/LICENSE

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.