title: How to click on a d3 charts using selenium
body: <p>I have a <code>d3</code> type chart to automate.</p>
  
  <p>I tried using action class but it is not getting clicked.</p>
  
  <p>code I used is :</p>
  
  <pre><code>[FindsBy(How = How.XPath, Using = ".//*[@class='someid]")]
  public IWebElement chart{ get; set; }
  
  Actions act = new Actions(_driver);
  
  act.MoveToElement(chart,155, 215).Click().Build().Perform();
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/vlu4k.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vlu4k.png" alt="enter image description here"></a></p>
  
  <p>in the above chart all the color is clickable and it will take to another page,by using selenium i am not able to differentiate each color and click on them </p>
  
  <p>not able to differentiate using different xpath.</p>
  
  <p>attached html of the chart.
  <a href="https://i.stack.imgur.com/N8yO0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/N8yO0.png" alt="enter image description here"></a>
  can anyone help me on this ,Thanks in advance</p>