Skip to contents

Create a ggsql_hep htmlwidget from a spec. The spec is rendered to a .hep plot document server-side and displayed in the browser with the hephaestus SVG renderer compiled to WebAssembly, which re-lays out the plot as its container changes size.

Usage

ggsql_widget(spec, width = NULL, height = NULL)

Arguments

spec

A Spec object returned by ggsql_execute().

width, height

Optional widget dimensions passed to htmlwidgets::createWidget().

Value

An htmlwidget with class ggsql_hep.