Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock committed Mar 28, 2021
1 parent c3a9c4a commit a47168b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/plots/penguin-sex.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import * as Plot from "@observablehq/plot";
import * as d3 from "d3";

export default async function() {
const data = await d3.csv("data/penguins.csv", d3.autoType);
const penguins = await d3.csv("data/penguins.csv", d3.autoType);
return Plot.plot({
marks: [
Plot.barY(data, Plot.groupX({y: "count"}, {x: "sex"})),
Plot.barY(penguins, Plot.groupX({y: "count"}, {x: "sex"})),
Plot.ruleY([0])
]
});
Expand Down

0 comments on commit a47168b

Please sign in to comment.