Skip to content

statgarten/SGDG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 

Repository files navigation

StatGarten Design Guide

For more information..

What is the SGDG?

๋ณธ ๋””์ž์ธ ์‹œ์Šคํ…œ์€ StatGarten์˜ ๋””์ž์ธ์›์น™๊ณผ UI ๊ตฌ์„ฑ ์š”์†Œ์˜ ๋ชจ์Œ์ž…๋‹ˆ๋‹ค. ์ด๋Š” ์ƒ‰์ƒ, ํฐํŠธ, ์Šคํƒ€์ผ๊ณผ ๊ฐ™์€ ์ผ๊ด€๋œ UI ์š”์†Œ๋ฅผ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค. ๊ฐœ๋ฐœ์ž๋Š” ์ด๋Ÿฌํ•œ ๊ตฌ์„ฑ ์š”์†Œ๋ฅผ ๋‹ค์–‘ํ•œ ์กฐํ•ฉ์œผ๋กœ ์žฌ์‚ฌ์šฉํ•˜์—ฌ, ๋งค๋ฒˆ ๋””์ž์ธ ์š”์†Œ๋ฅผ ๋‹ค์‹œ ์„ค๊ณ„ํ•˜๋Š” ๋ฐ ์“ฐ์ด๋Š” ์‹œ๊ฐ„์„ ๋‚ญ๋น„ํ•˜์ง€ ์•Š์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๋””์ž์ธ ์‹œ์Šคํ…œ์€ '์™„์„ฑ'๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. StatGarten์ด ๋ฐœ์ „ํ•จ์— ๋”ฐ๋ผ ์–ธ์ œ๋“  ์ƒˆ๋กœ์šด UX ๋ฐ UI ๋””์ž์ธ ์š”์†Œ๊ฐ€ ์ถ”๊ฐ€ ๋  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๊ฒฐ๊ณผ์ ์œผ๋กœ SGDS๋Š” ์ „์ฒด ํ”Œ๋žซํผ์„ ์ผ๊ด€์„ฑ ์žˆ๊ฒŒ ์œ ์ง€ํ•˜๊ณ  ๊ฒฐํ•ฉํ•˜๋Š” ๊ฒฐํ•ฉ์กฐ์ง์˜ ์—ญํ• ์„ ํ•จ์„ ๋ชฉ์ ์œผ๋กœ ํ•ฉ๋‹ˆ๋‹ค.

Colors

The color palette for graphs

แ„‰แ…ณแ„แ…ณแ„…แ…ตแ†ซแ„‰แ…ฃแ†บ 2022-10-28 แ„‹แ…ฉแ„Œแ…ฅแ†ซ 9 38 34

palette <- c("#C70A80", "#37E2D5", "#FBCB0A", "#3EC70B", "#590696")

# For ggplot2 ----

iris %>% 
  ggplot(aes(Sepal.Length, Sepal.Width, color = Species)) +
  geom_point() +
  scale_color_manual(values = c("#C70A80", "#37E2D5", "#FBCB0A", "#3EC70B", "#590696"))

The colors for the dashboard

แ„‰แ…ณแ„แ…ณแ„…แ…ตแ†ซแ„‰แ…ฃแ†บ 2022-10-28 แ„‹แ…ฉแ„Œแ…ฅแ†ซ 9 38 40

The colors for denotation

แ„‰แ…ณแ„แ…ณแ„…แ…ตแ†ซแ„‰แ…ฃแ†บ 2022-10-28 แ„‹แ…ฉแ„Œแ…ฅแ†ซ 9 38 48

Typography

Primary Font

๊ธฐ๋ณธ ํฐํŠธ๋Š” Pretendard๋ฅผ ์‚ฌ์šฉํ•จ์„ ์›์น™์œผ๋กœ ํ•ฉ๋‹ˆ๋‹ค. ์ด๋Š” SIL ์˜คํ”ˆ ํฐํŠธ ๋ผ์ด์„ ๋กœ ๊ธ€๊ผด ๋‹จ๋… ํŒ๋งค๋ฅผ ์ œ์™ธํ•œ ๋ชจ๋“  ์ƒ์—…์  ํ–‰์œ„ ๋ฐ ์ˆ˜์ •, ์žฌ๋ฐฐํฌ๊ฐ€ ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค.
Download the Pretendard fonts here

Secondary Font

2์ฐจ ํฐํŠธ๋Š” Noto Sans KR์„ ์‚ฌ์šฉํ•จ์„ ์›์น™์œผ๋กœ ํ•ฉ๋‹ˆ๋‹ค. ์ด๋Š” ์˜คํ”ˆ ํฐํŠธ ๋ผ์ด์„ผ์Šค์— ๋”ฐ๋ผ ์‚ฌ์šฉ์ด ํ—ˆ๊ฐ€๋ฉ๋‹ˆ๋‹ค. ์ธ์‡„ ๋˜๋Š” ๋””์ง€ํ„ธ, ์ƒ์—… ๋˜๋Š” ๊ธฐํƒ€ ์ œํ’ˆ ๋ฐ ํ”„๋กœ์ ํŠธ์—์„œ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. Download the Pretendard fonts here

library(dplyr)
library(ggplot2)
library(showtext)

font_add_google("Noto Sans KR", "notosanskr")
showtext_auto()

iris %>% 
  ggplot(aes(Sepal.Length, Sepal.Width, color = Species)) +
  geom_point() +
  scale_color_manual(values = c("#C70A80", "#37E2D5", "#FBCB0A", "#3EC70B", "#590696")) +
  labs(
    title = "Noto Sans KR ์‚ฌ์šฉ ๊ทธ๋ž˜ํ”„ ์˜ˆ์‹œ",
    subtitle = "Statgarten์€ ๋ณด์กฐ ํฐํŠธ๋กœ Noto Sans KR์„ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค."
  ) +
  ggthemes::theme_fivethirtyeight(base_family = "notosanskr")