# bar-chart Icon

> The bar-chart icon from Radix as Compose ImageVector Kotlin code, Android Vector Drawable XML and SVG.

- Library: [Radix](https://composables.com/icons/icon-libraries/radix.md)
- License: MIT (full text in the [Radix library page](https://composables.com/icons/icon-libraries/radix.md))
- Categories: [Components](https://composables.com/icons/categories/components.md)

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/radix/bar-chart.kt`

```kotlin
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.path
import androidx.compose.ui.unit.dp

val RadixBarChart: ImageVector
    get() {
        if (_RadixBarChart != null) return _RadixBarChart!!
        
        _RadixBarChart = ImageVector.Builder(
            name = "bar-chart",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 15f,
            viewportHeight = 15f
        ).apply {
            path(
                fill = SolidColor(Color.Black)
            ) {
                moveTo(1.5f, 5f)
                curveTo(1.77614f, 5f, 2f, 5.22386f, 2f, 5.5f)
                verticalLineTo(13.5f)
                curveTo(2f, 13.7761f, 1.77614f, 14f, 1.5f, 14f)
                curveTo(1.22386f, 14f, 1f, 13.7761f, 1f, 13.5f)
                verticalLineTo(5.5f)
                curveTo(1f, 5.22386f, 1.22386f, 5f, 1.5f, 5f)
                close()
                moveTo(3.5f, 7f)
                curveTo(3.77614f, 7f, 4f, 7.22386f, 4f, 7.5f)
                verticalLineTo(13.5f)
                curveTo(4f, 13.7761f, 3.77614f, 14f, 3.5f, 14f)
                curveTo(3.22386f, 14f, 3f, 13.7761f, 3f, 13.5f)
                verticalLineTo(7.5f)
                curveTo(3f, 7.22386f, 3.22386f, 7f, 3.5f, 7f)
                close()
                moveTo(5.5f, 4f)
                curveTo(5.77614f, 4f, 6f, 4.22386f, 6f, 4.5f)
                verticalLineTo(13.5f)
                curveTo(6f, 13.7761f, 5.77614f, 14f, 5.5f, 14f)
                curveTo(5.22386f, 14f, 5f, 13.7761f, 5f, 13.5f)
                verticalLineTo(4.5f)
                curveTo(5f, 4.22386f, 5.22386f, 4f, 5.5f, 4f)
                close()
                moveTo(7.5f, 5f)
                curveTo(7.77614f, 5f, 8f, 5.22386f, 8f, 5.5f)
                verticalLineTo(13.5f)
                curveTo(8f, 13.7761f, 7.77614f, 14f, 7.5f, 14f)
                curveTo(7.22386f, 14f, 7f, 13.7761f, 7f, 13.5f)
                verticalLineTo(5.5f)
                curveTo(7f, 5.22386f, 7.22386f, 5f, 7.5f, 5f)
                close()
                moveTo(9.5f, 3f)
                curveTo(9.77614f, 3f, 10f, 3.22386f, 10f, 3.5f)
                verticalLineTo(13.5f)
                curveTo(10f, 13.7761f, 9.77614f, 14f, 9.5f, 14f)
                curveTo(9.22386f, 14f, 9f, 13.7761f, 9f, 13.5f)
                verticalLineTo(3.5f)
                curveTo(9f, 3.22386f, 9.22386f, 3f, 9.5f, 3f)
                close()
                moveTo(11.5f, 1f)
                curveTo(11.7761f, 1f, 12f, 1.22386f, 12f, 1.5f)
                verticalLineTo(13.5f)
                curveTo(12f, 13.7761f, 11.7761f, 14f, 11.5f, 14f)
                curveTo(11.2239f, 14f, 11f, 13.7761f, 11f, 13.5f)
                verticalLineTo(1.5f)
                curveTo(11f, 1.22386f, 11.2239f, 1f, 11.5f, 1f)
                close()
                moveTo(13.5f, 3f)
                curveTo(13.7761f, 3f, 14f, 3.22386f, 14f, 3.5f)
                verticalLineTo(13.5f)
                curveTo(14f, 13.7761f, 13.7761f, 14f, 13.5f, 14f)
                curveTo(13.2239f, 14f, 13f, 13.7761f, 13f, 13.5f)
                verticalLineTo(3.5f)
                curveTo(13f, 3.22386f, 13.2239f, 3f, 13.5f, 3f)
                close()
            }
        }.build()
        
        return _RadixBarChart!!
    }

private var _RadixBarChart: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/radix/bar-chart.xml`

```xml
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="24dp"
    android:height="24dp"
    android:viewportWidth="15"
    android:viewportHeight="15">
    <path
        android:fillColor="@android:color/black"
        android:pathData="M1.5,5C1.77614,5 2,5.22386 2,5.5V13.5C2,13.7761 1.77614,14 1.5,14C1.22386,14 1,13.7761 1,13.5V5.5C1,5.22386 1.22386,5 1.5,5ZM3.5,7C3.77614,7 4,7.22386 4,7.5V13.5C4,13.7761 3.77614,14 3.5,14C3.22386,14 3,13.7761 3,13.5V7.5C3,7.22386 3.22386,7 3.5,7ZM5.5,4C5.77614,4 6,4.22386 6,4.5V13.5C6,13.7761 5.77614,14 5.5,14C5.22386,14 5,13.7761 5,13.5V4.5C5,4.22386 5.22386,4 5.5,4ZM7.5,5C7.77614,5 8,5.22386 8,5.5V13.5C8,13.7761 7.77614,14 7.5,14C7.22386,14 7,13.7761 7,13.5V5.5C7,5.22386 7.22386,5 7.5,5ZM9.5,3C9.77614,3 10,3.22386 10,3.5V13.5C10,13.7761 9.77614,14 9.5,14C9.22386,14 9,13.7761 9,13.5V3.5C9,3.22386 9.22386,3 9.5,3ZM11.5,1C11.7761,1 12,1.22386 12,1.5V13.5C12,13.7761 11.7761,14 11.5,14C11.2239,14 11,13.7761 11,13.5V1.5C11,1.22386 11.2239,1 11.5,1ZM13.5,3C13.7761,3 14,3.22386 14,3.5V13.5C14,13.7761 13.7761,14 13.5,14C13.2239,14 13,13.7761 13,13.5V3.5C13,3.22386 13.2239,3 13.5,3Z" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/radix/bar-chart.svg`

```svg
<svg viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1.5 5C1.77614 5 2 5.22386 2 5.5V13.5C2 13.7761 1.77614 14 1.5 14C1.22386 14 1 13.7761 1 13.5V5.5C1 5.22386 1.22386 5 1.5 5ZM3.5 7C3.77614 7 4 7.22386 4 7.5V13.5C4 13.7761 3.77614 14 3.5 14C3.22386 14 3 13.7761 3 13.5V7.5C3 7.22386 3.22386 7 3.5 7ZM5.5 4C5.77614 4 6 4.22386 6 4.5V13.5C6 13.7761 5.77614 14 5.5 14C5.22386 14 5 13.7761 5 13.5V4.5C5 4.22386 5.22386 4 5.5 4ZM7.5 5C7.77614 5 8 5.22386 8 5.5V13.5C8 13.7761 7.77614 14 7.5 14C7.22386 14 7 13.7761 7 13.5V5.5C7 5.22386 7.22386 5 7.5 5ZM9.5 3C9.77614 3 10 3.22386 10 3.5V13.5C10 13.7761 9.77614 14 9.5 14C9.22386 14 9 13.7761 9 13.5V3.5C9 3.22386 9.22386 3 9.5 3ZM11.5 1C11.7761 1 12 1.22386 12 1.5V13.5C12 13.7761 11.7761 14 11.5 14C11.2239 14 11 13.7761 11 13.5V1.5C11 1.22386 11.2239 1 11.5 1ZM13.5 3C13.7761 3 14 3.22386 14 3.5V13.5C14 13.7761 13.7761 14 13.5 14C13.2239 14 13 13.7761 13 13.5V3.5C13 3.22386 13.2239 3 13.5 3Z" fill="currentColor"/></svg>
```
