Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
russellsamora committed Sep 6, 2024
1 parent a236061 commit 6f01b1f
Show file tree
Hide file tree
Showing 49 changed files with 375 additions and 29 deletions.
7 changes: 7 additions & 0 deletions docs/_file/data/loaders/test.5518808e.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
year,amount,group
1970,30,false
1980,10,true
1990,50,true
2000,60,false
2010,75,true
2020,45,true
21 changes: 21 additions & 0 deletions docs/_import/components/scatter.97e52f71.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import * as Plot from "../../_node/@observablehq/[email protected]/index.bac1276b.js";

export default function scatter(
data,
{ x = "x", y = "y", width, height } = {}
) {
return Plot.plot({
width,
height,
marks: [
Plot.ruleY([0]),
Plot.dot(data, {
x: (d) => +d[x],
y: (d) => +d[y],
}),
],
grid: true,
x: { label: x },
y: { label: y },
});
}
59 changes: 59 additions & 0 deletions docs/_node/@observablehq/[email protected]/index.bac1276b.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/_node/[email protected]/index.990a1c6d.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions docs/_node/[email protected]/index.f89e3560.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/_node/[email protected]/index.34ded868.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions docs/_node/[email protected]/index.1c3fc471.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions docs/_node/[email protected]/index.9b04aad8.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6f01b1f

Please sign in to comment.