Closed sizhky closed 3 years ago
Use seattle-weather-hourly-normals.csv
. The vega datasets package for python needs to be updated.
See https://github.com/vega/vega-datasets/blob/master/CHANGELOG.md#version-20
If you want to see the right chart, use the jsdelivr cdn and get the dataset from there: https://cdn.jsdelivr.net/npm/vega-datasets@1.31.1/data/seattle-temps.csv
Hi I was going through Altair's tutorial here - https://altair-viz.github.io/altair-tutorial/notebooks/03-Binning-and-aggregation.html
and ran
that produces following json
but it creates a blank plot as shown in screenshot below
Edit
Error persists even when using
"$schema": "https://vega.github.io/schema/vega-lite/v5.json"
Please:
[x] Check for duplicate issues. Please file separate requests as separate issues on GitHub.
[x] Describe how to reproduce the bug / the goal of the feature request.
[x] Use the latest versions of Vega and Vega-Lite.
[x] Provide an example spec in JSON, wrapped by triple backticks like this:
[x] If applicable, include error messages and screenshots, GIF videos (e.g. using https://www.cockos.com/licecap/), or working examples (e.g. by clicking share in the Vega-Editor or https://bit.ly/vega-lite-blocks)