WaffleHtml

@nivo/wafflehtmlisomorphic

A variation around the Waffle component, using HTML elements.

You can fully customize it using cellComponent property to define your own cell component, if you wish to do so you should have a look at native HTML component for available properties.

You can also see more example usages in storybook.

The responsive alternative of this component is ResponsiveWaffleHtml, it also offers other implementations, see Waffle and WaffleCanvas.

Actions Logs
Start interacting with the chart to log actions
Base
numberrequired

Max value.

object[]required

Chart data.

string | (value: number) => string | numberoptional
open editor

Optional formatter for values.

numberrequired

Number of rows.

numberrequired

Number of columns.

stringoptionaldefault:'top'
↑ top

How to fill the grid, it's also going to affect the transitions if motionStagger > 0.

numberoptionaldefault:0
px

Padding between each cell.

Datum['id'][]optionaldefault:[]

Hide parts of the data by id

numberrequired

Chart width.

numberrequired

Chart height.

numberoptionaldefault:'Depends on device'

Adjust pixel ratio, useful for HiDPI screens.

supportsvghtmlcanvas
objectoptional
px
px
px
px

Chart margin.

Style
Customization
Interactivity
Legends
Motion
Accessibility