Skip to content

Commit

Permalink
update readme with figs
Browse files Browse the repository at this point in the history
  • Loading branch information
AliciaSchep committed Nov 14, 2021
1 parent c129112 commit 0bbc20b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ vl_chart() %>%
vl_mark_point() %>%
vl_encode_x("wt") %>%
vl_encode_y("mpg")
#> [1] "Error printing vegawidget in non-HTML format:"
#> [2] "Package(s): \"V8\" needed for this function to work. Please install."
```

![](man/figures/README-example-1.svg)<!-- -->

``` r
vl_chart() %>%
vl_add_data(url = "https://vega.github.io/vega-editor/app/data/population.json") %>%
Expand All @@ -79,6 +79,9 @@ vl_chart() %>%
vl_aggregate_y("sum") %>%
vl_axis_y(title = "population") %>%
vl_mark_bar()
#> [1] "Error printing vegawidget in non-HTML format:"
#> [2] "Package(s): \"V8\" needed for this function to work. Please install."
#> Warning in readLines(filename, encoding = "UTF-8"): incomplete final line
#> found on '/var/folders/2p/v3ngqg4j4f7_vplnnym80c7c0000gn/T//RtmpbBxkd7/
#> file44107848d4e0'
```

![](man/figures/README-example2-1.svg)<!-- -->
Loading

0 comments on commit 0bbc20b

Please sign in to comment.