liveBook · Manning

Language family

As explained in D3.js in Action, Third Edition

A language family is a category grouping programming languages that share a common lineage or defining characteristics.

A language family groups related languages that developed from common ancestors. Families can divide into smaller branches, which then contain individual languages. section 11.0

Model a family as part of a hierarchy: a root such as Languages divides into families, branches, and leaf language nodes. This structure supports tree charts and other hierarchical visualizations. section 11.0 section 11.3

Languages in a tree chart

A dataset can place English, Hindi, and Spanish under Indo-European, with Germanic, Indo-Aryan, and Romance as branches. Sino-Tibetan contains Mandarin Chinese under the Sinitic branch. A D3 tree chart links these nodes, colors language nodes by family, and sizes them by total speakers. section 11.0 section 11.3

Table 11.1 Top five most spoken languages in the world
Language
Family
Branch
Total Speakers
Native Speakers
English
Indo-European
Germanic
1,132 M
379 M
Mandarin Chinese
Sino-Tibetan
Sinitic
1,117 M
918 M
Hindi
Indo-European
Indo-Aryan
615 M
341 M
Spanish
Indo-European
Romance
534 M
460 M
French
Indo-European
Romance
280 M
77 M

Compare languages, families, branches, total speakers, and native speakers in a compact dataset. section 11.0

How D3.js in Action, Third Edition covers it

How deep it goes
Defines families, branches, and nodes, then applies them to a D3 tree chart without discussing linguistic history beyond common ancestry.
Examples
Shows Indo-European, Sino-Tibetan, Germanic, Sinitic, Indo-Aryan, and Romance through a language dataset and tree chart.
What it assumes
Assumes basic hierarchical data concepts while teaching family, branch, root, leaf, and node relationships through examples.
What you can do after
Apply it via D3 by structuring family hierarchies and encoding them with links, labels, colors, and speaker-scaled circles.
How it connects
Connects language families with language branches, hierarchical visualizations, tree charts, nodes, and data binding.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of D3.js in Action, Third Edition. The section links point to the parts of the book it draws on.