mui-x icon indicating copy to clipboard operation
mui-x copied to clipboard

[charts] Support for ordinal axes

Open joserodolfofreitas opened this issue 9 months ago • 0 comments

Summary

Ordinal axes are essential for visualizing data where one of the axis have a specific order but don't represent continuous values (e.g., weekdays, months, quarters).

Ordinal axes prioritize order over uniform spacing. This means data points appear at consistent intervals on the chart regardless of the actual time or distance between them. Consequently, missing data periods, like nights or weekends, won't cause gaps in the visual representation.

E.g. Stock charts usually are usually ordinal by default.

Motivation

  • Enables the visualization of a wider range of data types, including time series data, survey responses, and other categorical information.
  • Improves the accuracy and clarity of charts by ensuring proper representation of ordered categories.
  • Enhances user experience by providing a more intuitive way to understand the relationships between data points.

Benchmark

  • Highcharts ExampleAPI
  • https://charts.ag-grid.com/react/axes-types/#ordinal-time

Search keywords:

joserodolfofreitas avatar May 07 '24 17:05 joserodolfofreitas