Skip to content

Discrete palettes for ordinal scales #489

Description

@teunbrand

I feel like there has got to be a way to manually assign values to breaks.
Like in the plot below, I'd expect the Gentoo path to be very thick, not very thin.

FROM ggsql:penguins
VISUALISE bill_len AS x, bill_dep AS y, species AS stroke, species AS linewidth
  DRAW path
  SCALE linewidth
    FROM ('Adelie', 'Chinstrap', 'Gentoo')
    TO (1, 0.1, 10)

If this behaviour already exists with some incantation I'm unaware of, maybe we should advertise this a bit more.

Metadata

Metadata

Assignees

No one assigned

    Labels

    plot buildingIn between the reader and writer, execution of plot logic

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions