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.
isotypeOnly with
xypolarplaneOn this page
#Attributes
On any plane
sliceThe 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.perHow 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.Default
1lanesHow 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.Default
1glyphWhat 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-downrisefallpersonpeoplehousebusinessschoolbookclockmoneycartreeleafdropsunboltflaskglobelightbulbspadeheartclubDefault
circlecolourThe 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-styleAlso written:
colorDefault
blueopacityHow solid each reading's glyphs are, 0 to 1: one opacity, a list reading by reading, or an expression giving one per reading.
opacity-styleDefault
1show-labelsWrite each reading's value at its end.
Also written:
labelsDefault
falselabelText drawn beside the element — rich text, so
$maths$ and inline formatting render. Fades and draws with the element.hiddenDeclared 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.Default
falselockKeeps the reader from editing this element on an
editable: graph. Nothing at all on a graph that is not editable.Also written:
lockedDefault
falsetext-sizeText size.
Default
20layerPaint order among the marks: a higher layer is drawn later, on top; equal or omitted, the marks stack in document order (later on top).
groupThe 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 with
xyplanexThe 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:valueyThe readings' y values, paired with
x by position.bandThe share of the band at each name that the isotypes and bars there fill, 0–1, divided between them.
Default
0.7stackStand 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:
stackedDefault
falseOnly with
polarplanethetaOn 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.
valueEach reading's value, one per reading, which a style attribute follows as
#self.value.totalThe sum of this mark's own values, in the value axis's units — on the polar plane, of its counts; a dash with none.
maxThe largest of this mark's own values; a dash with none.
minThe smallest of this mark's own values; a dash with none.
countThe number of readings this mark draws, counting its own only; 0 with none.