title: I have data x,y and can make a scatterplot. How do I change the markers for frequency using matplot in python?
body: <p>I've been googling for an hour or so and haven't found what I am looking for. Here is where I am at in my code. </p>
  
  <p>I used BS to pull the information down and save it to a CSV file. The CSV has x,y coordinates which I can make into a scatterplot.</p>
  
  <p>similar to this (there are about 1,500 datapoints and obviously 100 combinations)</p>
  
  <p>x,y</p>
  
  <p>0,6</p>
  
  <p>1,2</p>
  
  <p>0,7</p>
  
  <p>4,6</p>
  
  <p>9,9</p>
  
  <p>0,0</p>
  
  <p>4,4</p>
  
  <p>1,2</p>
  
  <p>etc.</p>
  
  <p>What I would like to do is make the size of the points on the scatterplot scale with the frequency of how often they appear. </p>
  
  <pre><code>df = pd.read_csv("book8.csv")
  
  df.plot(kind = 'scatter',x='x',y='y')
  
  
  plt.show()
  </code></pre>
  
  <p>The arrays are just numbers between 0 and 9. I'd like to make the size scale to how often combinations of 0-9 show up. </p>
  
  <p>I currently just have this, it's not really useful obviously. </p>
  
  <p><a href="https://imgur.com/a/25PEC" rel="nofollow noreferrer">https://imgur.com/a/25PEC</a></p>
  
  <p>Do I need to set x and y into their own arrays to accomplish this instead of using the dataframe(df)? </p>