Observable Penguins

data=FileAttachment("../data/penguins.csv").csv({typed: true})

We can create a tabular representation of the full dataset:

Inputs.table(data)

Let’s create a simple scatterplot of bill_length_mm vs bill_depth_mm:

Plot.plot({
  marks: [
    Plot.dot(data, {x: "bill_length_mm", y: "bill_depth_mm", fill: "species"})
  ],
  color: {legend: true}
})