Skip to content

Latest commit

 

History

History
74 lines (48 loc) · 2.33 KB

README.md

File metadata and controls

74 lines (48 loc) · 2.33 KB

R Programs for Data Visualization

This repository contains R programs that generate various types of charts and plots, commonly used for data visualization. The visualizations include:

  1. Bar Charts
  2. Plots
  3. Scatterplots
  4. Stacked Frequency Bar Charts
  5. Stacked Relative Frequency Bar Charts

Table of Contents


Requirements

  • R version 3.6 or above
  • The following R packages must be installed for data visualization:
    • ggplot2
    • dplyr
    • scales

You can install the required libraries using the following commands:

install.packages("ggplot2")
install.packages("dplyr")
install.packages("scales")

Installation

  1. Clone the repository:

    git clone https://github.com/stephenombuya/Data-Visualization-with-R
    cd Data-Visualization-with-R
    
  2. Open RStudio or your preferred R environment and set the working directory to the project folder.

  3. Install the required packages as mentioned in the Requirements section.

Contributing

Contributions are welcome! If you would like to improve or expand on the existing charts, follow these steps:

  1. Fork the repository.

  2. Create a new branch (git checkout -b feature-branch).

  3. Make your changes.

  4. Commit your changes (git commit -m 'Add new feature').

  5. Push to the branch (git push origin feature-branch).

  6. Create a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.