Quay lại Roadmap/R Roadmap/
Đang tải...
Hướng dẫn thử thách
1 / 129

Aesthetic Mappings

### Giai đoạn: Nền Tảng & Khái Niệm Cốt Lõi **Aesthetic Mappings** Aesthetic mappings connect columns in your data to visual properties of a plot, like position, color, size, or shape. Writing `aes(x = year, y = revenue, color = region)` tells ggplot2 to plot year against revenue and color each point by region. Choosing the right aesthetics for the right variables makes the difference between a clear plot and a confusing one. ### Khái niệm cốt lõi: 1. **Aesthetic mappings connect columns in your data to visual properties of a plot, like position, color, size, or shape** 2. **Choosing the right aesthetics for the right variables makes the difference between a clear plot and a confusing one** ### Tài liệu tham khảo chính thống: - [Construct aesthetic mappings](https://ggplot2.tidyverse.org/reference/aes.html) (article) - [Aesthetic Mappings](https://data-vis-using-r.info/10_aesthetics/aesthetics.html) (article) - [Data Visualization with R: Aesthetic Mappings](https://www.youtube.com/watch?v=Kz-NDwt1plU) (video)
Nhiệm vụ của bạn
Viết giải pháp của bạn cho bài học **Aesthetic Mappings** vào trình soạn thảo bên cạnh. Bấm **Chạy Thử Nghiệm** (hoặc nhấn `Ctrl+Enter`) để thực thi và ghi nhận hoàn thành kỹ năng trên Roadmap. ### Kỹ năng cần đạt: - `Aesthetic` - `Mappings` - `Engineering`
Vượt qua bài kiểm tra hiện tại để mở khóa bài tiếp theo.
main.html
UTF-8 • Tab Size: 2Kiểm tra bài:⌘↵
Test Output
Thử thách này không có bài test tự động. Hãy quan sát kết quả trực tiếp ở khung Preview.