Skip to content

Commit

Permalink
test tip for primitive data
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock committed May 27, 2023
1 parent 20eeb56 commit 1cc42a0
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 0 deletions.
53 changes: 53 additions & 0 deletions test/output/tipDotX.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions test/plots/tip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ export async function tipDot() {
return Plot.dot(penguins, {x: "culmen_length_mm", y: "culmen_depth_mm", stroke: "sex", tip: true}).plot();
}

export async function tipDotX() {
return Plot.dotX(d3.range(10), {tip: true}).plot();
}

export async function tipDotFacets() {
const athletes = await d3.csv<any>("data/athletes.csv", d3.autoType);
return Plot.plot({
Expand Down

0 comments on commit 1cc42a0

Please sign in to comment.