Package: ggvis 0.4.9

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'.

Authors:Hadley Wickham [aut, cre], Winston Chang [aut], Posit [cph], jQuery Foundation [cph], jQuery contributors [ctb, cph], jQuery UI contributors [ctb, cph], Mike Bostock [ctb, cph], D3 contributors [ctb], Trifacta Inc. [cph], Vega contributors [ctb], Sebastián Décima [ctb, cph]

ggvis_0.4.9.tar.gz
ggvis_0.4.9.zip(r-4.5)ggvis_0.4.9.zip(r-4.4)ggvis_0.4.9.zip(r-4.3)
ggvis_0.4.9.tgz(r-4.4-any)ggvis_0.4.9.tgz(r-4.3-any)
ggvis_0.4.9.tar.gz(r-4.5-noble)ggvis_0.4.9.tar.gz(r-4.4-noble)
ggvis_0.4.9.tgz(r-4.4-emscripten)ggvis_0.4.9.tgz(r-4.3-emscripten)
ggvis.pdf |ggvis.html
ggvis/json (API)
NEWS

# Install 'ggvis' in R:
install.packages('ggvis', repos = c('https://hadley.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Datasets:
  • cocaine - Cocaine seizures in the US.

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

6.98 score 1 stars 11 packages 2.3k scripts 3.6k downloads 7 mentions 123 exports 40 dependencies

Last updated 10 months agofrom:05b0412cd2. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKDec 02 2024
R-4.5-winOKDec 02 2024
R-4.5-linuxOKDec 02 2024
R-4.4-winOKDec 02 2024
R-4.4-macOKDec 02 2024
R-4.3-winOKDec 02 2024
R-4.3-macOKDec 02 2024

Exports:%>%add_axisadd_dataadd_guide_axisadd_guide_legendadd_legendadd_propsadd_relative_scalesadd_scaleadd_tooltipauto_groupaxis_propsbandbind_shinybind_shiny_uicompute_aligncompute_bincompute_boxplotcompute_countcompute_densitycompute_model_predictioncompute_smoothcompute_stackcompute_tabulatecreate_brokercreate_inputdefault_optionsemit_arcsemit_imagesemit_pathsemit_pointsemit_rectsemit_ribbonsemit_textexplainexport_pngexport_svgfullseqget_dataggvisggvis_messageggvis_scaleggvisControlOutputggvisOutputgroup_byhandle_brushhandle_clickhandle_hoverhandle_resizehide_axishide_legendhide_tooltipinput_checkboxinput_checkboxgroupinput_numericinput_radiobuttonsinput_selectinput_sliderinput_textis.axis_propsis.brokeris.dynamicis.ggvisis.ggvis_propsis.ggvis_scaleis.legend_propsis.markis.propis.prop_constantis.prop_reactiveis.prop_variableis.scaled_valuelayer_arcslayer_barslayer_boxplotslayer_densitieslayer_flayer_freqpolyslayer_guesslayer_histogramslayer_imageslayer_lineslayer_model_predictionslayer_pathslayer_pointslayer_rectslayer_ribbonslayer_smoothslayer_textleft_rightlegend_propslinked_brushmainTopPanelmarkpaddingplot_heightplot_widthproppropname_to_scalepropsresolutionsave_specscale_datetimescale_logicalscale_nominalscale_numericscale_ordinalscale_singularscaled_valueset_default_scaleset_dscaleset_optionsshow_specshow_tooltipsidebarBottomPagesidebarBottomPanelsingularup_downvector_typeview_dynamicview_staticwagglezero_range

Dependencies:assertthatbase64encbslibcachemclicommonmarkcrayondigestdplyrfansifastmapfontawesomefsgenericsgluehtmltoolshttpuvjquerylibjsonlitelaterlifecyclemagrittrmemoisemimepillarpkgconfigpromisesR6rappdirsRcpprlangsassshinysourcetoolstibbletidyselectutf8vctrswithrxtable

Readme and manuals

Help Manual

Help pageTopics
Pipe graphics%>%
Add a vega axis specification to a ggvis plotadd_axis hide_axis
Add dataset to a visualisationadd_data
Defunct function for adding an axisadd_guide_axis
Defunct function for adding a legendadd_guide_legend
Add a vega legend specification to a ggvis plotadd_legend hide_legend
Add visual properties to a visualisationadd_props
Add x_rel and y_rel scalesadd_relative_scales
Add tooltips to a plot.add_tooltip
Automatically group data by grouping variablesauto_group
Create an axis_props object for controlling axis properties.axis_props
A bandband is.prop_band
Cocaine seizures in the US.cocaine
Align positions using length.compute_align
Bin data along a continuous variablecompute_bin
Calculate boxplot valuescompute_boxplot
Count data at each locationcompute_count
Compute density of data.compute_density
Create a model of a data set and compute predictions.compute_model_prediction compute_smooth
Stack overlapping data.compute_stack
Count data at each location of a categorical variablecompute_tabulate
Explain details of an objectexplain
Print out the structure of a ggvis object in a friendly formatexplain.ggvis
Export a PNG or SVG from a ggvis objectexport_png export_svg
Get data from a ggvis objectget_data
Visualise a data set with a ggvis graphic.ggvis
Send a message to ggvis running on clientggvis_message
Create a ggvis control output element in UIggvisControlOutput
Divide data into groups.group_by
Handle brush events on a visualisation.handle_brush
Handle mouse actions on marks.handle_click handle_hover
Handlers and interactive inputs for plot sizing.handle_resize plot_height plot_width
Create an interactive checkbox.input_checkbox
Create interactive control to select one (or more options) from a list.input_checkboxgroup input_radiobuttons input_select
Create an interactive slider.input_slider
Create an interactive text or numeric input box.input_numeric input_text
Determine if an object is a broker objectis.broker
Display data with bars (a barchart).layer_bars
Display data with a boxplot.layer_boxplots
Transformation: density estimatelayer_densities
Guess the right type of layer based on current properties.layer_guess
Display binned datalayer_freqpolys layer_histograms
Layer lines on a plot.layer_lines
Overlay model predictions or a smooth curve.layer_model_predictions layer_smooths
Interactive inputs bound to arrow keys.left_right up_down
Create an axis_props object for controlling legend properties.legend_props
Create a linked brush object.linked_brush
Vega marks.emit_arcs emit_images emit_paths emit_points emit_rects emit_ribbons emit_text layer_arcs layer_images layer_paths layer_points layer_rects layer_ribbons layer_text marks
Define padding.padding
Create a property.is.prop is.prop_constant is.prop_reactive is.prop_variable prop
Property domain.prop_domain
Manage a list of properties.is.ggvis_props props
Compute the "resolution" of a data vector.resolution
Add a date-time scale to a ggvis object.scale_datetime
Add a numeric scale to a ggvis object.scale_numeric
Add a ordinal, nominal, or logical scale to a ggvis object.scale_logical scale_nominal scale_ordinal
Create a scaled_value objectscaled_value
Add a scale to a ggvis plotscales set_default_scale set_dscale
Set options for a ggvis plotset_options
Set the label for a scaleset_scale_label
Connect a ggvis graphic to a shiny app.bind_shiny bind_shiny_ui ggvisOutput shiny-ggvis
Print out the vega plot specificationshow_spec
Send a message to the client to show or hide a tooltiphide_tooltip show_tooltip
Create a page with a sidebarmainTopPanel sidebarBottomPage sidebarBottomPanel
singular.scale_singular singular
Determine the "type" of a vectorvector_type
Determine the vega data type for a vectorvega_data_parser
Waggle back and forth between two numberswaggle
Determine if range of vector is close to zero, with a specified tolerancezero_range