Skip to content

Commit

Permalink
docs: intro sentence for bar-chart
Browse files Browse the repository at this point in the history
  • Loading branch information
flxlst09 authored Dec 10, 2024
1 parent 226e454 commit 9ade775
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions packages/documentation/docs/controls/charts/bar-chart.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
import Playground from '@site/src/components/PlaygroundV3';

# Bar chart

<!-- introduction start -->
Bar charts are widely used visual tools that simplify data representation and comparison across different categories.
<!-- introduction end -->
Bar charts can be oriented horizontally or vertically, providing a straightforward way to represent and compare data across various categories or assets. Each bar in a bar chart represents a category of data, with the length or height of the bar proportional to the value it represents. This makes it easy to quickly identify which categories are larger or smaller and to compare values across different groups.
## Examples

### Bar chart horizontal

A basic bar chart is a simple graphical representation of data, where the length of each bar is proportional to the value it represents. It’s commonly used to compare different categories or track changes over time.
<Playground
height="40rem"
name="echarts-bar-simple"
Expand All @@ -14,7 +17,7 @@ examplesByName>
</Playground>

### Bar chart horizontal stacked

A stacked bar chart is a variation where the bars in a standard chart are divided into segments denoting contributing categories that sum up to the whole. These charts are used to compare totals and simultaneously understand the values of contributing categories.
<Playground
height="40rem"
name="echarts-bar-horizontal-stacked"
Expand Down

0 comments on commit 9ade775

Please sign in to comment.