Skip to contents

Normalizes lightweight, already-classified visual overrides so interactive widgets, static renders, state JSON, and project bundles can preserve the same editorial styling. Data classification and palette selection remain application responsibilities.

Usage

d_styles(data = NULL, id_col = "region")

Arguments

data

Data frame of keyed styles, or NULL for an empty table.

id_col

Column in data identifying regions/features.

Value

A dragmapr_styles data frame with columns region, fill, stroke, stroke_width, opacity, label_visible, and highlight.