Simple search Advanced search Browse by DDC#

R data visualization recipes: a cookbook with 65 + data visualization recipes for smarter decision-making

Lanzetta, Vitor Bianchi Unknown Packt Publishing Ltd. (Birmingham, UK, 2017) (eng) English 9781788398312 Unknown Unknown INFORMATION VISUALIZATION; Unknown R is an open source language for data analysis and graphics that allows users to load various packages for effective and better data interpretation. Its popularity has soared in recent years because of its powerful capabilities when it comes to turning different kinds of data into intuitive visualization solutions. This book is an update to our earlier R data visualization cookbook with 100 percent fresh content and covering all the cutting edge R data visualization tools. This book is packed with practical recipes, designed to provide you with all the guidance needed to get to grips with data visualization using R. It starts off with the basics of ggplot2, ggvis, and plotly visualization packages, along with an introduction to creating maps and customizing them, before progressively taking you through various ggplot2 extensions, such as ggforce, ggrepel, and gganimate. Using real-world datasets, you will analyze and visualize your data as histograms, bar graphs, and scatterplots, and customize your plots with various themes and coloring options. The book also covers advanced visualization aspects such as creating interactive dashboards using Shiny By the end of the book, you will be equipped with key techniques to create impressive data visualizations with professional efficiency and precision.

Physical dimension
xi, 344 p. 24 cm. ill.

Summary / review / table of contents

Cover --
Copyright --
Credits --
About the Author --
About the Reviewer --
www.PacktPub.com --
Customer Feedback --
Table of Contents --
Preface --
Chapter 1: Installation and Introduction --
Introduction --
Installing and loading graphics packages --
How to do it... --
How it works... --
There's more --
See also... --
Using ggplot2, plotly, and ggvis --
Getting ready --
How to do it... --
How it works... --
There's more --
See also --
Making plots using primitives --
How to do it... --
How it works... --
There's more... --
Chapter 2: Plotting Two Continuous Variables --
Introduction --
Plotting a basic scatterplot --
How to do it... --
How it works... --
There's more... --
Hacking ggvis add_axis() function to operate as a title function --
Getting ready --
How to do it... --
How it works... --
Plotting a scatterplot with shapes and colors --
How to do it... --
How it works... --
Plotting a shape reference palette for ggplot2 --
How to do it... --
How it works... --
There's more... --
Dealing with over-plotting, reducing points --
How to do it... --
How it works... --
There's more... --
Dealing with over-plotting, jittering points --
How to do it... --
How it works... --
Dealing with over-plotting, alpha blending --
How to do it... --
How it works... --
There's more... --
Rug the margins using geom_rug() --
How to do it... --
How it works... --
Adding marginal histograms using ggExtra --
Getting ready --
How to do it... --
How it works... --
Drawing marginal histogram using gridExtra --
Getting ready --
How to do it... --
How it works... --
Crafting marginal plots with plotly --
How to do it... --
How it works... --
Adding regression lines --
How to do it... --
How it works... --
Adding quantile regression lines --
Getting ready --
How to do it... --
How it works... --
Drawing publish-quality scatterplots --
Getting ready --
How to do it... How it works... --
See also --
Chapter 3: Plotting a Discrete Predictor and a Continuous Response --
Introduction --
Installing car package and getting familiar to data --
How to do it... --
How does it works... --
There is more --
See also --
Drawing simple box plots --
Getting ready --
How to do it... --
How it works... --
Adding notches and jitters to box plots --
Getting ready --
How to do it... --
How it works... --
Drawing bivariate dot plots using ggplot2 --
Getting ready --
How to do it... --
How does it work... --
There is more --
Using more suitable colors for geom_dotplot --
Getting ready --
How to do it... --
How it works... --
Combining box with dot plots --
Getting ready --
How it works... --
How it works... --
See also --
Using point geometry to work as dots using ggvis, plotly and ggplot2 --
Getting ready... --
How it works... --
How it works... --
There is more --
Crafting simple violin plots --
How to do it... --
How it works... --
Using stat_summary to customize violin plots --
Getting ready --
How it works... --
How it works... --
There is more... --
Manually sorting and coloring violins --
Getting ready --
How to do it... --
How it works... --
Using joy package to replace violins --
Getting ready --
How to do it... --
How it works... --
See also --
Creating publication quality violin plots --
Getting Ready --
How to do it... --
How it works... --
See also --
Chapter 4: Plotting One Variable --
Introduction --
Creating a simple histogram using geom_histogram() --
Getting ready --
How to do it... --
How does it work... --
Creating an histogram with custom colors and bins width --
Getting ready --
How to do it... --
How it works... --
Crafting and coloring area plots using geom_area() and more --
Getting ready --
How to do it... --
How it works... --
Drawing density plots using geom_density() --
How to do it... --
How it works... See also --
Drawing univariate colored dot plots with geom_dotplot() --
Getting ready --
How to do it... --
How it works... --
See also --
Crafting univariate bar charts --
Getting ready --
How to do it... --
How it works... --
Using rtweet and ggplot2 to plot twitter words frequencies --
Getting ready... --
How to do it... --
How it works... --
See also --
Drawing publish quality density plot --
How to do it... --
How it works... --
Chapter 5: Making Other Bivariate Plots --
Introduction --
Creating simple stacked bar graphs --
Getting ready --
How to do it... --
How it works... --
Crafting proportional stacked bar --
Getting ready --
How to do it... --
How it works... --
See also --
Plotting side-by-side bar graph --
Getting ready --
How to do it... --
How it works... --
See also --
Plotting a bar graphic with aggregated data using geom_col() --
Getting ready --
How to do it... --
How it works... --
Adding variability estimates to plots with geom_errrorbar() --
Getting ready --
How to do it... --
How it works... --
There's more... --
See also --
Making line plots --
Getting ready --
How to do it... --
How it works... --
Making static and interactive hexagon plots --
Getting ready --
How to do it... --
How it works... --
There is more... --
Adjusting your hexagon plot --
Getting ready --
How to do it... --
How it works... --
See also --
Developing a publish quality proportional stacked bar graph --
Getting ready --
How to do it... --
How it works... --
Chapter 6: Creating Maps --
Introduction --
Making simple maps --
1854 London Streets --
Getting ready --
How to do it... --
How it works... --
Creating an interactive cholera map using plotly --
Getting ready --
How to do it... --
How it works... --
Crafting choropleth maps using ggplot2 --
Getting ready --
How to do it... --
How it works... --
Zooming in on the map --
Getting ready --
How to do it... How it works... --
See also --
Creating different maps based on different map projection types --
Getting ready --
How to do it... --
How it works... --
See also --
Handling shapefiles to map Afghanistan health facilities --
Getting ready --
How to do it... --
How it works... --
See also --
Crafting an interactive globe using plotly --
Getting ready --
How to do it... --
How it works... --
Creating high quality maps --
Getting ready --
How to do it... --
How it works... --
See also --
Chapter 7: Faceting --
Introduction --
Creating a faceted bar graph --
How to do it... --
How it works... --
Crafting faceted histograms --
Getting ready --
How to do it... --
How it works... --
Creating a facet box plot --
How to do it... --
How it works... --
Crafting a faceted line plot --
Getting ready --
How to do it... --
How it works... --
There is more --
Making faceted scatterplots --
Getting ready --
How to do it... --
How it works... --
Creating faceted maps --
Getting ready --
How to do it... --
How it works... --
See also --
Drawing facets using plotly --
How to do it... --
How it works... --
See also --
Plotting a high quality faceted bar graph --
How to do it... --
How it works... --
Chapter 8: Designing Three-Dimensional Plots --
Introduction --
Drawing a simple contour plot using ggplot2 --
How to do it... --
How it works... --
Picking a custom number of contour lines --
How to do it... --
How it works... --
Using the directlabels package to label the contours --
Getting ready --
How to do it... --
How it works... --
See also --
Crafting a simple tile plot with ggplot2 --
How to do it... --
How it works... --
Creating simple raster plots with ggplot2 --
How to do it... --
How it works... --
There is more --
Designing a three-dimensional plot with plotly --
Getting ready --
How to do it... --
How it works... --
Crafting a publication quality contour plot. How to do it... --
How it works... --
Chapter 9: Using Theming Packages --
Introduction --
Drawing a bubble plot --
Getting ready --
How to do it... --
How it works... --
Popular themes with ggthemes --
Getting Ready --
How to do it... --
How it works... --
There's more... --
See also --
Applying sci themes with ggsci --
Getting Ready --
How to do it... --
How it works... --
See also --
Importing new fonts with the extrafont package --
Getting Ready --
How to do it... --
How it works... --
There's more... --
Using ggtech to mimic tech companies themes --
Getting Ready --
How to do it... --
How it works... --
There's more... --
See also --
Wrapping a custom theme function --
Getting ready --
How to do it... --
How it works... --
See also --
Applying awesome themes and checking misspells with hrbrthemes --
Getting Ready --
How to do it... --
How it works... --
There's more... --
See also --
Chapter 10: Designing More Specialized Plots --
Introduction --
Drawing wonderful facets zoom with the ggforce package --
Getting Ready --
How to do it... --
How it works... --
See also --
Drawing sina plots with ggforce --
Getting Ready --
How to do it... --
How it works... --
Using ggrepel to plot non-overlaying texts --
Getting Ready --
How to do it... --
How it works... --
There's more... --
See also --
Visualizing relational data structures with ggraph --
Getting Ready --
How to do it... --
How it works... --
See also --
Draw alternative lollipop and density plots with ggalt --
Getting Ready --
How to do it... --
How it works... --
See also --
Chapter 11: Making Interactive Plots --
Introduction --
Using ggiraph to create interactive plots --
Getting ready --
How to do it... --
How it works... --
See also --
Using gganimate to craft animated ggplots --
Getting ready --
How to do it... --
How it works... --
See also --
Crafting animated plots with tweenr.


Copies
Access no. Call number Location Status
00276/19 001.4226 Lan R Library - 7th Floor Available