When constructing a data visualization, it is often necessary to make annotations to the data displayed. Annotations are nothing but the meta-data for the plot. They provide additional contextual information to the plot such as:
Char title
Axis title
Text labels
Legends
Axis tick mark labels and their placements
Colors in plots
In this video, we will use gapminder data and annotate its non-data components using various functions from ggplot2 package used for the annotation.
geom_text ( ) function is used to annotate the chart
annotate ( ) function is used to annotate only the outlier in the chart
labs ( ) function is used for annotations of axis title, legends and chart title.
scale_ functions are used to change the axis scales
RcolorBrewer package is used to change the colors in the plot
The Rmarkdown file used in this video can be found at Github Repository:
https://github.com/siddharth-sahasrab...
Поделиться в:
Доступные форматы для скачивания:
Скачать видео mp4
Информация по загрузке:
Скачать аудио mp3
Похожие видео
array(10) {
[0]=>
object(stdClass)#4565 (5) {
["video_id"]=>
int(9999999)
["related_video_id"]=>
string(11) "LgXzzu68j7M"
["related_video_title"]=>
string(44) "Учебник по Excel за 15 минут"
["posted_time"]=>
string(19) "1 год назад"
["channelName"]=>
string(15) "Kevin Stratvert"
}
[1]=>
object(stdClass)#4538 (5) {
["video_id"]=>
int(9999999)
["related_video_id"]=>
string(11) "ONnO2Z1qQ5Q"
["related_video_title"]=>
string(128) "Пастуховские четверги. Владимир Пастухов* и Алексей Венедиктов* / 26.06.25"
["posted_time"]=>
string(63) "Трансляция закончилась 2 дня назад"
["channelName"]=>
string(23) "Живой Гвоздь"
}
[2]=>
object(stdClass)#4563 (5) {
["video_id"]=>
int(9999999)
["related_video_id"]=>
string(11) "kqtD5dpn9C8"
["related_video_title"]=>
string(84) "Пайтон для начинающих - Изучите Пайтон за 1 час"
["posted_time"]=>
string(21) "4 года назад"
["channelName"]=>
string(21) "Programming with Mosh"
}
[3]=>
object(stdClass)#4570 (5) {
["video_id"]=>
int(9999999)
["related_video_id"]=>
string(11) "NNSHu0rkew8"
["related_video_title"]=>
string(47) "Учебник по Power BI за 10 минут"
["posted_time"]=>
string(21) "2 года назад"
["channelName"]=>
string(15) "Kevin Stratvert"
}
[4]=>
object(stdClass)#4549 (5) {
["video_id"]=>
int(9999999)
["related_video_id"]=>
string(11) "GB6wLooVFEI"
["related_video_title"]=>
string(101) "Deep Focus Radio - Музыка для кодирования и производительности"
["posted_time"]=>
string(0) ""
["channelName"]=>
string(15) "Chill Music Lab"
}
[5]=>
object(stdClass)#4567 (5) {
["video_id"]=>
int(9999999)
["related_video_id"]=>
string(11) "IHZwWFHWa-w"
["related_video_title"]=>
string(131) "Градиентный спуск, как обучаются нейросети | Глава 2, Глубинное обучение"
["posted_time"]=>
string(19) "7 лет назад"
["channelName"]=>
string(11) "3Blue1Brown"
}
[6]=>
object(stdClass)#4562 (5) {
["video_id"]=>
int(9999999)
["related_video_id"]=>
string(11) "DIOgdnjv2E0"
["related_video_title"]=>
string(91) "Как интегрировать ИИ (#Gemini) в #Obsidian: Ваш личный #copilot"
["posted_time"]=>
string(25) "4 месяца назад"
["channelName"]=>
string(46) "AiStrata: Центр управления ИИ"
}
[7]=>
object(stdClass)#4572 (5) {
["video_id"]=>
int(9999999)
["related_video_id"]=>
string(11) "ks_9ny6aTaY"
["related_video_title"]=>
string(30) "Handling Time Series Data in R"
["posted_time"]=>
string(28) "10 месяцев назад"
["channelName"]=>
string(38) "Plotly Analytics - Giving Life to Data"
}
[8]=>
object(stdClass)#4548 (5) {
["video_id"]=>
int(9999999)
["related_video_id"]=>
string(11) "fDSsMtzu7Io"
["related_video_title"]=>
string(110) "Probabilidade Aula 22 - Exercícios da Distribuição Normal - Ficha Resumo de Probabilidade"
["posted_time"]=>
string(21) "4 года назад"
["channelName"]=>
string(24) "Professor Douglas Maioli"
}
[9]=>
object(stdClass)#4566 (5) {
["video_id"]=>
int(9999999)
["related_video_id"]=>
string(11) "IcLWETIf3J4"
["related_video_title"]=>
string(116) "Жириновский о евреях! Что будет, когда Израиль проиграет? 2004 год"
["posted_time"]=>
string(19) "1 год назад"
["channelName"]=>
string(13) "ЛДПР-ТВ"
}
}