What is Line Chart and When to Use It
A Line Chart or Line Graph is the most popular type of the data visualization. It displays information as a series of data points called ‘markers’ connected by straight line segments. Usually, a Line...
View ArticleWhat are Pie Chart and Donut Chart and When to Use Them
Pie Chart The Pie Chart is essentially a circle divided into sectors. The area of each item reflects its value’s proportion of the sum of all values in one data set. Pie Chart are useful when you need...
View ArticleHow to Read Scatter Chart and Bubble Chart
Scatter charts show the relationships among the numeric values in several data series, or between two groups of numbers as one series of XY coordinates. A scatter chart has two value axes, showing one...
View ArticleWhat is a Box Plot and How to Read It
A Box Plot is a convenient way of graphically depicting groups of numerical data through their quartiles. They provide a graphical rendition of statistical data based on the minimum, first quartile,...
View ArticleUnderstanding Japanese Candlestick Charts and OHLC Charts
Japanese Candlestick Chart Japanese Candlestick is a type of financial charts, the modification of OHLC Chart. Candlesticks are usually composed of the body (black or white), and an upper and a lower...
View ArticleUnderstanding Treemap, Heatmap and Other Map Charts
Treemap Treemaps display hierarchical data by using nested rectangles, that is, smaller rectangles within a larger rectangle. The Treemap Chart is intended for the visualization of hierarchical data in...
View ArticleVisualization in Data Science
The advent of data science has opened doors to making discoveries from data in new and innovative ways. By combining statistics, computer science, applied mathematics and data visualizations, a data...
View ArticleGraphic Systems in R
If you want to plot a graph in R for your own consumption, it is pretty easy and you can generally do it with a few lines of code. However, if you are creating the graph for others consumption and want...
View ArticleAccessing Built-in Datasets in R
R comes with many built-in datasets which are quite useful while learning R. To begin learning the basics of data visualization in R, we will make use of some of these datasets. Datasets in the...
View ArticleHow to Create a Scatter Plot in R
When you start analyzing a new dataset, your first requirement would be to know the variables in the dataset and the relationship between them. A scatter plot is the perfect place to start with. It is...
View ArticleCreate a Scatter Plot in R with Multiple Groups
Let’s say you have Sales Orders data for a sports equipment manufacturer and you want to plot the Revenue and Gross Margins on a scatter plot. However, you also have a ProductLine column that contains...
View ArticleCreating a Bar Chart in R
In R, we can create a bar plot using the barplot() function. A Bar Plot or Bar Graph is primarily used to compare values. It presents grouped data using rectangular bars whose lengths are proportional...
View ArticleCreating a Line Chart in R
In R, we can create a line plot using the same plot() function by adding a plot type of “l”. This will plot the (x,y) paired observations and connect them with lines. Let’s generate our own data for...
View ArticlePlotting Multiple Datasets on One Chart in R
It’s a common scenario to plot multiple datasets together on a single graph. For example, we may want to plot the daily returns from multiple stocks on a single chart to understand how they trend...
View ArticleAdding Details and Features to R Plots
We’ve already seen how we can enhance the plots created in R by adding title, axis labels, legends, etc. Let’s learn about a few more enhancements. Adding Vertical/Horizontal Lines to the Graph You may...
View ArticleIntroduction to ggplot2
We have already learned about how we can create meaningful data visualizations in R using the Base Graphics package. In this section, we will learn about how we can create even more powerful data...
View ArticleGrammar of Graphics in ggplot
We know that the grammar of a language is a set of rules that explain how words are used in a language to form meaningful sentences. Similarly, grammar of graphics defines rules for structuring...
View ArticleData Import and Basic Manipulation in R – German Credit Dataset
To learn data visualization with ggplot2 in R, we will be making use of various datasets. However, one interesting dataset that we will be using quite a lot in this section is the German Credit...
View ArticleCreate ggplot Graph with German Credit Data in R
In ggplot2 package, we use the ggplot() function to create a fully customized data visualization. We still have the German credit data loaded in the dataframe df. We will start by plotting a simple...
View ArticleSplitting Plots with Facets in ggplots
Faceting refers to splitting the data into multiple subsets and then displaying plots for the specific subsets in a panel. Such plots are also called small-multiple plots. The facet approach partitions...
View Article