Vega-Lite Chart Types | Observable | Observable
•ojs
•ojs
•ojs
•ojs
•ojs
•ojs
•ojs
•ojs
•ojs
•ojs
•ojs
•ojs
•ojs
•ojs
•ojs
•ojs
•ojs
•ojs
•ojs
•ojs
•ojs
•ojs
•ojs
•ojs
•ojs
•ojs
•ojs
•ojs
•ojs
•ojs
•ojs
Comments (6)
Ariel Aizemberg
Aug 28, 2020
vl.x().fieldO("date").timeUnit("utcdate") ---> vl.x().fieldO("date").timeUnit("date")
Visnu Pitiyanuvath
Aug 31, 2020
Ooh, there's something wonky about UTC and non-UTC here. I think this broke when switching to daylight savings?? There's something a little weird with non-UTC going on here too: the values are off by a day-ish. I have to investigate more.
Reply
Noah Song
Nov 6, 2020
This results in an empty array: marketCap.filter(d => d.date > new Date(2018, 0, 1))
Cobus Theunissen
Nov 6, 2020
Indeed! It should be .data(marketCap.filter(d => new Date(d.date) > new Date(2018, 0, 1)))
Reply
Brett Cooper
Nov 26, 2021
This has been renamed from data to hale
Mike Bostock
Apr 8, 2022
I’ve fixed the data. Thanks for letting us know!
Reply
Add comment
Subscribe to notifications
Observable
Sign in
Observable
Visnu Pitiyanuvath
131
Reply
Reply
Reply
Add comment
Subscribe to notifications
128
Vega-Lite Chart Types | Observable | Observable