Skip to content

How to add more category colours #3

@flop71

Description

@flop71

Hello if i wanted to adjust the graph with three categories i note that the 2nd and 3rd category have the same colour:

.style("fill", function(d) { return rdr(d).tname == "Starbucks" ? "#00592d": "#ff6200"; })

Is there a way to add additional colours rather than two?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions