{r setup, include=FALSE} knitr::opts_chunk$set(echo = TRUE, message = FALSE, warning = FALSE)

Таблица

library(formattable)
## Warning: package 'formattable' was built under R version 4.3.2
df <- readxl::read_excel("форель.xlsx")
formattable(df)
Температура Среднесуточный прирост форели
0.5 0.10
1.0 0.20
2.0 0.30
3.0 0.45
4.0 0.60
5.0 0.76
6.0 0.92
7.0 1.08
8.0 1.24
9.0 1.43
10.0 1.63
11.0 1.82
12.0 2.02
13.0 2.22
14.0 2.42
15.0 2.53
16.0 2.65
17.0 2.42
18.0 2.02
19.0 1.52
20.0 1.01

Картинки

Шрек1

Шрек2

График

library(ggplot2)
library(plotly)
## Warning: package 'plotly' was built under R version 4.3.2
## 
## Attaching package: 'plotly'
## The following object is masked from 'package:ggplot2':
## 
##     last_plot
## The following object is masked from 'package:formattable':
## 
##     style
## The following object is masked from 'package:stats':
## 
##     filter
## The following object is masked from 'package:graphics':
## 
##     layout
p <- ggplot(df, aes(`Температура`, `Среднесуточный прирост форели`))+ 
    geom_line(linewidth = 0.5) + 
    geom_point(shape = 21, 
        size = 2.5,
        color = "red")
plotly::ggplotly(p)