Data Visualization

Hi!
I recently finished cleaning the chronic kidney disease dataset, and I want to use R to input the cleaned data and visualize it with the help of at least 3 different plots. For instance, the correlation between the age and how many have the disease and so on.
I want to edit the visual parameters of the data to make the information I want to express clearly visible. The final visualization should have variables clearly labelled and units equally proportioned.

The cleaned data
https://github.com/adam00111/my_files/blob/main/cleaned_kidney_dataset.csv

As a beginner to R you may benefit from studying this useful book.
https://r4ds.had.co.nz/

I'll start you off. You need to decide what types of visualizations you want for each variable, and to research the R syntax for those visualizations.

df <- read.table("C:/Users/Jerry/Desktop/R_files/cleaned_kidney_dataset.txt",
sep=',' , header=TRUE)
head(df)
hist(df$age,
breaks=10,
xlim=c(0,100),
col="red",
border="black",
ylim=c(0,100),
xlab="age",
ylab="Counts",
main="Histogram of Ages")

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.