This document gives a few suggestions to analyse a
dataset composed by a unique numeric variable.
It considers the
night price of about 10,000 Airbnb
appartements on the French Riviera in France.
This example dataset
has been downloaded from the Airbnb website and
is available on this Github
repository. Basically it looks like the table beside.
# Libraries
library(tidyverse)
library(hrbrthemes)
library(kableExtra)
options(knitr.table.format = "html")
# Load dataset from github
data <- read.table("https://raw.githubusercontent.com/holtzy/data_to_viz/master/Example_dataset/1_OneNum.csv", header=TRUE)
# show data
data %>% head(6) %>% kable() %>%
kable_styling(bootstrap_options = "striped", full_width = F)
price |
---|
75 |
104 |
369 |
300 |
92 |
64 |
Data To Viz is a comprehensive classification of chart types organized by data input format. Get a high-resolution version of our decision tree delivered to your inbox now!
A work by Yan Holtz for data-to-viz.com