https://github.com/stephenombuya/data-visualization-with-r
This repository contains R programs that generate various types of charts and plots, commonly used for data visualization. The visualizations include:
https://github.com/stephenombuya/data-visualization-with-r
bar-charts data-visualization plots-in-r r scatter-plot
Last synced: 7 months ago
JSON representation
This repository contains R programs that generate various types of charts and plots, commonly used for data visualization. The visualizations include:
- Host: GitHub
- URL: https://github.com/stephenombuya/data-visualization-with-r
- Owner: stephenombuya
- License: mit
- Created: 2024-09-11T23:24:31.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-11T23:59:44.000Z (about 1 year ago)
- Last Synced: 2025-01-13T14:28:47.112Z (9 months ago)
- Topics: bar-charts, data-visualization, plots-in-r, r, scatter-plot
- Language: R
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](#requirements)
- [Installation](#installation)
- [Bar Charts](https://github.com/stephenombuya/Data-Visualization-with-R/blob/main/Bar%20Chart%20for%20US%20Gov't%20Expenditure%20in%202006.R)
- [Plots](https://github.com/stephenombuya/Data-Visualization-with-R/blob/main/Scatterplot%20with%20a%20Loess%20Smooth%20Line.R)
- [Scatterplots](https://github.com/stephenombuya/Data-Visualization-with-R/blob/main/Scatter%20Plot.R)
- [Stacked Frequency Bar Charts](https://github.com/stephenombuya/Data-Visualization-with-R/blob/main/Stacked%20Frequency%20Bar%20Chart.R)
- [Stacked Relative Frequency Bar Charts](https://github.com/stephenombuya/Data-Visualization-with-R/blob/main/Stacked%20Relative%20Frequency%20Bar%20Chart.R))
- [Contributing](#contributing)
- [License](#license)---
## 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:
```r
install.packages("ggplot2")
install.packages("dplyr")
install.packages("scales")
```
## Installation1. 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](#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](https://github.com/stephenombuya/Data-Visualization-with-R/blob/main/LICENSE) file for details.