-
| I can't get a text label to appear directly centered over the two bars per category facet. Is there a straightforward way to do this without using the dx option on the text label? See attached image for details. Right now the label is over the second bar. | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            Fil
          
      
      
        May 28, 2023 
      
    
    Replies: 1 comment 6 replies
-
| Please share your code so far (ideally in an observable notebook), so we can help. It's hard to debug a jpeg :) | 
Beta Was this translation helpful? Give feedback.
                  
                    6 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    


To make Plot work on observable, create an account, then create a new notebook, and paste each statement into a different cell.
Here's a suggestion to place the category label just over the highest bar in each facet:
https://observablehq.com/@recifs/plot-facet-label-placement--support
Technically, it's not the facet label, but a text mark where we select the datum which has the highest value for y.