Created
June 24, 2018 00:51
-
-
Save simonw/c57d075659b142006899c64eaf538a02 to your computer and use it in GitHub Desktop.
Vega demo using CSV from fivethirtyeight.datasettes.com
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "data": { | |
| "url": "https://fivethirtyeight.datasettes.com/fivethirtyeight/twitter-ratio%2Fsenators.csv?_size=max&_sort_desc=replies", | |
| "format": { | |
| "type": "csv" | |
| } | |
| }, | |
| "mark": "bar", | |
| "encoding": { | |
| "x": { | |
| "field": "created_at", | |
| "type": "temporal" | |
| }, | |
| "y": { | |
| "field": "replies", | |
| "type": "quantitative" | |
| }, | |
| "color": { | |
| "field": "user", | |
| "type": "nominal" | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment