isotype

A quantity drawn as repeated glyphs, each standing for per of it: a bar chart counted out in glyphs on the plane, or a hemicycle on the polar plane.

isotypeNode
Only withxypolarplane
On this page

#Attributes

On any plane
slice
The column this mark is SLICED by — long-format data, one row per name per period — showing the period the scene's parameter over that column holds, as a bar's slice does.
perAnimatable
How much of the quantity one glyph stands for: per: 1000000 draws 2.4 million as two glyphs and two-fifths of a third. The last glyph of a value that is not a whole number of per is cut to its fraction, along the way the count runs.
Default1
lanesAnimatable
How many glyphs stand across the band before the next column starts: across a bar's width on the plane — lanes: 10 with per: 1 is a waffle — or as rings on the polar plane. The value axis still reads the whole quantity, so a tick at 218 is in the column where the 218th glyph falls.
Default1
glyph
What each glyph is drawn as: one of a scatter's marker shapes, filled, or any !symbol, drawn as it is in prose. A name both offer (star, diamond, cross, tick) is the marker's.
circlesquarerectangletrianglestardiamondhexagoncrosstickdashquestionwarninginfoarrow-rightarrow-leftarrow-uparrow-downrisefallpersonpeoplehousebusinessschoolbookclockmoneycartreeleafdropsunboltflaskglobelightbulbspadeheartclub
Defaultcircle
colour
The glyphs' colour: one colour, a list cycled reading by reading, or an expression read as a bar's, from a column or #self.value.
colour-style
Also written: color
Defaultblue
opacity
How solid each reading's glyphs are, 0 to 1: one opacity, a list reading by reading, or an expression giving one per reading.
opacity-style
Default1
show-labelsAnimatable
Write each reading's value at its end.
Also written: labels
Defaultfalse
label
Text drawn beside the element — rich text, so $maths$ and inline formatting render. Fades and draws with the element.
hiddenAnimatable
Declared but not drawn. Animatable — hidden: true !cue.to{false}(at: 2) reveals it — and unlike a cue, a hidden element still frames the plot and keeps its place in the count, so nothing moves when it appears.
Defaultfalse
lock
Keeps the reader from editing this element on an editable: graph. Nothing at all on a graph that is not editable.
Also written: locked
Defaultfalse
text-sizeAnimatable
Text size.
Default20
layerAnimatable
Paint order among the marks: a higher layer is drawn later, on top; equal or omitted, the marks stack in document order (later on top).
group
The groups this isotype belongs to, comma-separated: group: Treated, Projected. It is drawn in the colour of the first group that has one, over its own colour:, and the footer's key names every group.
Only withxyplane
xImplicitAnimatable
The readings' x values: names, numbers, or a dataset column (#pop.country). Paired with y by position, as a bar's are; exactly one of the two axes is ruled in names, and the other counts the glyphs.
Can be written as shorthand: isotype:value
yAnimatable
The readings' y values, paired with x by position.
bandAnimatable
The share of the band at each name that the isotypes and bars there fill, 0–1, divided between them.
Default0.7
stack
Stand this isotype's values on top of the bar or isotype written before it, name by name; its glyphs carry on counting from where the one beneath stopped, so a column of stacked isotypes fills as one waffle.
Also written: stacked
Defaultfalse
Only withpolarplane
thetaAnimatable
On the polar plane, the counts: laid end to end with every other polar isotype's, in the order written, and sharing the theta domain between them, each reading a wedge as wide as its count. θ stays an angle, so a majority of the whole is the middle ray of the window — axis.label(theta: pi/2; line) on a hemicycle.

#Derived attributes

Computed while the element renders — read one with #id.name in attribute position or {{#id.name}} in prose, never set.

valueDerived
Each reading's value, one per reading, which a style attribute follows as #self.value.
totalDerived
The sum of this mark's own values, in the value axis's units — on the polar plane, of its counts; a dash with none.
maxDerived
The largest of this mark's own values; a dash with none.
minDerived
The smallest of this mark's own values; a dash with none.
countDerived
The number of readings this mark draws, counting its own only; 0 with none.

Last updated