Let's create a place to work first:
cd ~
mkdir q2-tutorial
cd q2-tutorialDownload data from "collaborators":
| { | |
| "$schema": "https://vega.github.io/schema/vega/v5.json", | |
| "description": "A basic bar chart example, with value labels shown upon mouse hover.", | |
| "width": 400, | |
| "height": 200, | |
| "padding": 5, | |
| "data": [ | |
| { | |
| "name": "table", | |
| "values": [ |
| { | |
| "$schema": "https://vega.github.io/schema/vega/v5.json", | |
| "description": "A basic bar chart example, with value labels shown upon mouse hover.", | |
| "width": 400, | |
| "height": {"signal": "$row_height * $n_rows"}, | |
| "title": {"text": {"signal": "$title"}}, | |
| "padding": 5, | |
| "data": [ | |
| { | |
| "name": "table", |
| { | |
| "$schema": "https://vega.github.io/schema/vega/v5.json", | |
| "background": "white", | |
| "padding": 5, | |
| "title": {"text": {"signal": "'Distribution of the ' + lower(x_axis) + ' of penguins by ' + lower(y_axis)"}, "anchor": "start"}, | |
| "width": {"signal": "child_width"}, | |
| "height": {"signal": "child_height"}, | |
| "data": [ | |
| {"name": "grid_store"}, | |
| { |
| { | |
| "$schema": "https://vega.github.io/schema/vega/v5.json", | |
| "background": "white", | |
| "padding": 5, | |
| "title": {"text": {"signal": "'Distribution of the ' + lower(x_axis) + ' of penguins by ' + lower(y_axis)"}, "anchor": "start"}, | |
| "width": {"signal": "child_width"}, | |
| "height": {"signal": "child_height"}, | |
| "data": [ | |
| {"name": "grid_store"}, | |
| { |