# Facet label placement

**URL:** <https://talk.observablehq.com/t/facet-label-placement/8218>\
**Category:** Help\
**Created:** [August 23, 2023, 8:37pm UTC](https://talk.observablehq.com/t/facet-label-placement/8218 "2023-08-23T20:37:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![boshek](https://avatars.discourse-cdn.com/v4/letter/b/ba8739/32.png) [@boshek](https://talk.observablehq.com/u/boshek)\
**Post date:** [August 23, 2023, 8:37pm UTC](https://talk.observablehq.com/t/facet-label-placement/8218/1 "2023-08-23T20:37:16Z")

</div>

Is there a place to specify the facet label placement? I have some `Plot` code like this (notebook [here](https://observablehq.com/d/35254b5e832f52c0)):

```js
Plot.plot({
  facet: {
    data: weather,
    y: "weather"   
    },
  marks: [
    Plot.dot(weather, {
        x: "date", 
        y: "precipitation", 
        fy: "weather",
        stroke: "weather"
      })
  ]
})

```

From that I’d like to be able to place the label (currently on the right side of the plot) to the top of each facet but maintain the ncol = 1 facet organization. I’ve tried playing around with `facetAnchor` and `labelAnchor` but I don’t see quite how I might do this.

---

<div class="post-metadata">

**Author:** ![Fil](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/fil/32/207_2.png) [@Fil](https://talk.observablehq.com/u/Fil)\
**Post date:** [August 23, 2023, 9:17pm UTC](https://talk.observablehq.com/t/facet-label-placement/8218/2 "2023-08-23T21:17:51Z")

</div>

Suggestion:

```auto
Plot.plot({
  fy: { axis: null },
  marks: [
    Plot.dot(weather, {
      x: "date",
      y: "precipitation",
      fy: "weather",
      stroke: "weather"
    }),
    Plot.text(
      weather,
      Plot.selectFirst({
        fy: "weather",
        text: "weather",
        frameAnchor: "top-right"
      })
    )
  ]
})

```

then use dx and dy to give more breathing room
