Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Вивчайте Challenge: Publication-Ready Figure | Visualizing Research Results
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
Python for Researchers

bookChallenge: Publication-Ready Figure

When preparing research for publication, it is essential to present results in a clear and visually appealing manner. Visualizing trends over time, such as the number of publications and citations per year, can reveal important patterns and support your findings. Using a line plot is a common way to compare such metrics simultaneously, but to make the figure publication-ready, you must carefully customize its appearance. This includes choosing distinct colors and markers for each line, adding a legend for clarity, and labeling axes and the plot title appropriately so that the figure is self-explanatory even outside the context of your paper. In this challenge, you will apply your data visualization skills to create a polished figure that could appear in a research article.

Завдання

Swipe to start coding

Implement a function that creates a line plot of 'publications' and 'citations' over the 'year' column from the provided DataFrame. Customize the plot as follows:

  • Plot 'publications' as a blue line with circle markers.
  • Plot 'citations' as a green line with square markers.
  • Add a legend that distinguishes 'Publications' and 'Citations'.
  • Set the x-axis label to 'Year' and the y-axis label to 'Count'.
  • Set the plot title to 'Publications and Citations Over Time'.

Рішення

Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 2. Розділ 6
single

single

Запитати АІ

expand

Запитати АІ

ChatGPT

Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат

close

bookChallenge: Publication-Ready Figure

Свайпніть щоб показати меню

When preparing research for publication, it is essential to present results in a clear and visually appealing manner. Visualizing trends over time, such as the number of publications and citations per year, can reveal important patterns and support your findings. Using a line plot is a common way to compare such metrics simultaneously, but to make the figure publication-ready, you must carefully customize its appearance. This includes choosing distinct colors and markers for each line, adding a legend for clarity, and labeling axes and the plot title appropriately so that the figure is self-explanatory even outside the context of your paper. In this challenge, you will apply your data visualization skills to create a polished figure that could appear in a research article.

Завдання

Swipe to start coding

Implement a function that creates a line plot of 'publications' and 'citations' over the 'year' column from the provided DataFrame. Customize the plot as follows:

  • Plot 'publications' as a blue line with circle markers.
  • Plot 'citations' as a green line with square markers.
  • Add a legend that distinguishes 'Publications' and 'Citations'.
  • Set the x-axis label to 'Year' and the y-axis label to 'Count'.
  • Set the plot title to 'Publications and Citations Over Time'.

Рішення

Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 2. Розділ 6
single

single

some-alt