Skip to content

Multivariate Color Scheme #236

Description

@curran

As a follow-up to discussion in d3/d3-scale-chromatic#32 , I'd like to pose the question of how to best calculate a multivariate color scheme. The use case is for building multivariate choropleth maps.

I'm investigating how one might approximate the colors of a dot density map, like this one.

image

The most sensible approach to me at the moment seems to be:

  • Define multiple single-hue color ramps that vary in opacity from 0 to 1, for each variable.
  • Blend those RGBA colors together.

Related:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions