Search packages, repositories and app categories

flutter_radar_chart cover
Package detailsv0.2.1

flutter_radar_chart

Basic radar chart for Flutter. This chart is intended to work out of the box, adjusting itself to the given data. The design of the chart was inspired by the Python Graph Gallery.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
1.7K
Likes
101
Pub points
140

Install package

flutter pub add flutter_radar_chart

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

A simple, self-adjusting radar chart for Flutter, designed to work seamlessly with provided data. Inspired by the Python Graph Gallery, it offers a clean and intuitive visualization for multi-dimensional data. The chart automatically scales and adapts to input values, making it ideal for quick implementation without complex configuration. Suitable for dashboards, performance comparisons, and data analysis interfaces across multiple platforms.

Use cases

  • Performance metric visualization
  • Multi-dimensional data comparison
  • Dashboard widgets
  • Data analysis in apps
  • Educational tools

Key features

  • Auto-scaling based on data
  • Minimal setup required
  • Cross-platform support
  • Clean, modern design
  • Responsive layout

Suitable for

  • Developers seeking quick radar charts
  • Data visualization in dashboards
  • Educational or analytical applications
  • Apps with multi-axis data
  • Projects requiring lightweight charts

Considerations

  • Limited customization options
  • Best suited for small to medium datasets
  • Not ideal for highly interactive charts
  • No built-in tooltips or animations
  • Depends on external library for advanced features

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

flutter_radar_chart

Animated radar chart for Flutter inspired by The Python Graph Gallery (https://python-graph-gallery.com/radar-chart/).

Follow the instructions on pub to install this package.

Example

screenshot

Usage

Basic usage of radar chart requires three pieces of data:

  • ticks - Defines the numerical axis for the chart. Each tick generates an outline. Currently, each feature is plotted using the numerical range define by the ticks.
  • features - Defines the numerical variables for each individual in the chart. There is no limit to the number of features.
  • data - List of data points used to construct each individual in the chart. The number of data points must match the number of features. There is no limit to the number of individuals in the chart; however, multiple entities might cause the graph to become unreadable.
RadarChart.light(
    ticks: ticks,
    features: features,
    data: data,
),

A full example (as seen in the screenshots) can be found in example/lib/main.dart

Customizability

Most of the customizability of the graph is a work in progress, but here's some of the features of the chart:

  • Animations! Trying to add some life to the chart. Animation is currently triggered whenever the widget is updated (didUpdateWidget). Animations are currently enabled by default.
  • Number of features: As shown in the example, the radar chart will adjust to the number of given variables. More work is needed to ensure the chart doesn't explode when given invalid data.
  • Reverse axis: Reverses the axis range so that the min value starts at the graph outline.
  • Dark mode: Simple factory that showcases the color customizability of the chart.
  • Polygon sides: Ability to use flat polygon borders instead of a circular border.

screenshot

Future Work Ideas

There's a few more areas of work that I'd love to get around to building. I will eventually move these items over to issues for better tracking.

  • [ ] Option for round corners
  • [x] Animations on render
  • [ ] Integration testing
  • [ ] Responsive design
  • [ ] Legends

Acknowledgements

Categories

Source repository

Projects using this package