From the Book of Changes to a practical chart
The early Zhouyi organized divination around 64 hexagrams. Later commentaries developed the wider Yijing tradition. During the Han period and afterward, thinkers joined the hexagrams with yin–yang, the Five Phases and the stem–branch calendar. Traditions associated with Jing Fang organized the hexagrams into Eight Palaces and developed Najia. Over centuries, these layers became the practical system now called Liuyao.