Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test tip for primitive data #1646

Merged
merged 1 commit into from
May 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
test tip for primitive data
  • Loading branch information
mbostock committed May 27, 2023
commit 087b3402e537186de27bb78281f8d7af7efff1d4
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