Compose Multiplatform · Kotlin · Open source

HDCharts, at home on every screen.

Build clear, customizable data visualizations for Android, iOS, desktop, and web with one Compose-first library.

Line, bar, pie, radar, and histogram charts, with flexible styling and interaction.

Quick start

A chart in a few lines.

Pass a list of numbers and get a line chart. Add styling and interaction when you need them.

Read the setup guide
LineChart.kt
@Composable
private fun ShowLine() {
  val dataSet = listOf(42f, 38f, 45f, 51f)
    .toChartDataSet(
      title = "Support Tickets"
    )

  LineChart(dataSet)
}

Keep exploring

Find the chart that fits your data.