| gghexweight2d | R Documentation | 
In ggsurvey you specify both the plotting variables and weights in plain text with no quotes.
gghexweight2d(df, x, y, z, weights)
df | 
 data frame  | 
x | 
 name of variable for x axis  | 
y | 
 name of variable for y axis  | 
z | 
 faceting categorical variable  | 
weights | 
 name of weights variable  | 
ggplot object
library(survey) data(api) gghexweight2d(apistrat, api99, api00, stype, pw)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.