Quick Demo

Interactive example

(sets the stacked attribute)

(hides the scale, by setting the hide-scale attribute)

(sets the scale-steps attribute)

(customizes --bar-background-color)

Quarterly Sales (demo)
Quarter Online Retail
Q1 $1,200 $900
Q2 $1,500 $1,100
Q3 $1,800 $1,400
Q4 $2,000 $1,700

Usage

<script type="module" src="./dist/table-bar-chart.js"></script>

<table-bar-chart stacked>
  <table>...</table>
</table-bar-chart>

Attributes & Properties

CSS Configuration

Customize the appearance of the chart using CSS properties: