Caused by error: ! object 'visibility' not found
12:51 28 Jul 2026

good afternoon, I am a beginner at R studio, and im having some issues that keep coming up whenever I try and use ggplots, it says that the object cannot be found, even when I have taken the "object" driectly from the data itself. Im not sure was to what I am doing wrong here, and if anyone could provide any assitance as to why im running into the road block that would be of great help.

this is my code and this is what shows up when i enter said code, If I need to upload my data, let me know. Since this is my first timen posting on the forum site.

```{r}
ggplot(mpg, aes(x = visibility, y = Concentration)) + 
  geom_point(color = "blue")

``

`Error in `geom_point()`:
! Problem while computing aesthetics.
ℹ Error occurred in the 1st layer.
Caused by error:
! object 'visibility' not found
Run `rlang::last_trace()` to see where the error occurred.
r rstudio