In an Interactive Map visual, CDP Data Visualization enables you to display a
legend in a choropleth map.
On the right side of Visual Designer, click the
Settings menu.
In the Settings menu, click
Choropleth.
To display a legend, select the Include legend option.
In the following image, notice the legend at the bottom right corner, with gradient of
colors showing the average tax liability in California by zip code.