Skip to content

Commit

Permalink
Chart type cards (carbon-design-system#1270)
Browse files Browse the repository at this point in the history
* adds thumbnails

* image update

* image udate

* Description update

* enable cards

* Update src/pages/data-visualization/chart-types/index.mdx

Co-authored-by: Eliad Moosavi <[email protected]>

* Update src/pages/data-visualization/chart-types/index.mdx

Co-authored-by: Eliad Moosavi <[email protected]>

* Update src/pages/data-visualization/chart-types/index.mdx

Co-authored-by: Eliad Moosavi <[email protected]>

* Update src/pages/data-visualization/chart-types/index.mdx

Co-authored-by: Eliad Moosavi <[email protected]>

* Update src/pages/data-visualization/chart-types/index.mdx

Co-authored-by: Eliad Moosavi <[email protected]>

* link fix

* grouped bar link fix

* removed design only tags

Co-authored-by: Eliad Moosavi <[email protected]>
  • Loading branch information
2 people authored and natashadecoste committed May 19, 2021
1 parent d6b5a4c commit 8df8bbf
Show file tree
Hide file tree
Showing 4 changed files with 68 additions and 8 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions src/pages/data-visualization/chart-types/images/pie.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 30 additions & 8 deletions src/pages/data-visualization/chart-types/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import OverviewCard from "components/OverviewCard";

<PageDescription>

Start by identifying the purpose of the visualization and choose a chart type appropriately.
Start by identifying the purpose of the visualization and then choose the appropriate chart type.

</PageDescription>

Expand Down Expand Up @@ -62,6 +62,16 @@ Start by identifying the purpose of the visualization and choose a chart type ap

![Simple bar (horizontal)](images/barhoriz.svg)

</OverviewCard>
</Column>
<Column colMax={3} colXl={3} colLg={4} colMd={4} colSm={2} noGutterSm >
<OverviewCard
title="Grouped bar (horizontal)"
href="/data-visualization/basic-charts#grouped-horizontal-bar-(discrete)"
>

![Grouped bar (horizontal)](images/grouped-bar-horizontal.svg)

</OverviewCard>
</Column>
</Row>
Expand Down Expand Up @@ -102,7 +112,7 @@ Start by identifying the purpose of the visualization and choose a chart type ap
<Column colMax={3} colXl={3} colLg={4} colMd={4} colSm={2} noGutterSm >
<OverviewCard
title="Stream"
disabled
href="/data-visualization/basic-charts#donut"
>

![Stream](images/stream.svg)
Expand Down Expand Up @@ -130,7 +140,18 @@ Start by identifying the purpose of the visualization and choose a chart type ap
href="/data-visualization/basic-charts#pie"
>

![Pie](images/donut.svg)
![Pie](images/pie.svg)

</OverviewCard>
</Column>

<Column colMax={3} colXl={3} colLg={4} colMd={4} colSm={2} noGutterSm >
<OverviewCard
title="Stacked bar (horizontal)"
href="/data-visualization/basic-charts/#stacked-horizontal-bar-(discrete)"
>

![Stacked bar horizontal](images/stacked-bar-horizontal.svg)

</OverviewCard>
</Column>
Expand All @@ -148,7 +169,6 @@ Start by identifying the purpose of the visualization and choose a chart type ap
<OverviewCard
title="Stacked area"
href="/data-visualization/basic-charts/#stacked-area-chart"
tag="Design only"
>

![Stacked area](images/areastack.svg)
Expand All @@ -162,14 +182,14 @@ Start by identifying the purpose of the visualization and choose a chart type ap
tag="Design only"
>

![Meter / gauge](images/gauge.svg)
![Gauge](images/gauge.svg)

</OverviewCard>
</Column>
<Column colMax={3} colXl={3} colLg={4} colMd={4} colSm={2} noGutterSm>
<OverviewCard
title="Tree map"
disabled
href="/data-visualization/basic-charts#gauge"
>

![Tree map](images/treemap.svg)
Expand All @@ -194,7 +214,8 @@ Start by identifying the purpose of the visualization and choose a chart type ap
<Column colMax={3} colXl={3} colLg={4} colMd={4} colSm={2} noGutterSm >
<OverviewCard
title="Heat map"
disabled
href="/data-visualization/advanced-charts#heat-maps"
tag="Design only"
>

![Heat map](images/heatmap.svg)
Expand All @@ -204,7 +225,8 @@ Start by identifying the purpose of the visualization and choose a chart type ap
<Column colMax={3} colXl={3} colLg={4} colMd={4} colSm={2} noGutterSm >
<OverviewCard
title="Parallel coordinates"
disabled
href="/data-visualization/advanced-charts#parallel-coordinates"
tag="Design only"
>

![Parallel coordinates](images/parallel.svg)
Expand Down

0 comments on commit 8df8bbf

Please sign in to comment.