We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

This lesson's interactive features are locked, please to keep using them

Conditional Colors

Changing the entire chart's color is fine, but it's often more useful to change colors based on the data itself using conditional formatting.

For example, you might want to show higher numbers in darker shades to make them stand out.

Conditional colors are great for giving meaning to your data at a glance – no need to read every single label.

Assignment

Let's update the same column chart to use conditional colors based on pages visited (higher number = darker color).

Save the project and, from the course directory, submit the CLI tests.