// TODO Would be nice to get both formats faceted, but I can't figure out how to// plot different facets at different scales.Plot.plot({height: reading_timeline.length*18,marginLeft:120,x: {axis:"top",grid:true,domain: [newDate("2021-01-01"),newDate("2023-01-01")],label:"Date Finished" },y: {label:"Pages Read" },marks: [ Plot.line(reading_timeline.filter(d => d.length_units=="pages"), {x:"date_finished",y:"total_pages_read_hours_listened",stroke: theme[0] }) ]})
This page serves two purposes. First, I want somewhere to track the books I’ve read and my incredibly subjective ratings. Second, I want a sandbox where I can play with Javascript tools like D3 and Observable.