block by cmgiven a0f58034cea5331a814b30b74aacb8af

Triangular Scatterplot

Full Screen

Block-a-Day #4. French departments (an administrative division that contains multiple districts) are positioned on a triangular plot according to the percentage of their labor force in three categories: I. agriculture, II. industry, and III. commerce, transportation, and services. From an idea by Jacques Bertin.

Click on a category or arrow to reorient the chart.

Data Sources: Jacques Bertin, Semiology of Graphics, p. 100

What I Learned: Rotation transforms never do what you expect on the first try. Actually, I knew that one already.

What I’d Do With More Time: I’m sure there’s a way to get the triangle to rotate smoothly around its center, but I just ran out of time to figure it out. If you know, ping me @cmgiven.

Block-a-Day

Just what it sounds like. For fifteen days, I will make a D3.js v4 block every single day. Rules:

  1. Ideas over implementation. Do something novel, don’t sweat the details.
  2. No more than two hours can be spent on coding (give or take).
  3. Every. Single. Day.

Previously

index.html

data.csv