APPENDIX D
Mark
Draw only what the study can stand behind. Adjacent figures do not share a form unless the data repeats.
- HANDLE
- mark
- LIVES IN
- src/components/OutcomeMarks.jsx (Mark)
- USED ON
- Inside every Figure
- PROPS
- kind: slope · scale · tiles · steps · rank · compare · status · fanout · swatches · fraction · state · zoom · months · hub · glyph · timeline · groups
EXAMPLE
LIVEAs it renders.
- SLOPE
- SCALE90 s0306090120
- TILESLandingAccountDraw
- STEPS
- 1Build
- 2Widen
- 3Hold still
- RANK
- 1
- 2
- 3
- 4
- 5
FIRSTTIE-BREAK - COMPARESourcing6RFQ12
- STATUSACTIVESeveral accounts onboarding
- FANOUTLibraryApp oneApp two
- SWATCHESBrand oneBrand twoBGINKSPOTR
- FRACTION
- STATESettings onlyDashboard
- ZOOM100%200%
- MONTHSTHIS MONTHNEXT
- HUBDashboardSummaryDrawPayment
- GLYPH
- TIMELINEIndependent2003In-house2013200320132026
- GROUPSTeam A4 PEOPLETeam B3
CODE
COPY AND PASTEHow it is called.
JSX
import Mark from '../components/OutcomeMarks.jsx'
<Mark mark={{ kind: 'slope', after: 62 }} />
<Mark mark={{ kind: 'scale', value: 90, max: 120, unit: 's', ticks: [0, 30, 60, 90, 120] }} />
<Mark mark={{ kind: 'tiles', items: ['Landing', 'Account', 'Draw'] }} />
<Mark mark={{ kind: 'steps', items: ['Build', 'Widen', 'Hold still'] }} />
<Mark mark={{ kind: 'rank', n: 7 }} />
<Mark mark={{ kind: 'compare', items: [['Sourcing', 6], ['RFQ', 12]] }} />
<Mark mark={{ kind: 'fraction', n: 6, filled: [4] }} />
<Mark mark={{ kind: 'timeline', start: 2003, end: 2026, rows: [['Independent', 2003]], ticks: [2003, 2026] }} />
<Mark mark={{ kind: 'groups', items: [['Cane Bay', 3, 'DESIGNERS']] }} />
{/* also: status · fanout · swatches · state · zoom · months · hub · glyph */}RULES
What must stay true.
Draw only what the study can stand behind. Adjacent figures do not share a form unless the data repeats.