Skip to main content
100%

Conditional Styling

✓ Published0🌍 Public
AAndresClavijo
Last edited Apr 27, 2015
Created on Apr 27, 2015

This small-multiple line chart shows population changes for 16 Colombian cities between 1985 and 2020. Each city is rendered as a separate small chart using D3 v3 with SVG. The distinctive feature is the conditional styling: lines are colored based on their 2020 population value, with a sequential color scale mapping from light to dark. As the year progresses from 1985 to 2020, each line's color intensity reflects the magnitude of the final population, creating an immediate visual ranking. The use of a discrete color legend and consistent axes across panels makes it easy to compare trajectories and identify the largest cities, such as Bogotá, while preserving the temporal pattern of each city’s growth.

AI-generated description

Similar vizzes