Public
Edited
Dec 28, 2023
Insert cell
Insert cell
Insert cell
import {rowData} from "@madhavmadhav/visualize-chinese-words"

Insert cell
allTwoCharacterWords = rowData.filter(x => x.Simplified.length == 2).map(x => ({...x, x: x.Pinyin.replace("nióu", "niú")}))
Insert cell
twoCharacterWords = allTwoCharacterWords.slice(0, numWanted)
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
classifyTone("abás")
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more