title: Add Datalabel on the end of barchart (lollypop)
body: <p>I'm totally new at using Python for Power BI (or anything really).
  I would like to add the value of the bar/scatter at the end of the line. (the datalabel)</p>
  <p>Also to have a version where I could have the label inside of the scatter bubble would be cool.</p>
  <p>Anyone who could help out here ?</p>
  <p>All help appreciated</p>
  <pre><code># libraries
  import pandas as pd
  import matplotlib.pyplot as plt
  import numpy as np
   
  # Create a dataframe
  df = pd.DataFrame({'group': dataset.Genre , 'values': dataset.Revenue})
  val = list(dataset.SelectedGenre)
  
  # Reorder it following the values:
  ordered_df = df.sort_values(by='values')
  my_range=range(1,len(df.index)+1)
   
  # Create a color if the group is &quot;B&quot;
  my_color=np.where(ordered_df ['group']== val, 'orange', 'skyblue')
  my_size=np.where(ordered_df ['group']== val , 150, 150)
  
  # The vertival plot is made using the hline function
  # I load the seaborn library only to benefit the nice looking feature
  import seaborn as sns
  val = ordered_df['values']
  plt.hlines(y=my_range, xmin=0, xmax=val, color=my_color, alpha=1 , linewidth=8)
  plt.scatter(val, my_range, color=my_color, s=my_size, alpha=1)
  
  # Add title and axis names
  plt.yticks(my_range, ordered_df['group'])
  plt.title(&quot;What about the B group?&quot;, loc='left')
  plt.xlabel('Value of the variable')
  plt.ylabel('Group')
  plt.box(False) #Turn of Black bx around visual
  
  plt.show()
  </code></pre>