🏠 back to Observable

Blank chart in notebook but thumbnail generates fine

Hey everyone! I’m at a bit of a loss as to why I’m encountering this problem. I’ve created a notebook using Bostock’s new TimeChart. I’m getting no errors and, even more bafflingly, the auto-generated thumbnail works. But the chart itself is blank in the notebook; I’ve checked in other browsers in the off chance I was blocking something, but no luck.

The draft is here: https://observablehq.com/d/4fb9b3d6298ee059

Is there something I’m overlooking that’s causing this? Thanks!

Hi @hepplerj, it seems like TimeChart is expecting UTC intervals formated data,

replace

parseDate = d3.timeParse("%Y")

with

parseDate = d3.utcParse("%Y")
1 Like

Ah, of course it was something simple. Thank you!