Company
Date Published
Author
Matt Fairbrass
Word count
1148
Language
English
Hacker News points
None

Summary

The latest release of MongoDB Charts adds Conditional Formatting, a feature that enables chart authors to highlight important changes in their chart data based on defined rules. This feature is useful for table charts and number charts, allowing users to apply different styles to highlight key information and provide context. The article demonstrates the use of Conditional Formatting with a Formula 1 data set, showcasing how it can aid users in understanding complex data by applying simple rules to highlight important changes. Two examples are provided: Single Color Conditional Formatting and Color Scale Conditional Formatting, which demonstrate how to apply formatting rules to specific data points or ranges of values. The article concludes that Conditional Formatting has many more powerful operators than what is demonstrated here, including matching values by range, regular expression, and ranks, and invites readers to test drive the feature themselves.