Skip to content
+

Charts - Bar demos

Explore bar chart demos and examples.

TinyBarChart

Press Enter to start editing
  • pv
  • uv
Press Enter to start editing
  • pv
  • uv
Press Enter to start editing
  • pv
  • amt
  • uv
Press Enter to start editing
  • pv
  • uv
Press Enter to start editing
  • pv
  • uv
Press Enter to start editing
  • pv
  • uv
South Korea Population Pyramid - 2022
  • Male
  • Female
Source: KOSIS

Waterfall chart

The following demo shows a waterfall chart built with a range bar chart.

Histogram

A histogram displays the distribution of a numeric variable. The Bar Chart has no built-in histogram, so split your dataset into equal-width bins first (the demo includes a computeBins helper as a starting point), then plot the counts.

Use a band x-axis with categoryGapRatio and barGapRatio set to 0 so adjacent bars touch — what makes a histogram readable. To avoid artifacts between bars, set the shape-rendering to 'crispEdges' for the bars.

  • Frequency

Bin count

API

See the documentation below for a complete reference to all of the props and classes available to the components mentioned here.