title: How to Extract Data from Graph from a web Page?
body: <p>I am Trying to scrape graph data from the webpage: 'https://cawp.rutgers.edu/women-percentage-2020-candidates'</p>
  <p>I tried bellow code to extract data from Graph:</p>
  <pre><code>import requests
  from bs4 import BeautifulSoup
  
  Res = requests.get('https://cawp.rutgers.edu/women-percentage-2020-candidates').text
  soup = BeautifulSoup(Res, &quot;html.parser&quot;)
  
  Values= [i.text for i in soup.findAll('g', {'class': 'igc-graph'}) if i]
  Dates = [i.text for i in soup.findAll('g', {'class': 'igc-legend-entry'}) if i]
  
  print(Values, Dates) ## both list are empty
  Data= pd.DataFrame({'Value':Values,'Date':Dates}) ## Returning an Empty Dataframe
  </code></pre>
  <p>I want to extract Date and Value from all the 4 bar Graphs. Please anyone suggest what i have to do here to extract the graph data, or is there any other method that i can try to extract the data. thanks;</p>