# vw_to_svg works with vega spec
Code
cat(spec_mtcars %>% vw_to_vega() %>% vw_to_svg())
Output
# vw_to_svg works with vega-lite spec
Code
cat(vw_to_svg(spec_mtcars))
Output
---
Code
cat(vw_to_svg(spec_mtcars4))
Output
# vw_to_svg works with url data
Code
cat(vw_to_svg(spec_anscombe, base_url = base_url))
Output
---
Code
cat(vw_to_svg(spec_wx, base_url = base_url))
Output
# vw_to_svg works with local data
Code
cat(vw_to_svg(spec_anscombe, base_url = tempdir))
Output
---
Code
cat(vw_to_svg(spec_wx, base_url = tempdir))
Output