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 12d45bc commit 98c9d61Copy full SHA for 98c9d61
src/builds.mjs
@@ -61,10 +61,12 @@ const schema = {
61
62
getBuilds('engine262/engine262')
63
.then((builds) => {
64
- schema.data.values = builds.map((b) => ({
65
- state: b.state,
66
- finished_at: b.finished_at,
67
- duration: b.duration / 60,
68
- }));
+ schema.data.values = builds
+ .filter((b) => schema.encoding.color.scale.domain.includes(b.state))
+ .map((b) => ({
+ state: b.state,
+ finished_at: b.finished_at,
69
+ duration: b.duration / 60,
70
+ }));
71
vegaEmbed('#view', schema);
72
});
0 commit comments