In our Data Visualization course, I have learnt about the Grammar of Graphics,how to use ggplot2 for data visualization,other package of R to visualize scatter plots,basic bar charts, histograms, pie charts,violin plots, line plots, box plots and how to further customize plots using themes.In this workshop, I try to analyse car data using those technique.By this visualization tools we can easily get a clear overview about car properties and performance with a quick view. To conclude, we can say that Data visualization is one of the useful technologies for data scientist.
Here, you'll find the car data which I have used for this workshop:
https://www.kaggle.com/goyalshalini93/car-data?select=CarPrice_Assignment.csv
For this project,I did following set-up:
- Download R
- Download RStudio
- Install some R packages(e.g.Tidyverse)
To try this project, you'll need to download this repository after completing the third step.
- Open the project by clicking
DATA_VIZ.Rproz
and then opendata_viz.rmd
Or for see the visulization only simply opendata_viz.rmd
and then from file section click onKnit document
for see the output in html format.
6.Packages for R on your computer, you'll need to install:
tidyverse
Install this with the R command
install.packages(c("tidyverse")
or
After completeing fifth step right the followinng command :
renv::restore()
renv::activate()
To run the code, click on run and then run all or simply ctrl+Alt+R
Data Reference
https://www.kaggle.com/goyalshalini93/car-data
Image reference link :
1.https://www.researchgate.net/figure/Cars-dimensions-15_fig10_252035013
2.https://www.scienceabc.com/innovation/what-is-a-four-wheel-drive-system-and-how-does-it-work.html
@therakiiibul