Skip to content

Block 218 of 260

Bar Chart

Compare categories as columns or a labelled bar list, with optional sorting and a target line.

Puck key
BarChartBlock
Export
barChartBlock
React component
<BarChart />
Path
components/puck/bar-chart-block.tsx
Dependencies
None

Editor fields

What content editors see in the P1 sidebar when they select this block.

  • Titletext
  • Heading levelselect
  • Subtitle or periodtext
  • Barsarray
  • Orientationradio
  • Orderselect
  • Target valuetext
  • Target labeltext
  • Value prefixtext
  • Value suffixtext
  • Footnotetext