This notebook visualizes citation data for scholarly articles by retrieving and processing citation counts from the OpenAlex API based on each articles's DOI.
- Data Loading: Reads tool names and DOIs from a CSV file.
- Data Retrieval: Fetches citation data from OpenAlex for each DOI.
- Plotting: Creates a scatter plot with histograms showing citations by year and total citations for each tool.
Install required packages with:
pip install requests matplotlib pandas- Prepare CSV Input: Create a file (e.g., example.csv) with columns Name and DOI.
- Run Notebook: The script generates and saves a visualization as a .png file.
Name,DOI
Name1,10.1234/example1
Name2,10.5678/example2
If using this notebook or OpenAlex data, please cite:
Priem, J., Piwowar, H., & Orr, R. (2022). OpenAlex: A fully-open index of scholarly works, authors, venues, institutions, and concepts. ArXiv. https://arxiv.org/abs/2205.01833