Skip to content

Updating dicopal #10

@mthh

Description

@mthh

Just a minor suggestion about dicopal: you're using version 0.6.4 and could upgrade to version 0.8.1, which would give you the following without changing your code:

  • a new palette (Observable10) for “typo” representation with 10 categories,
  • a smaller build size thanks to a more compact palette representation.

In addition, I believe you have some code (here) to generate a palette with more classes than the maximum number of colors of the original palette. Dicopal has the getSequentialColors(<palette name>, <number of colors>) function to manage this directly for you if you want (see https://github.com/riatelab/dicopal.js?tab=readme-ov-file#generating-colors-for-interpolated-sequential-palettes).

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