gallery_examples
Vega, Vega-Lite and Altair gallery example index
An index of examples published in the Vega, Vega-Lite, and Altair
galleries. Each record describes one example, links to its rendered page and source,
lists its gallery categories, and identifies any vega-datasets resources it uses. The
datasets array is empty when it uses none.
The contents of gallery-examples.json are a snapshot of the three galleries,
created for a particular vega-datasets release from one pinned commit per gallery.
When a newer version of vega-datasets is released, the file may be regenerated to
reflect examples added, removed, or updated in those galleries.
Fields
| Field | Type | Distribution | Summary | Missing |
|---|---|---|---|---|
gallery_nameGallery that publishes the example | string | 3 distinct | vega-lite 189 · altair 188 · vega 94 | Missing 0 |
example_nameHuman-readable example title | string | 413 distinct | Donut Chart 3 · Grouped Bar Chart 3 · Horizon Graph 3 | Missing 0 |
example_urlKeyStable, unique URL of the rendered gallery example | stringuri | 471 distinct | https://altair-viz.github.io/gallery/airport_connections.html 1 · https://altair-viz.github.io/gallery/andrews_curves.html 1 · https://altair-viz.github.io/gallery/annual_weather_heatmap.html 1 | Missing 0 |
spec_urlImmutable, commit-pinned URL of the source specification or code | stringuri | 471 distinct | https://cdn.jsdelivr.net/gh/vega/altair@78c66bf226b3bb36277fe0c261f469e5b6200a30/tests/examples_arguments_syntax/airport_connections.py 1 · https://cdn.jsdelivr.net/gh/vega/altair@78c66bf226b3bb36277fe0c261f469e5b6200a30/tests/examples_arguments_syntax/andrews_curves.py 1 · https://cdn.jsdelivr.net/gh/vega/altair@78c66bf226b3bb36277fe0c261f469e5b6200a30/tests/examples_arguments_syntax/annual_weather_heatmap.py 1 | Missing 0 |
categoriesArray of category-name strings assigned by the source gallery | list | 51 distinct | ["bar charts"] 29 · ["Bar Charts"] 28 · ["interactive charts"] 26 | Missing 0 |
descriptionDescription of what the example demonstrates, or null when unavailable | string | 389 distinct | Google's stock price over time. 4 · Stock prices of 5 Tech Companies over Time. 3 · A bar chart with negative values. We can hide the axis domain line, and instead use a conditional grid color to draw a zero baseline. 2 | Missing 73 · 15.5% |
datasetsArray of Data Package resource names (`resources[].name`) used by the example, sorted alphabetically; the order carries no meaning | list | 59 distinct | [] 119 · ["cars"] 53 · ["movies"] 47 | Missing 0 |
Profiled across all 471 rows.
Explore
Preview
| gallery_name | example_name | example_url | spec_url | categories | description | datasets |
|---|---|---|---|---|---|---|
| altair | 2D Histogram Heatmap | https://altair-viz.github.io/gallery/histogram_… | https://cdn.jsdelivr.net/gh/vega/altair@78c66bf… | ["distributions"] | This example shows how to make a heatmap from b… | ["movies"] |
| altair | 2D Histogram Scatter Plot | https://altair-viz.github.io/gallery/histogram_… | https://cdn.jsdelivr.net/gh/vega/altair@78c66bf… | ["distributions"] | This example shows how to make a 2d histogram s… | ["movies"] |
| altair | Andrews Curves | https://altair-viz.github.io/gallery/andrews_cu… | https://cdn.jsdelivr.net/gh/vega/altair@78c66bf… | ["advanced calculations"] | `Andrews curves <https://en.wikipedia.org/wiki/… | ["penguins"] |
| altair | Annual Weather Heatmap | https://altair-viz.github.io/gallery/annual_wea… | https://cdn.jsdelivr.net/gh/vega/altair@78c66bf… | ["tables"] | ["seattle_weather"] | |
| altair | Anscombe's Quartet | https://altair-viz.github.io/gallery/anscombe_p… | https://cdn.jsdelivr.net/gh/vega/altair@78c66bf… | ["case studies"] | `Anscombe's Quartet <https://en.wikipedia.org/w… | ["anscombe"] |
Scroll sideways for all 7 fields.
Examples
Not yet seen in any gallery.
This dataset is published and documented but no Vega, Vega-Lite or Altair example uses it. A new example would be a welcome contribution.
Provenance
- Source
- License
-
- The 3-Clause BSD License (BSD-3-Clause)
- File
data/gallery-examples.json· 260,222 bytes · View on GitHub