I've looked around for sources on how to use matplotlib to create graphs (line, bar, and pie) from a csv file, but they're not exactly what I'm looking for. I am wondering how, from this example file I created below, would I graph just the Favorite Color column along with the number of occurrences of each color?
ID Name Favorite Color
1 Mary Blue
2 Bob Green
3 Simon Red
4 Lily Red
5 Gerald Blue
6 Kathy Blue
Hope that makes sense! Thank you in advance!
source https://stackoverflow.com/questions/71459969/use-matplotlib-to-graph-a-csv-column-and-occurrences
Comments
Post a Comment