Bar

Bar charts are a type of graph that are used to display and compare the number, frequency, or other measure (e.g., mean) for different discrete categories of data. In the vertical version of a bar chart, the categories are displayed on the vertical axis and the values on the horizontal axis.

Example

This is an example of a React & D3 horizontal bar chart component that you can use.

var(--theme-graph-positive)
var(--theme-graph-negative)

Example B

This is an example of a React & D3 diverging stacked bar chart component that you can use.

var(--theme-graph-positive)
var(--theme-graph-negative)
This is an open source example. Take the code and remix it!

View source