We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cfcd21 commit fbce8aaCopy full SHA for fbce8aa
test/plots/interval-aware.ts
@@ -12,15 +12,15 @@ export async function intervalAwareBin() {
12
export async function intervalAwareGroup() {
13
const olympians = await d3.csv<any>("data/athletes.csv", d3.autoType);
14
return Plot.plot({
15
- x: {tickFormat: "%Y", interval: "5 years"},
+ x: {interval: "5 years"},
16
marks: [Plot.barY(olympians, Plot.groupX({y: "count"}, {x: "date_of_birth"}))]
17
});
18
}
19
20
export async function intervalAwareStack() {
21
22
23
24
marks: [Plot.barY(olympians, {x: "date_of_birth", y: 1})]
25
26
0 commit comments